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.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to