Well it turns out the answer to mirroring your root volume post install is 
actually incredibly simple.

http://darkstar-solaris.blogspot.com/2008/09/zfs-root-mirror.html

This worked like a charm. The obvious answer was just to attach the second 
drive to the zpool with the mirror option. Note you need to use the prtvtoc 
(Volume Table of Contents) command to copy the VTOC from old to new drive - if 
you a Linux guy think of this as the same thing as copying the partition table 
using sfdisk. Thus, the drive you are adding needs to have the same (or larger) 
geometry. Careful though! Note all "500GB" drives are the same - if you are 
unsure just check the CHS and total LBA sectors of the drive to be sure. 

But using the above procedure allows you to mirror your root volume after 
install and takes literally a few minutes. It is very slick. 

Cheers,
VegaBlue
-- 
This message posted from opensolaris.org

Reply via email to