On Nov 29, 2010, at 8:05 AM, Dick Hoogendijk wrote:

> OK, I've got a proble I can't solve by myself. I've installed solaris 11 
> using just one drive.
> Now I want to create a mirror by attached a second one tot the rpool.
> However, the first one has NO partition 9 but the second one does. This way 
> the sizes differ if I create a partiotion 0 (needed because it's a boot 
> disk)..
> 
> How can I get the second disk look exactly the same like the first?
> Or can't that be done.

I haven't done this on Solaris 11 Express, but this worked on OpenSolaris 
2009-06:

 prtvtoc /dev/rdsk/c5t0d0s0 | fmthard -s - /dev/rdsk/c5t1d0s0

Where the first disk is the current root and the second one is the new mirror.

This is taken from here:

http://blogs.warwick.ac.uk/chrismay/entry/opensolaris_adventure_part_1

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

Reply via email to