Changes

Jump to navigation Jump to search
526 bytes added ,  22:27, 18 October 2007
Line 81: Line 81:  
====Restarting a RAID====
 
====Restarting a RAID====
   −
Sometimes a partition will be taken offline automatically.
+
Sometimes a partition will be taken offline automatically. This will happen if, for example, a read or write error is detected in a disk in the RAID set. When this happens, the details of the raid can be seen by inspecting the mdstat file. In the following example, partition hda2 (hard disk 'a', partition 2) is offline:
 +
 
 +
<code>[root@sme]# cat /proc/mdstat
 +
Personalities : [raid1]
 +
md1 : active raid1 hda3[0] hdb3[1]
 +
      38837056 blocks [2/2] [UU]
 +
 
 +
md2 : active raid1 hdb2[1]
 +
      1048704 blocks [2/1] [_U]
 +
 
 +
md0 : active raid1 hda1[0] hdb1[1]
 +
      255936 blocks [2/2] [UU]</code>
 +
 
    
<noinclude>[[Category:Howto]]</noinclude>
 
<noinclude>[[Category:Howto]]</noinclude>
97

edits

Navigation menu