This shows you the differences between two versions of the page.
managing_linux_software_raid [2008/08/27 09:57] adam created |
managing_linux_software_raid [2016/11/25 22:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== Managing Linux Software RAID ===== | ||
- | |||
- | [[http:// | ||
- | |||
- | Below are some notes on using Linux Software RAID. It's not complete yet of course :) | ||
- | |||
- | Marking a damaged disk as failed: | ||
- | |||
- | mdadm --manage --set-faulty /dev/md0 /dev/sdc1 | ||
- | |||
- | Removing the damaged disk from the array: | ||
- | |||
- | mdadm /dev/md0 -r /dev/sdc1 | ||
- | |||
- | Shutdown your system, bring it up into single user mode and partition and format your new disk. Set the partition type as Linux Software RAID autodetect. Of course you need to partition your new disk the same as the previous one. Bring the machine up into it's default runlevel, either by rebooting or by doing init 5 or init 2 depending on your Linux distribution. | ||
- | |||
- | Add your new disk to the array: | ||
- | |||
- | mdadm /dev/md0 -a /dev/sdc1 | ||
- | |||