This is the second part to my SVM mirror guide. In the first guide http://hell.jedicoder.net/files/svmraid1howto.txt I explained how to just mirror your root slice, and this is showing how to mirror the rest of the slices. So last time I left off with just mirroring the root slice (c0t96d0s0) and now we will start with slice 1 (c0t96d0s1). NOTE: In d21 2 is the submirror number and 1 is the slice number same with d11, 1 is submirror #, 1 is slice # Create concat/stripe of slice 1. # metainit -f d11 1 1 c0t96d0s1 Create concat/stripe of slice 1 on the mirror disk. # metainit d21 1 1 c0t98d0s1 Create d1 and attatch d11. # metainit d1 -m d11 Edit your /etv/vfstab manually for other slices than root. sample: #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/dsk/c0t96d0s4 - - swap - no - /dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no - /dev/dsk/c0t96d0s6 /dev/rdsk/c0t96d0s6 /usr ufs 1 no - /dev/dsk/c0t96d0s3 /dev/rdsk/c0t96d0s3 /var ufs 1 no - /dev/dsk/c0t97d0s7 /dev/rdsk/c0t97d0s7 /export/home ufs 2 yes - /dev/dsk/c0t96d0s5 /dev/rdsk/c0t96d0s5 /opt ufs 2 yes - /dev/md/dsk/d1 /dev/md/rdsk/d1 /usr/openwin ufs 2 yes - /devices - /devices devfs - no - ctfs - /system/contract ctfs - no - objfs - /system/object objfs - no - swap - /tmp tmpfs - yes - I changed the c0t96d0s1 entry to point to /dev/md/dsk/d1 and /dev/md/rdsk/d1 and thats it. This tells SVM its OK to boot up even if only half of the metadbs are available: # echo 'set md:mirrored_root_flag=1' >> /etc/system # metainit -f d13 1 1 c0t96d0s3 d13: Concat/Stripe is setup # metainit d23 1 1 c0t98d0s3 d23: Concat/Stripe is setup # metainit d3 -m d13 d3: Mirror is setup # metainit -f d14 1 1 c0t96d0s4 d14: Concat/Stripe is setup # metainit d24 1 1 c0t98d0s4 d24: Concat/Stripe is setup # metainit d4 -m d14 d4: Mirror is setup # metainit -f d15 1 1 c0t96d0s5 d15: Concat/Stripe is setup # metainit d25 1 1 c0t98d0s5 d25: Concat/Stripe is setup # metainit d5 -m d15 d5: Mirror is setup # metainit -f d16 1 1 c0t96d0s6 d16: Concat/Stripe is setup # metainit d26 1 1 c0t98d0s6 d26: Concat/Stripe is setup # metainit d6 -m d16 d6: Mirror is setup Edit all other entries in /etc/vfstab like we did above. #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/md/dsk/d4 - - swap - no - /dev/md/dsk/d0 /dev/md/rdsk/d0 / ufs 1 no - /dev/md/dsk/d6 /dev/md/rdsk/d6 /usr ufs 1 no - /dev/md/dsk/d3 /dev/md/rdsk/d3 /var ufs 1 no - /dev/dsk/c0t97d0s7 /dev/rdsk/c0t97d0s7 /export/home ufs 2 yes - /dev/md/dsk/d5 /dev/md/rdsk/d5 /opt ufs 2 yes - /dev/md/dsk/d1 /dev/md/rdsk/d1 /usr/openwin ufs 2 yes - /devices - /devices devfs - no - ctfs - /system/contract ctfs - no - objfs - /system/object objfs - no - swap - /tmp tmpfs - yes - # sync; sync; reboot After it reboots, attatch the other submirrors to d1,d3,d4,d5,d6. # metattach d1 d21 d1: submirror d21 is attached # metattach d3 d23 d3: submirror d23 is attached # metattach d4 d24 d4: submirror d24 is attached # metattach d5 d25 d5: submirror d25 is attached # metattach d6 d26 d6: submirror d26 is attached # metastat | grep progress Resync in progress: 0 % done Resync in progress: 1 % done Resync in progress: 16 % done Resync in progress: 24 % done Resync in progress: 18 % done