New LVM-thin pool creation

a.s.nurulin

New Member
Sep 1, 2020
12
0
1
40
Good time for all.

I was removed lv pve/data

But now I need to create new thin pool for disk images on other device called in the system as /dev/nvme0n1

root@pve03:~# pvdisplay
--- Physical volume ---
PV Name /dev/sda3
VG Name pve
PV Size <7.28 TiB / not usable 4.98 MiB
Allocatable yes (but full)
PE Size 4.00 MiB
Total PE 1907219
Free PE 0
Allocated PE 1907219
PV UUID gKXdIN-fpQm-n8Tz-Jzct-4srO-HCrT-h7hw1P

--- Physical volume ---
PV Name /dev/nvme0n1
VG Name nvme
PV Size <1.46 TiB / not usable <1.34 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 381546
Free PE 381546
Allocated PE 0
PV UUID LeyA0s-ds9B-xa1Q-iu6k-dM82-HZy7-quhYl5


I was read this instruction https://pve.proxmox.com/wiki/Storage:_LVM_Thin

and made commands:

root@pve03:~# lvcreate -l 95%FREE -n nvme0 nvme
root@pve03:~# lvconvert --type thin-pool /dev/nvme/nvme0

but when i tried to create new VM with lvm-thin drives there is no to select this space

What my mistake?
 
Last edited:
pvesm add lvmthin pve03_thin1 --thinpool nvme0 --vgname nvme --server pve03
 
Last edited:

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!