Making a bootable ZFS Root Mirror
1. Installed ZFS OS to Disk A (c0t0d0s0)
2. Format Disk B (c0t1d0s0) properly.
3. Overwrite the Disk format properly:
Testserver# prtvtoc /dev/rdsk/c0t0d0s2 | fmthard –s - /dev/rdsk/c0t1d0s2
4. Attach Disk B to the ZFS Root Pool:
Testserver#zpool attach –f rpool c0t0d0s0 c0t1d0s0
5. Install installboot on Disk B
# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c0t1d0s0
6. Test the worst Case: Disk A fails, you can still boot into Disk B
- Remove Disk A
- Replace it with an emtpy Disk C
- Start the System: Choose to boot from Disk B in the Bios
- Repeat Steps 2. till 5. for Disk C (swap c0t0d0s0 and c0t1d0s0)
- Start the System like before (from Disk C)