RAID1 breaking mirrior

Explain RAID1 breaking mirrior .and if i break raid 1 mirrior what is position of data?

Questions by krishnaraghava   answers by krishnaraghava

Showing Answers 1 - 2 of 2 Answers

srujan4u

  • Oct 2nd, 2008
 

is very difficult task for administrator,

First identify the second disk which is mirrored, and use the  following command

# metadetach d01 d1       - unconfigures root
#metadetach d23 d3        -- unconfigures /swap
#metadetach d45 d5        -- unconfigures /backup
#metadetach d56 d6        -- unconmfigures/usr
#metadetach d78 d8       -- unconfigures/var


after doing above operations... remove metadatabase from slice s7 from unconfigured disk...
#metaclear /dsk/md/dsk/c0t0d0s7


it clear entire mirror method from second mirrored disk.

  Was this answer useful?  Yes

callid

  • Aug 26th, 2010
 

First, identify the failed disk. 
Second, detach the submirror corresponding to failed disk using the following commands. 

#metadetach -f d01 d1 -- unmirrors / 
#metadetach d23 d3 -- unmirrors /swap
#metadetach d45 d5 -- unmirrors /backup
#metadetach d56 d6 -- unmirrors /usr
#metadetach d78 d8 -- unmirrors /var


Third, run metaclear for each detached submirror.
#metaclear d1
#metaclear d3
#metaclear d5
#metaclear d6
#metaclear d8 

Fourth, do metadb -i and detach 3 copies of metastate database from failed disk using
metadb -d -c 3 /dev/rdsk/cxtxdxs7 (failed disk)

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions