Drives Not Powering Down (sleep)

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Drives Not Powering Down (sleep)

Postby UberSlackr » Sun Feb 10, 2013 8:29 pm

I have a PP v4 with 2 HHD attached, 1 via the SATA Port and 1 via USB (rear port.)
The 2 drives seem to Not power down or go to "sleep" when they are not being used for a period of time.

Is it possible to set the drive to power down? Adjust the time between access before it does?

Also when the use the Poweroff, or Halt command the drives never power off either.. Which is risking damage when removing the drive. How do I fix this??
Last edited by UberSlackr on Mon Feb 11, 2013 4:36 am, edited 1 time in total.
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am

Re: Drives Not Powering Down (sleep)

Postby Socaltom » Sun Feb 10, 2013 9:06 pm

There are a couple of tools that can help. hdidle is in the repos, and its easy to use, but.... if you have a swap file or logging, then the drive gets accessed routinely and it rarely powers down. I had some sucess by mounting a thumbdrive as var/log and let the logging get done there, but i still couldn't get my root drive to power down as often as my data drive.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Drives Not Powering Down (sleep)

Postby UberSlackr » Sun Feb 10, 2013 9:46 pm

$this->bbcode_second_pass_quote('Socaltom', 'T')here are a couple of tools that can help. hdidle is in the repos, and its easy to use, but.... if you have a swap file or logging, then the drive gets accessed routinely and it rarely powers down. I had some sucess by mounting a thumbdrive as var/log and let the logging get done there, but i still couldn't get my root drive to power down as often as my data drive.
Tom


Thanks for your response.

I shouldn't have any Swap or logging being performed on the Hard Drives. The root/linux is run off an inexpensive 16GB thumb drive, plus its flash memory so the risk of damage with constant power, or removal when powered is very very minimal. I'm just concerned about the 2 1TB Hard Disk Drives. It seems you were able to get your "data" drives to "power down" unfortunately I've had No success at this. The drives have been running constantly for 4-5 days (were only down for a short time 4-5 days while I updated alARM and did some testing.)

The only thing running within alARM is miniDLNA and Samba. I stopped both services, thinking maybe one of them was keeping the drives "alive" but had no success with that. Just been unable to finger out why they are not going to "sleep"/"powering down"... Thought it was a feature built into Arch, but maybe it was removed with the build of alARM.

I will definitely check into "hdiddle" for the "sleep" problem, thank you for the suggestion.
Update: I'm not finding anything in repos or package list by the name "hiddle"

Also, Issuing the "poweroff" command does not seem to power off the drives for safe removal... so that's my major concern really. The poweroff seems to shutdown alARM, at least it breaks any SSH and Samba Connection I have open. But if I place my hand on the STAT or USB HHD I can feel the discs spinning. (Had a barebone (no cover/shell) drive in the top SATA port before I replaced it with the GoFlex, and after issuing the poweroff command, I grabbed a hold of the SATA Drive (a little to hard, and not knowing it was still spinning) and caused the discs inside the grind (so that drive is toaste.) Any thoughts on why the poweroff (or even halt) command is not working properly?
Last edited by UberSlackr on Sun Feb 10, 2013 9:55 pm, edited 1 time in total.
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am

Re: Drives Not Powering Down (sleep)

Postby Socaltom » Sun Feb 10, 2013 9:50 pm

Then try hd-idle. It will also log when they are shutdown, so you can go back and see how effective its being.
Tom
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side

Re: Drives Not Powering Down (sleep)

Postby UberSlackr » Mon Feb 11, 2013 1:55 am

$this->bbcode_second_pass_quote('Socaltom', 'T')hen try hd-idle. It will also log when they are shutdown, so you can go back and see how effective its being.
Tom


Do you know where I might find some documentation on hd-idle. (did do a google search, but coming up empty)
Since I've never used it, I would like to read how to properly set up the conf file.
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am

Re: Drives Not Powering Down (sleep)

Postby Socaltom » Mon Feb 11, 2013 4:24 am

$this->bbcode_second_pass_quote('UberSlackr', '')$this->bbcode_second_pass_quote('Socaltom', 'T')hen try hd-idle. It will also log when they are shutdown, so you can go back and see how effective its being.
Tom


Do you know where I might find some documentation on hd-idle. (did do a google search, but coming up empty)
Since I've never used it, I would like to read how to properly set up the conf file.


Google found it for me?


http://hd-idle.sourceforge.net/
used to be owned by me
Pink Pogo V2, Black Pogo V3, Zyxel NAS 325 v1,
used to be Adminstrator for
Goflex net, Black V3, Black V2
Now I have a couple of raspberry pi ( 3+ and 4)
Socaltom
 
Posts: 571
Joined: Thu Apr 07, 2011 2:21 pm
Location: The left side
Top

Re: Drives Not Powering Down (sleep)

Postby UberSlackr » Mon Feb 11, 2013 4:39 am

$this->bbcode_second_pass_quote('Socaltom', '')$this->bbcode_second_pass_quote('UberSlackr', '')$this->bbcode_second_pass_quote('Socaltom', 'T')hen try hd-idle. It will also log when they are shutdown, so you can go back and see how effective its being.
Tom


Do you know where I might find some documentation on hd-idle. (did do a google search, but coming up empty)
Since I've never used it, I would like to read how to properly set up the conf file.


Google found it for me?


http://hd-idle.sourceforge.net/


My apologies.. it was udevil that I was searching documentation for and could not find it.
Again I apologize, and thank you for the link...
UberSlackr
 
Posts: 39
Joined: Mon Dec 24, 2012 6:29 am
Top


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 5 guests