11 07 2017
Bash cron script for monitoring SMART health
#!/bin/bash echo >/tmp/smart for disk in /dev/sd[a-h] ; do echo -e -n "\n\n$disk - " >> /tmp/smart smartctl -s on --all $disk | egrep "Power_On_Hours|Power_Cycle_Count|Reallocated_Sector_Ct|result" >> /tmp/smart 2>&1 done cat /tmp/smart cat /tmp/smart | /usr/bin/mail -E -s 'SMART Report' receiver@server.com
Expanding RAID6 array, adding a disk and grow RAID6 with mdadm VMware workstation on Linux with SSD: slow pause pausing resume resuming from VMs on battery (normal speed on AC power)
Comments are currently closed.