Volumes too big - how Autointaller works?

dmnc

Member
Sep 5, 2013
2
0
21
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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!