This shows you the differences between two versions of the page.
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: | + | **raid howto is located in [[linux: |
Line 22: | Line 22: | ||
watch revovery: | watch revovery: | ||
watch cat / | watch cat / | ||
+ | |||
+ | |||
+ | update existing initramfs: | ||
+ | update-initramfs -u -k all | ||
+ | |||
+ | ===== RAID setup changes ===== | ||
+ | |||
+ | update the raid config - achtung ">>" | ||
+ | mdadm --examine --scan >> / | ||
+ | |||
+ | |||
+ | you need to update initramfs: to find the root raid | ||
+ | |||
+ | make sure these modules are included in / | ||
+ | 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 / | ||
+ | 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 | ||
+ | sysctl -w dev.raid.speed_limit_max=5000 | ||
+ | |||
+ | |||
+ | Links: | ||
+ | * https:// | ||
+ | * |