Proxmox 5.1 LVM-thin pool

Logik

Member
Apr 16, 2018
5
0
21
Hi,
So I am playing with proxmox 5.1. According to the documentation there is LVM thin (lvm thin pool) called data
> root@gcx-pve1:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data pve twi-aotz-- 10.25g 0.00 0.65
data1 pve Vwi-a-tz-- 10.25g data 0.00
root pve -wi-ao---- 4.75g
swap pve -wi-ao---- 2.38g

So I read:- Creating an extra LV for /var/lib/vz and created a LV on pve/data called data1. Made its entry in /etc/fstab to make is automount across reboots.

> /dev/mapper/pve-data1 11G 41M 9.5G 1% /var/lib/vz

From GUI, when even I check the second entry for local-lvm, it shows type as LVM thin. When even I go to its content tab, all the buttons like Restore, Remove, Templates etc are greyed out.

https00://snag.gy/svChMl.jpg

shouldn't thin additional storage be available to download templates etc on it?
 
So I read:- Creating an extra LV for /var/lib/vz and created a LV on pve/data called data1. Made its entry in /etc/fstab to make is automount across reboots.
this is only needed if you want a directory storage

From GUI, when even I check the second entry for local-lvm, it shows type as LVM thin. When even I go to its content tab, all the buttons like Restore, Remove, Templates etc are greyed out.
local-lvm is still the thin pool, if you mounted the lv on /var/lib/vz then 'local' is the right one
 
Alright, a simple question.

If I don't do anything with LVM thin pool (like creating LV on it & making FS over that LV etc), do proxmox uses that space for storing template etc out of box?

My main concern is, how do one uses the space assigned LVM thin pool?
 
If I don't do anything with LVM thin pool (like creating LV on it & making FS over that LV etc), do proxmox uses that space for storing template etc out of box?
no only for vm/container images

My main concern is, how do one uses the space assigned LVM thin pool?
for vm/ct images