SPARC based systems with GPT-aware firmware and most x86 based systems are installedwith an EFI (GPT) label on the root pool disk or disks. See “SPARC: GPT Labeled DiskSupport” in Oracle Solaris 11.3 Release Notesfor further instructions.In addition, the AI installer has improved the whole_diskkeyword syntax so that ifwhole_diskis set to true, the disk's contents are replaced, even if it has existing partitionsor slices.■AI installation of a mirrored root pool– Oracle Solaris 10 installation features enableyou to create a mirrored root pool during installation. You can use AI manifest keywordsyntax to create a mirrored root pool during an Oracle Solaris 11 automated installation. Forexample, the following syntax creates a mirrored root pool that uses whole disks:<!DOCTYPE auto_install SYSTEM "">...<target><disk whole_disk="true" in_zpool="rpool" in_vdev="mirrored">46Transitioning From Oracle Solaris 10 to Oracle Solaris 11.3 • December 2018
Preparing Disks for ZFS Storage Pools<disk_name name="c1t0d0" name_type="ctd"/></disk><disk whole_disk="true" in_zpool="rpool" in_vdev="mirrored"><disk_name name="c2t0d0" name_type="ctd"/></disk><logical><zpool name="rpool" is_root="true"><vdev name="mirrored" redundancy="mirror"/><!--Subsequent <filesystem> entries instruct an installer to createfollowing ZFS datasets:<root_pool>/export (mounted on /export)<root_pool>/export/home (mounted on /export/home)... </zpool></logical></target>...ZFS Root Pool Device RequirementsIn general, root pool devices are relabeled and the root pool is created when the system isinstalled.Review the following additional information about ZFS root pool devices:■In Oracle Solaris 11, an SMI (VTOC) label is applied automatically to the root pool diskor disks during an installation on both SPARC and x86 based systems, as shown in thefollowing example:# zpool status rpoolpool: rpoolstate: ONLINEscan: none requestedconfig:NAME STATE READ WRITE CKSUMrpool ONLINE 0 0 0c7t0d0s0 ONLINE 0 0 0Chapter 3 • Managing Devices47
Preparing Disks for ZFS Storage Pools■Starting with Oracle Solaris 11.2, an EFI label is applied automatically to the root pool diskor disks during installation on SPARC based systems with GPT-enabled firmware (See“Firmware, Disk Labeling, and EEPROM Changes” on page 122) and most x86 basedsystems. Otherwise, a VTOC disk label is installed on the root pool disk, as shown in thefollowing example:# zpool status rpoolpool: rpoolstate: ONLINEscan: none requestedconfig:NAME STATE READ WRITE CKSUMrpool ONLINE 0 0 0c7t0d0 ONLINE 0 0 0When you attach a disk to create a mirrored root pool, use the whole disk syntax as follows:# zpool attach rpool c7t0d0 c7t2d0Make sure to wait until resilver is done before rebooting.The pool remains in a DEGRADEDstate until the new disk is resilvered, as shown in thefollowing example:# zpool status rpoolpool: rpoolstate: DEGRADEDstatus: One or more devices is currently being resilvered. The pool willcontinue to function in a degraded state.