Documentation
- TLDP:
- Misc:
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch26_:_Linux_Software_RAID;
http://www.linuxdevcenter.com/pub/a/linux/2002/12/05/RAID.html;
http://www.linuxfoundation.org/collaborate/workgroups/linux-raid/group;
http://www.linuxfoundation.org/collaborate/workgroups/linux-raid/raid_setup;
Recipies
RAID1 for backup
- creation:
mdadm \ --create ./devices/md.dev \ --level=raid1 \ --chunk=2048 \ --write-mostly \ --write-behind=1024 \ --bitmap=internal \ --auto=md \ --raid-devices=3 \ --spare-devices=0 \ --config=none \ ./devices/block-0.dev missing missing \ --verbose
- assembly:
mdadm --assemble ./devices/md.dev --run --auto=md ./devices/block-1.dev --verbose
- mirror addition:
mdadm --manage ./devices/md.dev --add ./devices/block-1.dev --verbose
- mirror re-addition:
mdadm --manage ./devices/md.dev --re-add ./devices/block-1.dev --verbose
- mirror removal:
mdadm --manage ./devices/md.dev --fail ./devices/block-1.dev --verbose mdadm --manage ./devices/md.dev --remove ./devices/block-1.dev --verbose