Hello,
I've just done a new install of Proxmox onto a new server.
In the past on Proxmox 5, i have usually used an SSD drive as a LVM cache for the default pve volume, as that is installed onto a RAID-1 mirror. I then usually install my VM's onto this volume as I only have a few VM's running usually.
The commands used in the past are usually:
On Proxmox5 this has usually worked fine, on Proxmox6 I am having an issue after rebooting the server however. If i try to create a VM I get the following error:
If i run lvs -a I get the following output:
I am just wondering why setting up an LVM SSD Cache does not appear to be working for me on Proxmox6? and if this is easy to fix?
Regards
I've just done a new install of Proxmox onto a new server.
In the past on Proxmox 5, i have usually used an SSD drive as a LVM cache for the default pve volume, as that is installed onto a RAID-1 mirror. I then usually install my VM's onto this volume as I only have a few VM's running usually.
The commands used in the past are usually:
pvcreate /dev/sdc
vgextend pve /dev/sdc
lvcreate -L 100G -n CacheDataLV pve /dev/sdc
lvcreate -L 5G -n CacheMetaLV pve /dev/sdc
lvconvert --type cache-pool --poolmetadata pve/CacheMetaLV pve/CacheDataLV
lvconvert --type cache --cachepool pve/CacheDataLV --cachemode writeback pve/data
On Proxmox5 this has usually worked fine, on Proxmox6 I am having an issue after rebooting the server however. If i try to create a VM I get the following error:
Activation of logical volume pve/data is prohibited while logical volume pve/data_tmeta is active.
TASK ERROR: unable to create VM 100 - lvcreate 'pve/vm-100-disk-0' error: Aborting. Failed to locally activate thin pool pve/data.
If i run lvs -a I get the following output:
root@pve-tc:~# lvs -a
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
[CacheDataLV] pve Cwi---C--- 100.00g
[CacheDataLV_cdata] pve Cwi------- 100.00g
[CacheDataLV_cmeta] pve ewi------- 5.00g
data pve twi---tz-- 429.11g
[data_tdata] pve Cwi---C--- 429.11g [CacheDataLV] [data_tdata_corig]
[data_tdata_corig] pve owi---C--- 429.11g
[data_tmeta] pve ewi-a----- <4.38g
[lvol0_pmspare] pve ewi------- 5.00g
root pve -wi-ao---- 96.00g
swap pve -wi-ao---- 8.00g
I am just wondering why setting up an LVM SSD Cache does not appear to be working for me on Proxmox6? and if this is easy to fix?
Regards