Hi,
I have a server with two RAID1 Sets backed by a hardware raid controller. Both Raid1 partitions are formatted as LVM (not thin). What do I have to do, if I want create VM's with qcow2 disks on that storage? Is this even possible, as the documentation states that snapshots are not supported with LVM? Do I have to "convert" the LVM storage to LVM-thin?
I have a server with two RAID1 Sets backed by a hardware raid controller. Both Raid1 partitions are formatted as LVM (not thin). What do I have to do, if I want create VM's with qcow2 disks on that storage? Is this even possible, as the documentation states that snapshots are not supported with LVM? Do I have to "convert" the LVM storage to LVM-thin?
Code:
root@pve-io-01:~# pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 vg00 lvm2 a-- <216.99g <193.99g
/dev/sdb1 hdd lvm2 a-- <3.42t <3.34t
Code:
root@pve-io-01:~# vgs
VG #PV #LV #SN Attr VSize VFree
hdd 1 5 0 wz--n- <3.42t <3.34t
vg00 1 4 0 wz--n- <216.99g <193.99g
Code:
root@pve-io-01:~# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
data hdd -wi-ao---- 4.00g
home vg00 -wi-ao---- 5.00g
usr vg00 -wi-ao---- 5.00g
var vg00 -wi-ao---- 5.00g
Code:
root@pve-io-01:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content iso,snippets,vztmpl,rootdir,images
maxfiles 0
lvm: ssd_store
vgname vg00
content images,rootdir
shared 0
lvm: hdd_store
vgname hdd
content images,rootdir
shared 0
dir: templates
path /data/templates
content vztmpl,iso
prune-backups keep-all=1
shared 0
Code:
root@pve-io-01:~# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 223G 0 disk
├─sda1 8:1 1 4G 0 part /
├─sda2 8:2 1 2G 0 part [SWAP]
└─sda3 8:3 1 217G 0 part
├─vg00-usr 253:3 0 5G 0 lvm /usr
├─vg00-var 253:4 0 5G 0 lvm /var
├─vg00-home 253:5 0 5G 0 lvm /home
sdb 8:16 1 3.4T 0 disk
└─sdb1 8:17 1 3.4T 0 part
├─hdd-data 253:0 0 4G 0 lvm /data
Last edited: