User Tools

Site Tools


raid

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
raid [2009/11/16 14:23] 172.26.0.166raid [2009/11/17 05:56] 172.26.0.166
Line 85: Line 85:
 Verify the new partitions can be seen: Verify the new partitions can be seen:
 <code># partprobe -s <code># partprobe -s
-# partprobe -s 
 /dev/hda: msdos partitions 1 2 3 4 <5 6> /dev/hda: msdos partitions 1 2 3 4 <5 6>
 /dev/hdd: msdos partitions 1 2 3 4 <5 6> /dev/hdd: msdos partitions 1 2 3 4 <5 6>
Line 97: Line 96:
 # mdadm /dev/md3 --add /dev/hdd1 # mdadm /dev/md3 --add /dev/hdd1
 # mdadm /dev/md4 --add /dev/hdd6</code> # mdadm /dev/md4 --add /dev/hdd6</code>
 +After adding you can monitor the progress of the RAID rebuilds by looking in ''/proc/mdstat'': 
 +<file>Personalities : [raid1] [raid0]  
 +md3 : active raid1 hdd1[1] hda1[0] 
 +      200704 blocks [2/2] [UU] 
 +       
 +md1 : active raid1 hdd3[2] hda3[0] 
 +      26627648 blocks [2/1] [U_] 
 +      [===================>.]  recovery = 95.4% (25407552/26627648) finish=0.7min speed=28648K/sec 
 +       
 +md2 : inactive hda5[0] 
 +      18434304 blocks 
 +        
 +md4 : active raid1 hdd6[2] hda6[0] 
 +      2168640 blocks [2/1] [U_] 
 +        resync=DELAYED 
 +       
 +md0 : active raid1 hdd2[1] hda2[0] 
 +      30716160 blocks [2/2] [UU] 
 +       
 +unused devices: <none></file>
 Clearing any previous raid info on a disk (eg. reusing a disk from another decommissioned raid array) Clearing any previous raid info on a disk (eg. reusing a disk from another decommissioned raid array)
  
raid.txt · Last modified: 2010/09/19 23:58 by aorth