New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OMV 4 partitioner reserves too much space for swap #66
Comments
Swap by default should be the same size of the RAM. This is important if you want to hibernate your NAS. CentOS has a different recommendation for the swap partition size. It suggests swap size to be: Twice the size of RAM if RAM is less than 2 GB Otherwise, it recommends: If RAM is less than 1 GB, swap size should be at least the size of RAM and at most double the size of RAM |
Personally, I like the method that Armbian and Ubuntu (now) use - use a file for swap. Performance may not be as good but if you are swapping, your system is probably undersized for your needs. Using the file eliminates the need to deal with partitions and becomes a setting. |
Thanks for the comments. Can someone provide details on how the OMV 4 installer is deciding on swap size? Is it the default Debian setup behind this, or is it customized to be so eager? |
The OMV installer is the Debian installer. So, it is calculating the swap partition size. |
swap should define by user.when I install omv 4.x on pve, the swap is totally unnecessary. |
I think that a flag to ask to personalize the swap partition would be a very good thing! |
4.x is EOL, is it an issue affecting 5.x? |
@votdev are there plans to change current behavior? |
Closing because this should be addressed at the team owning Debian installer |
I had to use this workaround for OMV 5.5.11-1, on ESXi 7.0. After installation completed, I bumped the allocated memory back up, and it seems to be working just fine on a test box. |
I have HP Microserver Gen10. When installing OMV 4 the partitioner reserves 13,6GB for swap on the 16GB USB stick, which make the installation fail as there is not enough space left on /target (857MB) to copy all the files needed.
The server have 32GB RAM, so reserving anything over 4GB for swap seems unnecessary to me.
Same configuration with OMV 3 installs and works fine.
The text was updated successfully, but these errors were encountered: