Would like to understand pve4.2 installer choices on hd partitioning.

Sensate

Member
Mar 19, 2015
3
0
21
Proxmox Rocks!

I installed a fresh 4.2 proxmox on my new shiny 2xcpu with 256gig ram and 800G pcie intel 3700 SSD. It works like an charm and even boots !

I used the "default" installation but i cant figure where the main part of harddisk space went ?
I can see about 87.94 Gig usable space in the GUI. I would like to increase that part if there is some "unused" space left. Seen the good proxmox lvm guides but I've would like to understand the "automatic" choice made by the installer (which i trust) before i tamper with it. Did the 256G ram made it create 126G /dev/shm ? lsblk command says 8gig swap , which is good , since my applications gonna be LXC with Apache SOlr and memory based index that never exceeds real RAM.

prompt>df -h
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
tmpfs 51G 9.3M 51G 1% /run
/dev/dm-0 95G 1.7G 88G 2% /
tmpfs 126G 63M 126G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 126G 0 126G 0% /sys/fs/cgroup
tmpfs 100K 0 100K 0% /run/lxcfs/controllers
cgmfs 100K 0 100K 0% /run/cgmanager/fs
/dev/fuse 30M 24K 30M 1% /etc/pve

root@pve2:~# vgdisplay

--- Volume group ---
VG Name pve
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 7
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 745.09 GiB
PE Size 4.00 MiB
Total PE 190742
Alloc PE / Size 186687 / 729.25 GiB
Free PE / Size 4055 / 15.84 GiB
VG UUID TlH9Lu-0j2K-Its8-z1Yt-SNPr-arAv-sbylL0

root@pve2:~# pvdisplay

--- Physical volume ---
PV Name /dev/nvme0n1p3
VG Name pve
PV Size 745.09 GiB / not usable 1.82 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 190742
Free PE 4055
Allocated PE 186687
PV UUID tYlgPv-yueL-h5hN-FBfa-CAwr-mldr-jaF9jW

root@pve2:~# lsblk

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
nvme0n1 259:0 0 745.2G 0 disk
├─nvme0n1p1 259:1 0 1007K 0 part
├─nvme0n1p2 259:2 0 127M 0 part
└─nvme0n1p3 259:3 0 745.1G 0 part
├─pve-root 251:0 0 96G 0 lvm /
├─pve-swap 251:1 0 8G 0 lvm [SWAP]
├─pve-data_tmeta 251:2 0 80M 0 lvm
│ └─pve-data 251:4 0 625.1G 0 lvm
└─pve-data_tdata 251:3 0 625.1G 0 lvm
└─pve-data 251:4 0 625.1G 0 lvm
 
Most of the space is now by default used for the lvm-thin volume (pve/data). You can resize it to free up some space in the volume group, then grow pve/root and run resize2fs on it. This way round should work online, but the other way round (shrinking the pve/root volume) will have to be done offline in case you ever need to revert.
 

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!