How to switch off hard disk after boot
-
Most of the time the firewall is idle. Could save some electricity by switching off hard disk.
1. Can this be done temporarily when idle?
2. Can this be done permanently as in some linux distros that load the entire filing system to ram if you boot with "toram" boot code?
3. If not, where can I find the best forum for freebsd to have this considered as a feature?
-
We specifically disable drive power management because it has a bad habit of trashing drive heads on FreeBSD due to constant park/unpark load cycles.
If you're worried about power, get an SSD.
-
Alright, is there something I can do to at least not use the hard drive at all after boot, just like the "toram" boot code in some linuxes? Does the embedded version do that?
-
You can enable RAM disks for /tmp and /var but you can't ever disable the drive entirely.
-
There's something in my CMOS settings that suspends the hard disk after a given time if enabled. How does the embedded version of pfsense avoid writing to an SSD drive?
-
There is no embedded version as of 2.4.
But it essentially did what the option to put /tmp and /var in RAM did. Anything volatile goes in a RAM disk (logs, config files, status files, etc).
With modern high-quality hardware it really doesn't matter. Nothing to worry about, not worth the effort.
-
Any idea why the live CD is not available any more?
-
LiveCD was more trouble than it was worth. Seriously, just do a full install to a real drive (SSD or HDD) and let it go. There is nothing to be gained from all that fiddling on modern hardware.
The LiveCD, NanoBSD, and other such things were made obsolete by the advancement of technology. If they still had any value, they wouldn't have been removed.
-
I too am cheap on electricity, hate noise and heat but I have come to realize, with empirical data, than my past obsession with turning things off is been overtaken by very efficient electronics of today's. I use SSD everywhere except my main storage NAS of course, and fitted with NAS-rated mechanical drives which is designed to turn 24x7, taking less than 10w per 4TB drive.ย I tried at first to sleep these drives when idle but then parts of my system would balk and go into hissy-fit having to wait for asleep drives to wake up. It seems developers used to design for slow hard drives and built in wait loops but no longer, software expect storage to be ready to work the instant is called for and error out when not.ย I think if you insist you will bump into difficulties at every turn, and well ur on your own.
-
What NAS hardware would you recommend? Or perhaps NAS+pfsense? Or even NAS+pfsense+ADSL router?