Professional Documents
Culture Documents
Root Mirroring Steps
Root Mirroring Steps
----->second hdd
# cp /etc/system /etc/system.bkup
# cp /etc/vfstab /etc/vfstab.bkup
# metadb -a -f -c 3 c0t0d0s7 --- to create state database
# metadb -a -f -c 3 c0t1d0s7
# metainit -f d0 1 1 /dev/dsk/c0t0d0s0 ----> to create meta device
# metainit -f d1 1 1 /dev/dsk/c0t1d0s0
# metainit d10 -m d0 -----> attaching a 1st submirror
# metaroot d10 ----> changing the Boot Path
# init 6
# df -h ----> check for the "/" filesystem
# metattach d10 d1
# metastat | grep % ----> check for the resync process IMP: Dont reboot when r
esync is going on
After completing 100%
# prtconf -pvv | grep bootpath
# init 0
ok> boot disk3 ----> 2nd disk
# prtconf -pvv | grep bootpath ----> verify whether it is showing "d10"
##### root unmirroring #####
# metadetach d10 d1
# metaroot /dev/dsk/c0t0d0s0
# init 6
# df -h
# prtconf -pvv | grep bootpath ---> verify whether it is showing "/dev/dsk/c0t0
d0s0"
then boot through 2nd disk
###### Boot Block #####
Installing the Boot Block
If you're using this procedure because you had to replace a failed hard drive, y