Changes

From SME Server
Jump to navigationJump to search
70 bytes added ,  05:39, 27 October 2007
mdadm --detail
Line 87: Line 87:  
       255936 blocks [2/2] [UU]
 
       255936 blocks [2/2] [UU]
   −
To recover this raid, i.e. to get it back into sync, you need to use the raidhotadd command.
+
For more detail:
 +
[root@sme ~]# mdadm --detail /dev/md2
 +
 
 +
To recover this raid, i.e. to get it back into sync, you need to use the 'mdadm --add' command.
    
Make a note of the raid partition that has failed. In this case it is md2, the device being /dev/md2/. You will need to add the physical partition back into that raid partition. The missing physical partition in the above example is /dev/hda2
 
Make a note of the raid partition that has failed. In this case it is md2, the device being /dev/md2/. You will need to add the physical partition back into that raid partition. The missing physical partition in the above example is /dev/hda2
   −
The command to run is then:
+
The command to run to re-add is then:
    
  [root@sme]# mdadm --add /dev/md2 /dev/hda2
 
  [root@sme]# mdadm --add /dev/md2 /dev/hda2

Navigation menu