Quantcast
Channel: Proxmox Support Forum
Viewing all articles
Browse latest Browse all 170615

PVE 3.2 ZFS plugin with Zfs-on-Linux

$
0
0
Hi,

I have a Debian server with Zfs-on-Linux and IET iscsi. I followed the wiki. here is storage.conf:

Code:

zfs: linux        blocksize 4k
        target iqn.2001-04.tr.xxx.xxx:elastics
        pool elastics
        iscsiprovider iet
        portal xxx.xxx.xxx.74
        content images

And Zfs list on storage server:

Code:

NAME                    USED  AVAIL  REFER  MOUNTPOINTelastics                782G  8.16T  318G  /elastics
elastics/backup          286G  8.16T  286G  /backup
elastics/logs          7.71G  8.16T  7.71G  /logs
elastics/mrtg          10.3M  8.16T  10.3M  /mrtg
elastics/vm-114-disk-1  34.0G  8.19T    72K  -
elastics/vm-114-disk-2  34.0G  8.19T    72K  -
elastics/vm-114-disk-3  34.0G  8.19T    72K  -
elastics/vm-114-disk-4  34.0G  8.19T    72K  -
elastics/vm-114-disk-5  34.0G  8.19T    72K  -

As you can see when I try to add a disk on this zfs storage it creates the zvol but gives error about iscsi target.: No such file or directory. at /usr/share/perl5/PVE/Storage/LunCmd/Iet.pm line 376. (500)
Code:

Mar 13 09:38:15 kvm47 pvedaemon[4411]: <root@pam> update VM 114: -virtio1 linux:32
Mar 13 09:38:16 kvm47 pvedaemon[4411]: WARNING: Use of uninitialized value $tid in concatenation (.) or string at /usr/share/perl5/PVE/Storage/LunCmd/Iet.pm line 371.

And on storage server here is the error logs:
Code:

ar 13 09:39:18 graylog2 kernel: [2504456.932896]  zd80: unknown partition table
Mar 13 09:39:19 graylog2 ietd: unable to create logical unit 0 in target 0: 2

So how can I solve this issue as I understand it can't create iscsi target on storage server?

Viewing all articles
Browse latest Browse all 170615

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>