1

Monitor disk health using smartd (in smartmontools) on a high availability software RAID 1 server

view story
linux-howto

http://unix.stackexchange.com – I have a server with three identical SATA/600 3TB drives: /dev/sda, /dev/sdb, /dev/sdc. The drives are partitioned, using GPT with three partitions each: 1 MB: Reserved partition for boot loader 1 GB: RAID1 /dev/md0 ( ext2 ( /boot ) ) 3 TB: RAID1 /dev/md1 ( encrypted volume ( LVM ( volume group ( Swap, /, /etc, /home ... ) ) ) ) One of the three drives is a hot spare and the other two are active in the RAID sets. It works fine and I am able to boot after disconnecting any single HDD. I want to use smartd (part of smartmontools) to monitor the health of the drives and report errors to syslo (HowTos)