April 21, 201115 yr Is there any way to loop through the connected hard drives and enable SMART instead of the way I have it right now? This is in my GO file currently. # Enables SMART monitoring on the following drives smartctl -s on -d ata /dev/sda smartctl -s on -d ata /dev/sdb smartctl -s on -d ata /dev/sdc
April 21, 201115 yr Is there any way to loop through the connected hard drives and enable SMART instead of the way I have it right now? This is in my GO file currently. # Enables SMART monitoring on the following drives smartctl -s on -d ata /dev/sda smartctl -s on -d ata /dev/sdb smartctl -s on -d ata /dev/sdc for d in /dev/sd? do smartctl -s on -d ata $d done It will do them all.
Archived
This topic is now archived and is closed to further replies.