How to Replace a Failed Disk in SVM (Solaris Volume Manager)
How to Replace a Failed Disk in SVM (Solaris Volume Manager)
To replace a failed Disk in SVM Please follow this Procedure:
1. Take infodump.
2. Delete metadb replica.
metadb -d /dev/dsk/c1t0d0s7
3. Detach the root disk from the mirror.
metadetach d0 d10
metadetach d1 d11
metadetach d3 d13
metadetach d4 d14
metadetach d5 d15
metadetach d6 d16
metaclear d10
metaclear d11
metaclear d13
metaclear d14
metaclear d15
metaclear d16
4. Un-configure the disk.
5. As the HW engineer to replace the disk.
6. Scan and Configure the disk. devfsadm
6. Once the Disk has been replaced, Please fire following command.
prtvtoc /dev/rdsk/c1t1d0s2 | fmthard -s - /dev/rdsk/c1t0d0s2
7. Create metadisks.
metainit d10 1 1 c1t0d0s0
metainit d11 1 1 c1t0d0s1
metainit d13 1 1 c1t0d0s3
metainit d14 1 1 c1t0d0s4
metainit d15 1 1 c1t0d0s5
metainit d16 1 1 c1t0d0s6
8.Attach submirror to mirror.
metattach d0 d10
metattach d1 d11
metattach d3 d13
metattach d4 d14
metattach d5 d15
metattach d6 d16
9. Create replica.
metadb -a -c3 /dev/dsk/c1t0d0s7
|
No comments