Proxmox VE 6.0 - lvm-thin small metadata

Pavel Olenev

New Member
May 10, 2012
8
1
3
Faced with the following problem:
When I trying to create new thinpool over GUI (Disks - LVM-Thin - Create: Thinpool) it is created successfully/ But! Metadata size is only 120MiB

# lvs -a
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data_hdd data_hdd twi-aotz-- <3.64t 1.72 11.27
[data_hdd_tdata] data_hdd Twi-ao---- <3.64t
[data_hdd_tmeta] data_hdd ewi-ao---- 120.00m
[lvol0_pmspare] data_hdd ewi------- 120.00m
data pve twi-aotz-- <2.51t 0.00 0.17
[data_tdata] pve Twi-ao---- <2.51t
[data_tmeta] pve ewi-ao---- 15.81g
[lvol0_pmspare] pve ewi------- 15.81g
root pve -wi-ao---- 32.00g
swap pve -wi-ao---- 32.00g

Unfortunately there is no option in GUI to create data volume smaller then amount of free space, so when I try to extend metadata:

#lvresize --poolmetadatasize +15G data_hdd/data_hdd
Insufficient free space: 3840 extents needed, but only 0 available

Please tell me what is the correct order of creation thin-pool with bigger metadata space?
 
You can always create the thinpool on the command-line and then add it as a lvmthin storage to PVE.

I hope this helps!
 

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!