Linux Software Raid: Difference between revisions
From DWIKI
m (→Links) |
|||
Line 19: | Line 19: | ||
==Looking at your raid units== | ==Looking at your raid units== | ||
cat /proc/mdstat | cat /proc/mdstat | ||
mdadm --detail /dev/md0 | |||
(also shows what's going on when checking/resynching) | (also shows what's going on when checking/resynching) | ||
==Hotswapping (scsi) disks== | ==Hotswapping (scsi) disks== | ||
eject -s /dev/sda | eject -s /dev/sda |
Revision as of 20:44, 30 August 2008
Links
- Software RAID Howto
- A better guide
- Another raid howto
- http://gentoo-wiki.com/HOWTO_Gentoo_Install_on_Software_RAID
- COMMON RAID DISK DATA FORMAT (DDF)
- Switching to mirroring
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