pfsense HD constant spin-up and spin down
-
@provels yes i have considered this but the default install of pfsense did not have this issue.
-
at system_advanced_misc.php
bottom of page.. what is your HD standby time set to?
-
@aciampoli Look on the bright side. Maybe it's finally dying! :)
-
Yeah you should be able to disable the spin-down as @chpalmer said above.
Or of you have a loud drive you can set /var and /tmp as ram drives. I've done that previously for exactly that reason and it leaves the drive spun-down almost all of the time. That's also a setting in Sys > Adv > Misc.
Steve
-
@chpalmer here is the section in system_advanced_misc.php
*$section->addInput(new Form_Select(
'harddiskstandby',
'Hard disk standby time',
$pconfig['harddiskstandby'],
['' => gettext("Always on")] + array_combine($opts, $vals)
))->setHelp('Puts the hard disk into standby mode when the selected number of minutes has elapsed since the last access.%1$s' .
'%2$sDo not set this for CF cards.%3$s', '<br />', '<strong>', '</strong>');$form->add($section);*
@stephenw10 any disadvantages in putting /var and /tmp in ram?
-
@stephenw10 made the changes to set /var and /tmp as ram drives, drive is still spinning up and down as we speak.
Adriano
-
@aciampoli What is the make and model of drive? I have seen several WD drives with excessive head parking issues (as short as 8 seconds. WD Green/Red models come to mind.
-
@aciampoli
Hmm, and it did apply those? It rebooted?You might have to removed the 'don't spin down' setting to allow it to spin down. Though in my case I did not.
You might have something else writing to the drive, maybe a Squid cache for example.
Steve
-
@provels seagate 500LM030-2E717D
@stephenw10 yes it applied and rebooted. -
Can you please try another PSU?
-Rico
-
@Rico No I don't think changing the PSU will do anything as a default PfSense install doesn't give me this issue.
-
A clean install does not do this? Does it remain spin down or spun up?
What packages are you running?
Steve
-
@stephenw10 correct, for testing I did a clean install on this computer and let it sit there, I didn't hear any spin ups/downs, but I cannot say what state it was in up or down.
As for packagesAvahi
iperf
openvpn-client-export
pfBlockerNG-devel
ShellcmdCurrently the system is not in prod, and is sitting on my lan, no traffic is going through it except for me using ssh/web portal
-
Logging from pfBlocker is what I would suspect there then. Though I would have expected that to be in /var and hence in RAM if you enabled that.
Steve
-
@aciampoli said in pfsense HD constant spin-up and spin down:
@chpalmer here is the section in system_advanced_misc.php
$section->addInput(new Form_Select(
'harddiskstandby',
'Hard disk standby time',
$pconfig['harddiskstandby'],
['' => gettext("Always on")] + array_combine($opts, $vals)
))->setHelp('Puts the hard disk into standby mode when the selected number of minutes has elapsed since the last access.%1$s' .
'%2$sDo not set this for CF cards.%3$s', '<br />', '<strong>', '</strong>');
$form->add($section);Your install looks broken..
-
Update from my end, I think I figured it out...
After @chpalmer last msg, I went back to the "Hard disk standby time" settings and it was set to 180, which even if the systems was using the 180 mins it still didn't make any sense as to why is was spinning up/down so quickly. What I did is set it back to Always on and after saving and rebooting there are no more spin ups or downs.thank you.