I tried to find it with atop, but didn’t succeed with it, so I reinstalled OMV today.
One good way to figure out what is wrong is to reinstall from scratch. And then verify that the disks spin down.
Sorry for the late answer.
I wanted to avoid reinstallation. But I see I can't avoid it. Thanks.
It is possible that you have configured the S.M.A.R.T monitoring in OMV to check the drives every 10 minutes. Take a look to verify that it isn't so.
No, the S.M.A.R.T. time is set to 7300 seconds to do not obstruct HDDs spin down (7200 seconds). But, the rotation of the discs does not stop.
No, I have OMV only. But if you recommend something, I'll install it.
Please note I have played a lot with hd-idle and you should not use the original version, it's garbage and stops working after some time if you put your server in standby.
I installed it with a simple command: apt install hd-idle
Would this version be a garbage that should not be used?
It works perfectly for me so far. I am forced to use it since I installed OMV5, because the spin-down hasn’t worked.
To set individual spin-down times for HDDs, first reset times to 0 and then can set different times.
Example: hd-idle -i 0 -a sda -i 1800 -a sdb -i 3600
I hope it works.
Levi I'll let you know if I can get it working and how I did it.
I looked at the link you wrote, it doesn't seem difficult.
All right, look forward to the result. Thanks for trying to help.
Not trying to be harsh but I haven't worked on the plugin in over two years...
No, you were not rude at all to me, just honest. I just wanted to know whether it is worth the wait. I'm sorry for my writing is equivocal.
My friend (Google) who helps me with translation, doesn't know my mother tongue well. So, sometimes my thoughts are not exactly described.
Me too. I misunderstood your answer.
But I hope the developers respond at least.
Is there any hope that any developer will check and fix the plugin?
Please, answer at least sincerely.
An answer came in the meantime.
I have a similar problem with the Plex plugin and the same error message.
Something may have happened to the plugin recently.
Plex may have changed something.
It might help: the /etc/default/plexmediaserver environment file is not created.
I have tested this modification and the plugin could be installed in this case.
But I think you need to fix the plugin in a new version.
I just wanted to help you.
- clean omv install
- install plugin openvpn first time
- plugin creats /etc/openvpn folder
- enable plugin
- creates /openvpn/pki subfolder to store settings
- uninstall plugin
- remove /etc/openvpn (by user or other program)
- reinstall plugin openvpn
- plugin does not create /etc/openvpn folder
- does not notify user - no message
- enable plugin
- error thrown when you click apply "mkdir: cannot create directory ‘/etc/openvpn/pki"
- tries to create the pki subfolder, but it is unable to (openvpn folder is missing)
Solution I think:
- to create /etc/openvpn folder by user -> I did this and Openvpn works fine again. But this is not a real solution.
- to delete info that shows for plugin this is not the first installation.
So plugin creates the folder again if it is missing.
You can easily replace this if after uninstalled plugin delete /etc/openvpn folder.
I've made some OMV installations and now I know what's wrong with the plugin. (Normal PC based computer (HP Micro server), not a single board computer.)
The plugin creates /etc/openvpn folder at the first installation and creates the /pki folder at enabling.
Once the plugin is removed, will not create the /etc/openvpn folder next time when you reinstall it.
If the folder is missing, plugin does not warn you and in this way it is not able to create the pki folder at enabling.
Then we get that error message. This is not caused by version 4.0.2, indeed.
The previous version is the same and this is why installing did not help.
If I manually create /etc/openvpn folder, the plugin can be installed again without any problems.
What you suggested I made the command. The error message is the same.
How do I remove the installed version completely? (4.0.2)
The latest version of the OpenVPN plugin (4.0.2) cannot be enabled.
The following error always stops enabling:
Please, fix it. The previous version (4.0.1) had no such problem.