The Process of Replacing a Submirror in a Mirror( Created by HungNQ_SVTech)
1.make sure that you have root privilege and you that a current backup off all data
2. use the metastat command to view the status of the Raid-1 volume and associated submirrors
# metatstat mirror-nam
3.use the metadetach, metaclear, metatinit, and metattach commands to replace an entrie submirror
a) Use the metadetach command to the failed submirror from the mirror
# metadetach –f mirror-name submirror
-f force the detach to occur
Mirror-name : name of mirror
Submirror : submirror to detach
b) Use metaclear to delete the submirror
Metaclear –f submirror
c) Use metainit to create a new submirror
# metainit volume-name number-of-stripes components-per-stripe component-name
Volume-name : ten cua volume duoc tao ra
Number-of-stripes : so tripes can tao ra
Components –per-stripe : so luong components tren moi tripe can co
Component –name : ten cua component ma duoc su dung
d) Use the metattach command to attach the new submirror
#metatach mirror submirror
Không có nhận xét nào:
Đăng nhận xét