User Tools

Site Tools


docs:tips_n_tricks:softraid.html

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
docs:tips_n_tricks:softraid.html [16.03.2010 22:10 CET] peterdocs:tips_n_tricks:softraid.html [22.09.2019 17:29 CEST] (current) – [Increas resync speed] peter
Line 5: Line 5:
  
 don't mix up ''--create'' and ''--build'', as the latter will not write meta date to the partion. don't mix up ''--create'' and ''--build'', as the latter will not write meta date to the partion.
 +
 +===== Resize RAID1 after underlying partitions are resized =====
 +
 +  mdadm --grow /dev/md0 --bitmap none
 +  mdadm --grow /dev/md0 --z max
 +  ( mdadm -W /dev/md0 && mdadm --grow /dev/md0 --bitmap internal ) &
 +  watch 'cat /proc/mdstat ; mdadm --detail /dev/md0 | fgrep -i bitmap'
 +  
 +===== Increase resync speed =====
 +
 +Increase values in 
 +
 +  /proc/sys/dev/raid/speed_limit_min
 +  /proc/sys/dev/raid/speed_limit_max
 +
 +or in
 +
 +  /sys/block/md*/md/sync_speed_min
 +  /sys/block/md*/md/sync_speed_max
 +
 +respectively
docs/tips_n_tricks/softraid.html.1268773838.txt.gz · Last modified: 16.03.2010 22:10 CET by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki