Bug#419175: linux-image-2.6.18-4-686: USB HD gives I/O errors while spinning up
Agree - both methods work (getting udev to set allow_restart) and by
turning-off standby with sdparm:
% sdparm --clear STANDBY -6 /dev/sda
The big question for me .. how does one re-enable STANDBY mode on this
drive? sdparm fails to switch it back on, and even power cycles haven't
reenabled it.
Meanwhile, I wonder if the linux kernel shouldn't look at the power mode
page when it installs a new SCSI disk drive and make a note that the
drive might need spinning up if it has STANDBY enabled (or any other
automated power saving modes). This would work for all devices, without
extra hacking.
Reply to: