Is there any way how to determine whether some drive is sleeping without occasionally waking it up? I have tried hdparm -C
and smartctl -i
but both of them actually wake it up when its already sleeping.
I need to set up a script that regularly checks the drive states and sets them asleep at certain times in case they are not sleeping already. (In fact that calling hdparm -Y
on a sleeping drive actually wakes it up!).