User Tools

Site Tools


linux:filesystems:raid

Differences

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

Link to this comparison view

Next revision
Previous revision
linux:filesystems:raid [2013/03/10 17:53]
tkilla created
linux:filesystems:raid [2021/05/02 15:07] (current)
tkilla [RAID setup changes]
Line 1: Line 1:
 ====== RAID ====== ====== RAID ======
  
-raid howto is located in [[linux:filesystems:crypto_raid|]]+**raid howto is located in [[linux:filesystems:crypto_raid|]]**
  
  
Line 22: Line 22:
 watch revovery: watch revovery:
   watch cat /proc/mdstat    watch cat /proc/mdstat 
 +
 +
 +update existing initramfs:
 +  update-initramfs -u -k all 
 +
 +===== RAID setup changes =====
 +
 +update the raid config - achtung ">>" adds to the files, ">" overwrites:
 +  mdadm --examine --scan >> /etc/mdadm/mdadm.conf 
 +
 +
 +you need to update initramfs: to find the root raid
 +
 +make sure these modules are included in /etc/initramfs-tools/modules
 +  raid0
 +  raid1
 +  md
 +
 +re-create inramfs:
 +  update-initramfs -u -k all
 +
 +check in /boot, if they got recreated!
 +
 +
 +  dpkg-reconfigure mdadm 
 +  
 +===== RAID Monitoring Tools / resync =====
 +
 +Check RAID Status: 
 +
 +   watch -n1 cat /proc/mdstat
        
 +   mdadm --detail /dev/md2
 +
 +
 +Check Resync Speed Limits:
 +  sysctl dev.raid.speed_limit_min
 +  sysctl dev.raid.speed_limit_max
 +
 +Reconfigure Speed Limits:
 +  sysctl -w dev.raid.speed_limit_min=50000   # increase speed -> higher system load 
 +  sysctl -w dev.raid.speed_limit_max=5000    # lower speed -> less load, more time
 +
 +
 +Links:
 +  * https://www.cyberciti.biz/tips/linux-raid-increase-resync-rebuild-speed.html
 +  * 
linux/filesystems/raid.1362934412.txt.gz ยท Last modified: 2013/03/10 17:53 by tkilla