Proxmox ZFS over iSCSI

kalione

Member
Jan 6, 2021
1
0
6
36
Hello my friends, I need your help. I have created a Proxmox cluster with 3 nodes and I would now like to implement ZFS via iSCSI.

I have already created an iSCSI server and added it to my Proxmox cluster.

hilfe.PNG

Now I wanted to create a new VM, he is still doing that so far. But when I try to start the machine I always get an error:

Code:
()
kvm: -drive file=iscsi://212.37.XXX.XXX/iqn.2021-03.com.homelocal:disco01/1,if=none,id=drive-scsi0,format=raw,cache=none,aio=native,detect-zeroes=on: iSCSI: Failed to connect to LUN : Failed to log in to target. Status: Authorization failure(514)
TASK ERROR: start failed: QEMU exited with code 1


When I run this command "iscsiadm -m discovery -t sendtargets -p 212.37.XXX.XXX" on all nodes I get this:

212.37.XXX.XXX:3260,1 iqn.2021-03.com.homelocal:disco01

My storage config looks like this:

Code:
dir: local
        path /var/lib/vz
        content vztmpl,iso,snippets,rootdir,images
        prune-backups keep-all=1

zfs: iSCSI
        blocksize 4k
        iscsiprovider LIO
        pool POOL01
        portal 212.37.XXX.XXX
        target iqn.2021-03.com.homelocal:disco01
        content images
        lio_tpg tpg1
        nowritecache 1
        sparse 1

Can someone tell me what I'm doing wrong?


thank you for your help

danke