OpenSolaris

You are not signed in. Sign in or register.

The ZFS Boot Project

The team is working to provide the ability to boot the Solaris Operating System from a ZFS root file system as well as install the Solaris Operating System to a ZFS root file system.

The ZFS Boot project has been divided into three components: x86 boot, SPARC boot, and install.

The main work phases of this project are:

  • A ZFS plug-in for the GRUB boot loader (available in snv_62)
  • Development of a boot loader usable on SPARC that can read files from a ZFS file system.
  • Some enhancements necessary for implementing a ZFS root file systems
  • Enhancements to the Solaris install and Live Upgrade features in order to set up and maintain root file systems in ZFS pools.

Announcements

April 11, 2008

PSARC/2006/370 ZFS Boot Support (Build 88)

This putback provides the ability to boot the Solaris Operating System from a ZFS root file system on both x86 and SPARC platforms.

  • 5008936 ZFS and/or zvol should support dumps
  • 5070124 dumpadm -d /dev/... does not enforce block device requirement for savecore
  • 6521468 ZFS Boot support for the SPARC platform
  • 6574993 zfs_mountroot() may need to call clkset() to set the boot_time kstat
  • 6633197 zvol should not permit newfs or createpool while it's in use by swap or dump
  • 6661127 zfs_name_valid() does not support ZFS_TYPE_POOL

Additional Details

  • Full ZFS boot and install support will be available in a subsequent build. Because of the phased putback, we recommend waiting for the full boot and install support rather than attempting to use the ZFS boot features separately.
  • This is a flag day for Cap-Eye Install users and existing users of transitional ZFS root file systems. Matching user-land libraries, kernel, and grub are required.
  • Systems that already have ZFS root file systems can be bfu'd with this release, but bfu does not convert the legacy mounts (of /, /var, and so on) to ZFS mounts. Backwards bfu to releases that don't support ZFS boot is prohibited.
  • At some point, you are advised to reinstall your systems to achieve the "standard" ZFS boot configuration, which uses ZFS mounts, not legacy mounts. However, the system continues to boot with legacy mounts (at least for now).

Transitional ZFS Boot Support

Announcements

March 28, 2007 ZFS Boot Loader for x86
April 13, 2006 ZFS Mountroot

Documentation

The following instructions are appropriate for build 62 to approximately build 88. New instructions to follow soon (April 2008).

ZFS Boot Presentations