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
Similarity between Hitler and FDR: The character and political values of the two men were similar. Both men were virtuosos in their use of modern mass communication. They both were ambitious to achieve their goals. They both were also determined about
What should I write I don't have any question
What are the Characteristics of a good model?
18,76,764
1923530 Asked
3,689
Active Tutors
1449430
Questions Answered
Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!