Creating LVM thin on top of iSCSi

Mogaba

New Member
Dec 12, 2023
5
0
1
Hello,

I have a server connected to an iSCSI storage with multipath. I created a LUN and made it available as a block device on the server. Now I want to set up LVM thin on top of this LUN, so I went to LVM-Thin -> Create: Thinpool in the GUI but there's an error: No Disks unused. How can I fix it?
 
PVE doesn't support LVM thin on top of iscsi out of the box. you can probably set it up manually, but you need to ensure to not share it across nodes, the LUN must only be accessible and used by a single node.
 
PVE doesn't support LVM thin on top of iscsi out of the box. you can probably set it up manually, but you need to ensure to not share it across nodes, the LUN must only be accessible and used by a single node.
Thanks, I managed to add LVM-thin using command line but I have one more question:
I already have a LUN with a shared LVM volume group for VMs and containers. As far as I understand I can create a thin pool in this volume group for a single server. But is it safe? Won't it mess with all my current VMs and containers?
 
Thanks, I managed to add LVM-thin using command line but I have one more question:
I already have a LUN with a shared LVM volume group for VMs and containers. As far as I understand I can create a thin pool in this volume group for a single server. But is it safe? Won't it mess with all my current VMs and containers?
no, you must not put a thin pool on a VG that is shared across nodes - that is very dangerous and can lead to data loss.