User Tools

Site Tools


managing_linux_software_raid

This is an old revision of the document!


Managing Linux Software RAID

Linux Software RAID Howto

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
managing_linux_software_raid.1219827469.txt.gz · Last modified: 2016/11/25 22:38 (external edit)