To replace a slice by using metareplace option
What you would do if you desire to replace a slice by using metareplace option?
Expert
Usually we employ metareplace while we have faulty submirrors and once replaced it resyncs along with the failed components.
1) Search the meta state databases on the slice
#metadb -i
2) If any meta state databases exist eliminate them
#metadb –d c0t0d0sX where x refer to slice number
3) Once the meta state databases are eliminated we can employ cfgadm to unconfigure the device
#cfgadm -c unconfigure diskname
Once unconfigured replace the disk & configure it as given below
4)#cfgadm –c configure diskname
5) Now copy the Volume Table Of Contents (VTOC) to the new disk
#prtvtoc /dev/rdsk/devicename | fmthard -s -
/dev/rdsk/devicename
6) Once the VTOC is in place now employ metareplace command to replace the faulty meta devices
#metareplace -e d11 devicename (Where d11 is the meta device)
Normal 0 false false
Explain Decision support system (DSS) and Management Information System ?
What do you mean by the term parasitism?
18,76,764
1941647 Asked
3,689
Active Tutors
1412326
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!