Jeff Bonwick wrote:
> On Sat, Dec 13, 2008 at 04:44:10PM -0800, Mark Dornfeld wrote:
>> I have installed Solaris 10 on a ZFS filesystem that is not mirrored. Since 
>> I have an identical disk in the machine, I'd like to add that disk to the 
>> existing pool as a mirror. Can this be done, and if so, how do I do it?
> 
> Yes:
> 
> # zpool attach <poolname> <old_disk> <new_disk>
> 
And if you want to be able to boot off of the newly attached
replica you might want to install a boot block on it.

See http://docs.sun.com/app/docs/doc/816-5166/installboot-1m

# installboot -F zfs /usr/platform/`uname -i`/lib/fs/zfs/bootblk \
       <raw device of the replica>
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to