Shared Iscsi on mutltiple node

m.patz

New Member
Mar 28, 2021
4
0
1
25
Hello,

Sorry for the newby question but I want to be sure that I'll not destroy my (backuped ;) datas.

Is it safe to share the same Iscsi target on two clustered PVE nodes?

My provider say that it's dangerous to have two node connected to the same Iscsi target unless if the system allow it.

I used lvm on Iscsi, maybe zfs over Iscsi is a better setup ?

Regards
 
My provider say that it's dangerous to have two node connected to the same Iscsi target unless if the system allow it.
This needs cluster wide locking toö work correctly.
I used lvm on Iscsi, maybe zfs over Iscsi is a better setup ?
LVM over iSCSI works. We implemented proper cluster wide locking for that.

ZFS over shared iSCSI will never work (this is really dangerous).
 
Hello,
Thanks for your answer.
So the following config is save to run on both node ? (in /etc/pve/storage.cfg)
Code:
iscsi: CbSan
    portal san-dcX-XX.rpn.XXXX.net
    target iqn.20XX-01.net.XXXX:XXXXXX
    content images

lvm: Nextcloud
    vgname CbSan
    content rootdir,images
    shared 1

Regards
 
Last edited:
No, this is not safe! You need to set the 'base' storage for lvm:

Code:
lvm: Nextcloud
    vgname San
    base <iscsi-vol-id>
    content rootdir,images
    shared 1
 
Last edited:
Hum,
I suppose that I cannot change it once I already (badly) create the lvm on Iscsi :s.

I think my mistake was to select CbSan as volume group.
1617021247854.png

But if Select Isci as base storage I have the following error, how can I debug it ?
1617020921703.png
I use PVE 6.1-8


Regards
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!