The original post: /r/datahoarder by /u/88rcg on 2024-06-18 21:00:44.
I currently have a custom script I created that I run from time to time manually to poll my drives for their SMART data and record it in date stamped text files.
I however don't know when should I really attempt to RMA my drives and I'd also like to setup some form of automated notification solution where I can get an email that effectively tells me I need to replace a drive.
I am using a bare metal system with the latest ubuntu server 24.02 LTS and utilize snapraid for a cheap backup solution that provides parity.
Drives:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 16.4T 0 disk /mnt/disk9
sdb 8:16 0 9.1T 0 disk /mnt/disk3
sdc 8:32 0 12.7T 0 disk /mnt/disk4
sdd 8:48 0 9.1T 0 disk /mnt/disk2
sde 8:64 0 14.6T 0 disk /mnt/disk7
sdf 8:80 0 12.7T 0 disk /mnt/disk6
sdg 8:96 0 12.7T 0 disk /mnt/disk1
sdh 8:112 0 16.4T 0 disk /mnt/disk12
sdi 8:128 1 16.4T 0 disk /mnt/disk11
sdj 8:144 1 16.4T 0 disk /mnt/disk8
sdk 8:160 1 14.6T 0 disk /mnt/disk5
sdl 8:176 1 14.6T 0 disk /mnt/disk10
sdm 8:192 1 16.4T 0 disk /mnt/parity2
sdn 8:208 1 16.4T 0 disk /mnt/parity3
sdo 8:224 1 2.3T 0 disk /mnt/temp2
sdp 8:240 1 16.4T 0 disk /mnt/parity
nvme1n1 259:0 0 1.8T 0 disk
├─nvme1n1p1 259:2 0 1G 0 part /boot/efi
├─nvme1n1p2 259:3 0 1G 0 part
├─nvme1n1p3 259:4 0 1G 0 part /boot
└─nvme1n1p4 259:5 0 1.8T 0 part
└─vg0-lv--0 252:0 0 1.8T 0 lvm /
nvme0n1 259:1 0 1.8T 0 disk /mnt/temp
Below I've provided my latest report which provides a lot of info but I'd like to rather get some emailed notifications that let me know when to replace, rather than me having to lookup which drive attributes really matter and thresholds.
latest report: https://pastebin.com/dwbF2F8u