Changes

Jump to navigation Jump to search
461 bytes added ,  18:02, 29 May 2010
added use case of failed disk that has not been kicked out of the array
Line 115: Line 115:  
  md0 : active raid1 hda1[0] hdb1[1]
 
  md0 : active raid1 hda1[0] hdb1[1]
    +
If the raid has a failed disk that has not yet been kicked out of the array then mdstat will show something like the following:
 +
md2 : active raid1 hda2[0]'''(F)''' hdb2[1]  <--    Shows current active partition - with one '''FAILED (F)'''
 +
      1048704 blocks [2/1] [_U]          <--    '_' = partition missing from array
 +
 +
In this case before you add the disk back in you will need to remove the disk as per:
 +
 +
[root@sme]# mdadm --remove /dev/md2 /dev/hda2
 +
 
To add the physical partition back into that raid partition.  
 
To add the physical partition back into that raid partition.  
  
147

edits

Navigation menu