Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> Can't get external HDD to spin down
spoovy
 Posted: Nov 2 2011, 08:07 PM
Quote Post


SLF Moderator
****

Group: Moderators
Posts: 258
Member No.: 5
Joined: 8-April 11









It's a Samsung HM321HI, Freecom branded, USB 3.0 external HDD. I have it attached to a home server at the moment, and would like it to spin down when not in use (95% of the time).

I have tried sdparm and hdparm, it won't accept either command. hdparm gives errors, sdparm commands silently fail. I have enabled /proc/sys/vm/laptop_mode, and tried using sg3 as suggested in this bug discussion - https://bugs.launchpad.net/ubuntu/+source/sdparm/+bug/444818. Still no go.

It is not a root filesystem, there are no logs being written to it or anything like that. I't mounted noatime; it should be spinning down, or at least allowing me to change parameters with hdparm/sdparm.

I'm out of ideas.

This post has been edited by spoovy: Nov 2 2011, 08:07 PM


--------------------
PMIntegrity Messenger IM
^
helikaon
 Posted: Nov 3 2011, 06:00 AM
Quote Post


SLF Moderator
******

Group: Moderators
Posts: 607
Member No.: 4
Joined: 8-April 11









Hi spoovy,
so e.g. the :
CODE

sync
sdparm --flexible --command=stop /dev/sdX &>/dev/null


does nothing...?

cheers,


--------------------
PMEmail Poster
^
spoovy
 Posted: Nov 3 2011, 09:28 AM
Quote Post


SLF Moderator
****

Group: Moderators
Posts: 258
Member No.: 5
Joined: 8-April 11









Nothing: (after sync'ing)

CODE
[root@misspiggy ~]# sdparm --flexible --command=stop /dev/sdc &>/dev/null
[root@misspiggy ~]#


CODE
[root@misspiggy ~]# sdparm --verbose --flexible --command=stop /dev/sdc
>>> about to open device name: /dev/sdc
   /dev/sdc: SAMSUNG   HM321HI           2AJ1
   Start stop unit command: 1b 00 00 00 00 00


...disk still spinning.. huh.gif

This post has been edited by spoovy: Nov 3 2011, 09:31 AM


--------------------
PMIntegrity Messenger IM
^
helikaon
 Posted: Nov 3 2011, 04:51 PM
Quote Post


SLF Moderator
******

Group: Moderators
Posts: 607
Member No.: 4
Joined: 8-April 11









Hi spoovy,
i had a brief look on the web and found handful different approaches and solutions starting by vendor spindown utilities, then linux binaries, scripts, different etc etc.
I'm afraid, you'll have to trial/error to find out your solution....
at least e.g. here is list of disks working (spinning down):
slug linux
and hd-idle linux utility on sourceforge:
hd-idle

well, good luck on this man smile.gif


--------------------
PMEmail Poster
^
spoovy
 Posted: Nov 3 2011, 07:24 PM
Quote Post


SLF Moderator
****

Group: Moderators
Posts: 258
Member No.: 5
Joined: 8-April 11









Cheers, I will keep plugging away...

http://dl.dropbox.com/u/2835777/BangHead1.gif


--------------------
PMIntegrity Messenger IM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll