Hello OMV community,
I'm sorry, I'm a long time user of Openmediavault and never took the time to register before now.
I own a little repair shop in france.
I use OMV for years and really love it.
I also tried others NAS alternatives including commercial ones (Synology) and open-source ones.
For exemple I find OMV superior to freeNAS because FreeNAS is too complex, ZFS is overkill and needs too much RAM, and also OMV is simple and reliable (a FreeNAS appliance doesn't support a unexepected loss of power.. OMV is much more resilient to it)
I have built a dozen of OMV appliances for both friends, personal use, relatives and even customers.
I mainly build them based on :
- taiwanese CFI A7879 ITX cases (and now A7979) with 4x hot swapable bays
- ITX boards
- tiny 16 GB SSD for hosting OMV os (i recently bought a lot of intel Optane 16GB NVMe ssds for a very low price which are perfect for hosting OMV)
Those setups are quite good performer, are cheap and reliable and don't consume a lot of power (between 15W idle to 40W at full charge)
I promise I'll present my setup in the appropriate section of the forum
After years of experience, I would like to share some settings that I found important for a home or small office use of OMV.
The aim is to get a longer life of hard disks, save power, and get a better life expectancy of the whole hardware.
1 advanced power management of disks
I prefer to set each disk "advanced power management mode" to 127 (intermediate power management with standby), and I would love this setting would be on by default.
In a home or small office setting, I see absolutely no reason why a disk would rotate all day or night even if nobody will access it for hours...
I may be wrong but to me, all disks inserted in a OMV setup should have their advanced power management mode set to 127..
2 scheduled on and off
There is no way to simply set a scheduled daily power on and off with OMV.
Of course yes, as of today you can go on the "power management" settings panel and add a scheduled power off.
But how to set a scheduled power on ? I can't pretend asking for people (friends / family) or small business customers to plug a display / keyboard, and set the "wake from S5" setting in the bios...
This is something that has made me prefer Synology appliances only because the setting was simple, and I was sure no energy would be wasted and the whole system and disk would have a best life expectancy over years...
I have long thought about it and here is the setting I use.
Here is an example for an office use of an OMV appliance (sheduled power on each day at 8:00, sheduled power off at 18:00)
As for the sheduled power off, this is straightforward :
- go to the "power management" panel of OMV then on the "sheduled jobs" tab
- add a scheduled job of type "shutdown", at exactly 18:00, every day (*)
As for the sheduled power on
this is a little bit complicated.
I found interesting infos here :
https://ragsagar.wordpress.com…-rtc-alarm-in-arch-linux/
I want the NAS to shut down at 18:00 and power on 14 hours later each at 8:00 week day.
On friday at 18:00 I want the NAS to shut down and power on 62 hours later at 8:00 on the monday.
Here is how I do it :
- on the first 4 "week day", 4 sheduled job sends each hour the rtcalarm a command to wake up 14 hours later.
- on friday, 1 sheduled job is set to send the rtcalarm a command to wake up 62 hours later.
The command is :
echo 0 > /sys/class/rtc/rtc0/wakealarm & echo `date '+%s' -d '+ 840 minutes'` > /sys/class/rtc/rtc0/wakealarm
The five sheduled jobs are as follow :
Please tell me if you find those settings useful.
Don't you think wether those settings may be on "by default" ? Should I make a feature request ?