This is an old revision of the document!
Writing /var/www/html/wiki.freefm.uk/data/log/deprecated/2025-12-16.log failed
Writing /var/www/html/wiki.freefm.uk/data/log/error/2025-12-16.log failed
Writing /var/www/html/wiki.freefm.uk/data/log/error/2025-12-16.log failed
Writing /var/www/html/wiki.freefm.uk/data/log/error/2025-12-16.log failed
Mdadm Helpers
How do I replace a disk marked as removed from a linux md raid-5 array
First identify removed drive:
lsblk
the, if drive is just remved:
mdadm --zero-superblock /dev/sdXn mdadm /dev/md0 --add /dev/sdXn
If replacing damaged drive, then only:
mdadm /dev/md0 --add /dev/sdXn