Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3567

Hardware • [Solved] Suspend external usb-disk

$
0
0
Hey bw123,

thanks a lot for mentioning -S, -Y and -y (and -C) Haven't heared of them.

Code:

ben@BenHomeserver:~$ sudo hdparm -C /dev/sdb2/dev/sdb2: drive state is:  active/idle
With -y I can hear the disk spinning down

Code:

ben@BenHomeserver:~$ sudo hdparm -y /dev/sdb2/dev/sdb2: issuing standby command  ben@BenHomeserver:~$ sudo hdparm -C /dev/sdb2/dev/sdb2: drive state is:  standby
Accessing it with e.g. ls will bring it back.
So far, so good. And finally with hdparm -S 6 (as an example), it will spin down after 30s. You are my hero of the month 😁

btw: I just mentioned the windows-thing just to make clear, that the disk has the capability to suspend. Because I was confused by ApmEnabled: false and ApmSupported: false (which seems to not be required). It was by no mean any statement that Windows is better or has more capabilities. I am just learning Linux, so I tend to compare it to functions in windows that I am used to. I just don't know better (yet), but I hope that I will learn a lot about Linux in the future (even with 45y 😉).

Again: thanks a lot!

Greez
Fatal

Statistics: Posted by FatalDiskError — 2024-11-13 22:49 — Replies 4 — Views 248



Viewing all articles
Browse latest Browse all 3567

Trending Articles