+------------------------------------------------------------------------------ | On 2009-03-17 16:13:27, Toby Thain wrote: | | Right, but what if you didn't realise on that screen that you needed | to select both to make a mirror? The wording isn't very explicit, in | my opinion. Yesterday I did my first Solaris 10 ZFS root install and | didn't interpret this screen correctly. I chose one disk, so I'm the | OP's situation and want to set up the mirror retrospectively. | | I'm using an X2100. Unfortunately when I try to zpool attach, I get a | Device busy error on the 2nd drive. But probably I'm making a n00b | error.
Use format(1M) to ensure the second disk (c1t1d0) is formatted as 100% Solaris. Then mirror the VTOC from the first (zfsroot) disk to the second: # prtvtoc /dev/rdsk/c1t0d0s2 | fmthard -s - /dev/rdsk/c1t1d0s2 # zpool attach -f rpool c1t0d0s0 c1t1d0s0 # zpool status -v -- bda Cyberpunk is dead. Long live cyberpunk. http://mirrorshades.org _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss