Volumes too big - how Autointaller works?

dmnc

Renowned Member
Sep 5, 2013
2
0
66
Hi, I'm installing PVE for the first time and I used provided boot CD with v. 3.1. After installation I'm not happy with LVM logical volumes and I'm considering just now to shrink them. Are size of the swap partition 1:1 calculated from total RAM? With 64 GB of RAM I've got 62 GiB swap. Next I want to shrink root volume too, because 96 GiB is too much when PVE is using 1 GiB at this moment. My drive size is only 1 TB and I think this is waste of disk space. Am I acting good? Thank you for your opinions.

edit: swapsize or maxswap parameters aren't working :(
 
Last edited:
Hi, I'm installing PVE for the first time and I used provided boot CD with v. 3.1. After installation I'm not happy with LVM logical volumes and I'm considering just now to shrink them. Are size of the swap partition 1:1 calculated from total RAM? With 64 GB of RAM I've got 62 GiB swap. Next I want to shrink root volume too, because 96 GiB is too much when PVE is using 1 GiB at this moment. My drive size is only 1 TB and I think this is waste of disk space. Am I acting good? Thank you for your opinions.

edit: swapsize or maxswap parameters aren't working :(

Try reinstalling and typing the following at the boot menu: linux ext4 maxroot=10 swapsize=20
http://www.jamescoyle.net/how-to/261-proxmox-advanced-install-settings

You could also resize your existing partitions with something like gparted.
http://gparted.sourceforge.net/download.php
 
Try reinstalling and typing the following at the boot menu: linux ext4 maxroot=10 swapsize=20
http://www.jamescoyle.net/how-to/261-proxmox-advanced-install-settings

You could also resize your existing partitions with something like gparted.
http://gparted.sourceforge.net/download.php

Yes, I did it, maxroot works, but swapsize or maxswap (as F2 help screen showed) is not working. Anyway swap is easy (swapoff, lvreduce, mkswap, swapon).

But I'm wondering about how autoinstall decided to have too much swap, this is my question :)
 
Another approach of installing Proxmox is, install it on a SSD say 60GB. That way you will get performance and you will have large HDD free up to store vm locally.