Greetings fellow Puppy users.
I have been playing with Puppy Linux for years, but this is my first serious use of it. It has been working beautifully as a basic home SMB server thanks to Slacko64's built-in SMB tools.
This is working great, but the HDD's keep sleeping by themselves after a period of no activity.
I heard that hdparm was the go-to utility on the command-line, but Puppy does not know anything about it. I have downloaded and installed a utility called PupControl(via the package manager) in the hope it would give me access to these settings, but it does not.
Can anyone recommend or point me to a PET that will allow me to change these HDD settings please? I need the drives to stay awake forever - never sleep, in other words. They are NAS drives, so are designed to run 24/7.
How to disable HDD sleeping? (Solved with hdparm)
What Puppy version?
Are you sure it does not have hdparm?
Xenialpup64 7.0.8.5 does.
In console type:
Should get all the command options for hdparm.
Use hdparm command to determine what is the current enter sleep mode timer value (APM LEVEL):
( This is for hard drive sda. Yours could be sdb, sdc, sdd, etc...)
Not sure what to use to change this, but one of the code options should do it.
Notice:
Some of those options are uppercase and lower case letters.
Are you sure it does not have hdparm?
Xenialpup64 7.0.8.5 does.
In console type:
Code: Select all
hdparm -help
Use hdparm command to determine what is the current enter sleep mode timer value (APM LEVEL):
Code: Select all
hdparm -B /dev/sda
Not sure what to use to change this, but one of the code options should do it.
Notice:
Some of those options are uppercase and lower case letters.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
hdparm explained...
http://www.linux-magazine.com/Online/Fe ... ith-hdparm
______________________________________________
http://www.linux-magazine.com/Online/Fe ... ith-hdparm
______________________________________________
@ bigpup - Slacko64 6.0.3 I did find hdparm afterall. One other website said I should be typing 'sudo hdparm....', but that always failed, so I dropped the 'sudo' from the start as in your examples, and it worked.
Spits back invalid number message.
Responded that spindown timer zero(off). It specifically said off in parenthesis, so I expect that is a good result.
@ don570 - thanks for the link. I have saved it for future reference.
Code: Select all
hdparm -B /dev/sda
Code: Select all
hdparm -S 0 /dev/sda
@ don570 - thanks for the link. I have saved it for future reference.