Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


USB drive not going to sleep
#6
Indeed I was wrong, that's what I get by relying on memory alone before I've had coffee. You can change some drive configuration with smartctl, just not spin down time, apologies.
Looks like a drive's spin down is set by using hdparm, installable on your Pi by installing the hdparm package.

Then with hdparm you can set the drive's spin-down in seconds with the S option, e.g.

Code:
sudo hdparm -S 600 /dev/sda

... assuming your USB disk is /dev/sda of course, to determine the device for your disk you can list block devices with lsblk.
Reply


Messages In This Thread
USB drive not going to sleep - by Capso - 09-02-2020, 08:02 AM
RE: USB drive not going to sleep - by vinnn - 09-02-2020, 08:13 AM
RE: USB drive not going to sleep - by Capso - 09-02-2020, 08:19 AM
RE: USB drive not going to sleep - by vinnn - 09-02-2020, 08:23 AM
RE: USB drive not going to sleep - by Capso - 09-02-2020, 11:57 AM
RE: USB drive not going to sleep - by vinnn - 09-02-2020, 12:26 PM
RE: USB drive not going to sleep - by Capso - 09-02-2020, 01:20 PM

Forum Jump: