A while ago I added an NVME disk to my server, but it seems I created it as a normal LVM and not LVM Thin so I am unable to take snapshots or convert to qcow2. From reading the forums I had:
I have done:
And now I have:
However I am still unable to convert the disks to qcow2 or take snapshots. The VM's themselves still work (despite the dire warnings during the conversion).
At the same time, in the Webconfig, under Datacenter > pve, on the left where there are the disk icons I see 'local (pve)', 'local-lvm (pve)' and 'nvme_2g_1 (pve)'. However none of these contain my volumes that I have converted. On the right under Datacenter > pve > Disks > LVM-Thin I do see them.
How do I now get the VM's to be able to take snapshots? And how do I get them to show up again in Datacenter > pve, on the left in the nvme_2g_1 disk?
Code:
root@pve:~# lvs -o name,segtype nvme_2g_1
LV Type
vm-108-disk-0 linear
vm-111-disk-0 linear
vm-112-disk-0 linear
Code:
root@pve:~# lvconvert --type thin-pool nvme_2g_1/vm-112-disk-0
Thin pool volume with chunk size 64.00 KiB can address at most 15.81 TiB of data.
WARNING: Converting nvme_2g_1/vm-112-disk-0 to thin pool's data volume with metadata wiping.
THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.)
Do you really want to convert nvme_2g_1/vm-112-disk-0? [y/n]: y
Converted nvme_2g_1/vm-112-disk-0 to thin pool.
root@pve:~# lvconvert --type thin-pool nvme_2g_1/vm-108-disk-0
Thin pool volume with chunk size 64.00 KiB can address at most 15.81 TiB of data.
WARNING: Converting nvme_2g_1/vm-108-disk-0 to thin pool's data volume with metadata wiping.
THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.)
Do you really want to convert nvme_2g_1/vm-108-disk-0? [y/n]: y
Converted nvme_2g_1/vm-108-disk-0 to thin pool.
Code:
root@pve:~# lvs -o name,segtype nvme_2g_1
LV Type
vm-108-disk-0 thin-pool
vm-111-disk-0 linear
vm-112-disk-0 thin-pool
At the same time, in the Webconfig, under Datacenter > pve, on the left where there are the disk icons I see 'local (pve)', 'local-lvm (pve)' and 'nvme_2g_1 (pve)'. However none of these contain my volumes that I have converted. On the right under Datacenter > pve > Disks > LVM-Thin I do see them.
How do I now get the VM's to be able to take snapshots? And how do I get them to show up again in Datacenter > pve, on the left in the nvme_2g_1 disk?
Last edited: