back |
Software RAID under Linux | next |
Setting up RAID with redundant disksRAID-1 and above allow to
define spare disks in /etc/raidtab.
raiddev /dev/md0
raid-level 1
nr-raid-disks 2 nr-spare-disks 1 chunk-size 4 persistent-superblock 1 device /dev/sda1 raid-disk 0 device /dev/sdb1 raid-disk 1 device /dev/sdc1 spare-disk 0 Spare disks are not used until one
of the RAID disks fails, then a
spare is brought into the array.
When we start RAID with mirroring, something interesting happens... |