What is a RAID used for?
Redundant Array of Independent Drives is a mechanism in which multiple disks are combined for more reliablity and speed.
Resources
- mdadm(1)
What are the RAID levels?
RAID 0 RAID 1 RAID 3
Similar to RAID 5 but with parities on only one drive.
Resources
- mdadm(1)
Create an array of drives with RAID level 5?
Description
mdadm --create --verbose /dev/md0 --level 5 --raid-devices 3 /dev/sda /dev/sdb /dev/sdc
Resources
- mdadm(1)
Get the current status of RAID array?
cat /proc/mdstat watch -n1 cat /proc/mdstat
Resources
- mdadm(1)
Retrieve RAID details?
Description
mdadm --detail --scan mdadm --detail /dev/md0
Resources
- mdadm(1)
Make a RAID array permanent?
Description
mdadm --detail --scan >> /etc/mdadm.conf
Resources
- mdadm(1)
Start monitoring RAID and get notified about failures?
Edit
mdadm(1)
configuration/etc/mdadm.conf
, and specifyMAILADDR
,MAILFROM
andPROGRAM
.mdadm --monitor --scan --test
Resources
- mdadm(1)
Run an array of raided devices from the stopped state?
mdadm --assemble /dev/md0 /dev/sda /dev/sdb /dev/sdc
Resources
- mdadm(1)
Remove an array component from a RAID?
Description
mdadm --manage /dev/md0 --fail /dev/sdX mdadm --manage /dev/md0 --remove /dev/sdX mdadm --zero-superblock /dev/sdX mdadm --detail --scan >> /etc/mdadm.conf
Resources
- mdadm(1)