can I turn off a HDD connected via USB using hdparm or any other tool?
its sometimes bit loud at night
How to turn off a USB disk via hdparm?
8 posts
Can't you just unplug it from the USB at night?
- Posts: 238
- Joined: Thu Aug 30, 2012 1:07 am
- Location: San Angelo, Texas USA
Did you read man hdparm in a terminal? You probably want little -y. Not sure if it would wake up on USB if you use capital -Y.
- Posts: 357
- Joined: Mon Dec 03, 2012 2:47 am
- Location: Elgin, IL USA
Cogito ergo sum
You need to specify the device your are putting to sleep. The command is
- Code: Select all
hdprm -y /dev/sdx
Actually: sudo hdparm -y /dev/sda
assuming 1st USB drive
assuming 1st USB drive
- Posts: 357
- Joined: Mon Dec 03, 2012 2:47 am
- Location: Elgin, IL USA
yes, only 1 USB drive is connected (the other USB port is taken by wifi adapter
)
so
thank You very much
so
- Code: Select all
$ sudo hdparm -y /dev/sda
thank You very much
Cogito ergo sum