Linux Software Raid: Difference between revisions
From DWIKI
mNo edit summary |
m (→Links) |
||
Line 6: | Line 6: | ||
*[[RAID]] | *[[RAID]] | ||
*[http://tldp.org/HOWTO/Software-RAID-HOWTO.html Software RAID Howto] | *[http://tldp.org/HOWTO/Software-RAID-HOWTO.html Software RAID Howto] | ||
*http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID | *http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID | ||
*[http://www.snia.org/tech_activities/standards/curr_standards/ddf/ COMMON RAID DISK DATA FORMAT (DDF)] | *[http://www.snia.org/tech_activities/standards/curr_standards/ddf/ COMMON RAID DISK DATA FORMAT (DDF)] |
Revision as of 09:31, 15 May 2023
Links
- A guide to mdadm
- mdstat
- How to use MDADM to manage software RAID disc arrays
- How To Manage RAID Arrays with mdadm
- RAID
- Software RAID Howto
- http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID
- COMMON RAID DISK DATA FORMAT (DDF)
- Switching to mirroring
- http://www.sanitarium.net/golug/Linux_Software_RAID.html
HOWTO
Scan devices
mdadm --examine --scan --verbose /dev/sda2 /dev/sdb2 /dev/sdc2
Stop array
mdadm --stop /dev/md0
What the howto and man mdadm don't tell
Checking the raid units
From man md:
echo check > /sys/block/md0/md/sync_action
check /proc/mdstat for status, and then set back to idle:
echo idle > /sys/block/md0/md/sync_action
Looking at your raid units
cat /proc/mdstat mdadm --detail /dev/md0
(also shows what's going on when checking/resynching)
Hotswapping (scsi) disks
eject -s /dev/sda