Table of contents
No headersHere are some additional options that maybe useful.
Option to handle how smartctl will work with a drive that is under "Power Managment", ie a laptop hard drive.
From the manpage (http://smartmontools.sourceforge.net...martctl.8.html)
-n POWERMODE, --nocheck=POWERMODE
Specifieds if smartctl should exit before performing any checks when the device is in a low-power mode. It may be used to prevent a disk from being spun-up by smartctl. The power mode is ignored by default. The allowed values of POWERMODE are:
never - check the device always, but print the power mode if '-i' is specified.
sleep - check the device unless it is in SLEEP mode.
standby - check the device unless it is in SLEEP or STANDBY mode. In these modes most disks are not spinning, so if you want to prevent a disk from spinning up, this is probably what you want.
idle - check the device unless it is in SLEEP, STANDBY or IDLE mode. In the IDLE state, most disks are still spinning, so this is probably not what you want.