Use the following procedure to recreate the ZFS root pool or to create an alternate root pool. The zpool create command automatically creates a EFI (GPT) labeled disk with the correct boot information.
Before You Begin
Ensure that the disk has a Solaris partition that is also selected as the active partition. Use the fdisk option of the Format utility to view partition information. Example 6–4 partially shows the information that the option displays.
If no Solaris partition exists, create one. See Example 6–16 as a guide.
Issue the format command to launch the Format utility. The following is a sample output of the command.
# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c6t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424> /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@0,0 1. c6t1d0 <FUJITSU-MAV2073RCSUN72G-0301-68.37GB> /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@1,0 2. c6t2d0 <FUJITSU-MAV2073RCSUN72G-0301-68.37GB> /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@2,0 3. c6t3d0 <FUJITSU-MAV2073RCSUN72G-0301 cyl 14087 alt 2 hd 24 sec 424> /pci@7c0/pci@0/pci@1/pci@0,2/LSILogic,sas@2/sd@3,0 Specify disk (enter its number):
# zpool create -B root-pool mirror disk1 disk2
where root-pool is the name of the root pool.
The following example sets and mirrors root-pool on c6t0d0 and c6t1d0.
# zpool create -B root-pool mirror c6t0d0 c6t1d0
For information about complete ZFS root pool recovery, see Using Unified Archives for System Recovery and Cloning in Oracle Solaris 11.2 .