LVM Thin with shared storage

omgs

Renowned Member
Aug 19, 2016
80
5
73
58
Hi. I open a new thread following with my homemade cluster lab. I already have 3 nodes under virtualbox. The main node has a raw local disk and acts as iscsi server for that target, so its purpose is to have that shared storage for all nodes using the same target for all nodes and use the iscsi storage instead of a raw disk. I have created a thin pool provisioning and set the pve shared vg storages. The problem is that lvmthin doesn't seem to be supported even in shared lvm. I wonder, in order to test migrations and other stuff, what's the way to have a shared lvmthin without having to recreate every time a ct is migrated, which is currently happening.

Thanks in advance.
 
Hi @omgs,
The problem is that lvmthin doesn't seem to be supported even in shared lvm.
I think the word you want to use "especially" instead of "even". Using "LVM Thin" with multi-host access will lead to data loss/corruption.
what's the way to have a shared lvmthin
There is no way to safely use "LVM Thin". You must use regular/Thick LVM.

You may want to give this article a read: https://kb.blockbridge.com/technote/proxmox-lvm-shared-storage/
It goes into some details about LVM structure and limitations.

Cheers


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Hi @omgs,

I think the word you want to use "especially" instead of "even". Using "LVM Thin" with multi-host access will lead to data loss/corruption.

There is no way to safely use "LVM Thin". You must use regular/Thick LVM.

You may want to give this article a read: https://kb.blockbridge.com/technote/proxmox-lvm-shared-storage/
It goes into some details about LVM structure and limitations.

Cheers


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
Ok, thanks for your reply.