On Wed, Oct 10, 2018 at 03:27:56PM +0200, Patrick Dupre wrote:
Hello, I made some tests, but it is strange to me. dparm -Y /dev/sdb
I don't use the "-Y" (uppercase) option, so I really can't comment on it ... lower case (-y) works lie a charm here ...
/dev/sdb: issuing sleep command then hdparm -C /dev/sdb /dev/sdb: drive state is: active/idle
Not sure what this means - are you sure you didn't end the "sleep" of the disk with this command, or is there some other process trying to access the disk that spinned it up again? - if you really want to issue the "-Y" switch maybe try the smartctl command you mentioned after rendering the disk to sleep, with the appropriate "-nocheck=<whatever>" (see man page) flag .... And maybe check whether there are read/writes to the disk? Someth. like: dstat -dc -C total -f 5 Again: the lower case hdparm "-y" flag seems to just be working here. The standy tho' is finished, IIRC, once I suspend and resume the computer. Wolfgang _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx