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. Dick
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
On 29-11-2010 14:35, rwalists at washdcmail.com wrote:> 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.It works om solaris 11 too. Someone else pointed ut he webpage. It worked very well. Disks are mirrored and running..
On Nov 29, 2010, at 5: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.There is a whole section on managing boot disks in the ZFS Admin Guide, worth a look. -- richard