RAID 1
Cheat sheet · https://pcornel.dk/topic.php?topic=2771
Answer
RAID 1 (mirroring) writes identical data to two or more disks; it survives the loss of all but one disk. Capacity = one disk.
Remember
Good for boot and system disks. Install the bootloader on every member. A mirror does not protect against deletion or corruption — keep backups.
First checks
cat /proc/mdstat— md arrays and sync statusmdadm --detail /dev/md<n>— array state and membersmdadm --examine /dev/<dev>— member superblocksmartctl -H /dev/<disk>— disk health
Verify in this order
disks → RAID 1 layout → array device → filesystem
Where it usually breaks
First mismatch in hardware/block device → kernel driver/mapper/RAID/LVM → filesystem → mount namespace/options → path permissions/MAC → consumer I/O; preserve identity/native diagnostic/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=2771