pvsvgslvspvresize /dev/sda3pvdisplay that new size is correctlvextend -l 100%FREE pve/data or lvextend -L +20G pve/dataWhen Proxmox cluster is used it is good to have the same storages on all nodes. It is needed for migration of LXC.
To add local-lvm storage to ZFS based node:
# create 50GB thin volume: zfs create -s -V 50G hddpool/lvm readlink /dev/zvol/hddpool/lvm ../../zd32
By default Proxmox adds global filter rule to lvm.conf to exclude all zvol and rbd devices
So add our /dev/zd32 to accept list:
devices { # added by pve-manager to avoid scanning ZFS zvols and Ceph rbds global_filter=["a|/dev/zd32|","r|/dev/zd.*|","r|/dev/rbd.*|"] }
pvcreate /dev/zvol/hddpool/lvm vgcreate pve /dev/zd32 # Create thin pool data volume lvcreate -l 100%FREE --type thin-pool --name data pve
And disable nodes restriction in Datacenter –> Storage –> local-lvm to have local-lvm visible on all cluster nodes.
zfs set volsize=200GB hddpool/lvm pvresize /dev/zd32 pvs lvresize -l 100%PVS pve/data lvs