Since the rpool can not use EFI labels you need to format the mirror disk so it is the same as your rpool disk.

Example and your disk target will/may differ.

prtvtoc /dev/rdsk/c7t0d0s2 | fmthard -s - /dev/rdsk/c7t1d0s2 (s2 is the whole disk)

Then just attach the disk to be mirrored

  /usr/sbin/zpool attach -f rpool  /dev/rdsk/c7t0d0s0  /dev/rdsk/c7t1d0s0

If you want to be able to boot from the mirror as a CYA then run install grub


  installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/c7t1d0s0

The following will show the progress of the resilvering

  zpool status


john wrote, On 07/12/10 15:06:
Hello all. I am new...very new to opensolaris and I am having an issue and have 
no idea what is going wrong. So I have 5 drives in my machine. all 500gb. I 
installed open solaris on the first drive and rebooted. . Now what I want to do 
is ad a second drive so they are mirrored. How does one do this!!! I am getting 
no where and need some help.

_______________________________________________
opensolaris-help mailing list
opensolaris-help@opensolaris.org

Reply via email to