Hard drive spin down prevented by webmin & samba

Discussion and Technical Support for general software applications and utilities including OS related issues.
fpp
Member
Member
Posts: 54
Joined: July 28th, 2011, 9:27 pm

Re: Hard drive spin down prevented by webmin & samba

Postby fpp » September 8th, 2011, 8:48 pm

Thanks, but better spare your brains for a more worthy cause :-)

I've been trying to make sense of it too, but failed so far.
It doesn't seem matter if data has actually changed, and parity calculated, of if Update exits immediately. In the example above, DRU3 was the only one with new files, and it went to standby, while PPU0 stayed active. In other cases there had been no change at all, and all disks were spinning, etc.

On the software side, I have only a small part of what's in your guide : Webmin, VNC, Samba, and FlexRAID.
I don't see any process that could prevent the drives from spinning down... and if there were, wouldn't it also wake them again after I did it manually ?

Come to think of it, I did tinker with NFS exports in Webmin at one point. Maybe I should check that out...

fpp
Member
Member
Posts: 54
Joined: July 28th, 2011, 9:27 pm

Re: Hard drive spin down prevented by webmin & samba

Postby fpp » September 26th, 2011, 12:13 pm

Hi, me again...

After a long period of making do with this situation, yesterday I got irritated again and engaged in a more stubborn Google session than I previously had.

Delving through page after page of vague forum postings, I finally chanced upon a useful hint -- not an explanation, exactly, but at least a fix.

It seems this is a case of various parts of Ubuntu stepping onto each other's toes... namely, the GUI and the command line.

If you run the VNC remote GUI, in the System/Preferences menu there is a Power Management entry.

On that dialog is a check box named "Spin down hard disks when possible". By default it is unchecked.
The claim is that for some reason this is preventing the "hdparm -S XXX" command from taking effect...

Following the hint I checked the box, closed the dialog then issued a new round of hdparm commands.

And what do you know, it looks like the data disks are now obligingly spinning down all on their own :-)

Hope that helps,
fp

fpp
Member
Member
Posts: 54
Joined: July 28th, 2011, 9:27 pm

Re: Hard drive spin down prevented by webmin & samba

Postby fpp » October 1st, 2011, 8:57 pm

Note: as a bonus, I've just verified that this now even survives a reboot :-)

User avatar
Andy Horn
Knows their stuff
Posts: 188
Joined: July 24th, 2011, 6:14 pm
Location: Stockton on Tees

Re: Hard drive spin down prevented by webmin & samba

Postby Andy Horn » October 1st, 2011, 9:48 pm

Thanks for the heads up, it also worked for me.

Andy

fpp
Member
Member
Posts: 54
Joined: July 28th, 2011, 9:27 pm

Re: Hard drive spin down prevented by webmin & samba

Postby fpp » October 2nd, 2011, 4:59 pm

Glad to be of help. A simple fix, but tough to track down :-)

MasterCATZ
Member
Member
Posts: 1
Joined: April 2nd, 2017, 2:58 am

Re: Hard drive spin down prevented by webmin & samba

Postby MasterCATZ » April 2nd, 2017, 3:04 am

OMG

I have been trying to spin my drives down in ubuntu for a few years now

IT WAS WEBMIN


Thank You

Solved by adding these lines in
/etc/webmin/system-status/config

collect_interval=none
collect_notemp=1


Return to “Software - Applications and Operating Systems”

cron