On 02/11/09 01:28, Sandro wrote:
Hey Cindy

Thanks for your help.

How would I configure a 2-way mirror pool for a root pool?
Basically I'd do it this way.

zpool create pool mirror disk0 disk2 mirror disk1 disk3
This command does not create a valid root pool.  Root pools cannot
have more than one top-level vdevs.  I.e., you can't concatenate two
mirrored vdevs.
or with an already configured root pool mirror zpool add rpool mirror disk1 disk3
Here, you need "attach", not 'add'.  And even then, you need to
add the boot blocks as a result of this bug:

   * CR 6668666 - If you attach a disk to create a mirrored root pool
     after an initial installation, you will need to apply the boot
     blocks to the secondary disks. For example:

 sparc# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk 
/dev/rdsk/c0t1d0s0
x86# installgrub /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c0t1d0s0

Lori


_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to