What does RAID stand for?
Redundant Array of Independent Disks
What is the purpose of RAID?
Combines multiple physical drives into logical units to enhance performance, redundancy, or both
What does RAID 0 use for speed?
Striping
What does RAID 1 use for protection?
Mirroring
What do RAID 5 and RAID 6 use for error detection and recovery?
Parity
What is the primary Linux tool for managing RAID arrays?
mdadm
What does –create option in mdadm do?
Initializes a new RAID array
What does –manage option in mdadm do?
Adds or removes disks from an existing array
What does –monitor option in mdadm do?
Continuously watches array for failures
What does –verbose option in mdadm do?
Provides detailed output
Command to create a RAID 1 array with two devices?
sudo mdadm –create –verbose /dev/md0 –level=1 –raid-devices=2 /dev/sdb /dev/sdc
How do you save RAID configuration?
sudo mdadm –detail –scan»_space; /etc/mdadm/mdadm.conf and sudo update-initramfs -u
How do you format and mount the RAID array?
sudo mkfs.ext4 /dev/md0, sudo mkdir /mnt/raid, sudo mount /dev/md0 /mnt/raid
What file enables automatic mounting at boot?
/etc/fstab
How do you monitor RAID status?
sudo mdadm –monitor –verbose /dev/md0
What file shows real-time RAID status?
/proc/mdstat
What does [UU] indicate in /proc/mdstat?
Both disks are healthy
What does [U_] indicate in /proc/mdstat?
A failed disk