Hi,
I have configured storage on Proxmox:
The storage appears to be connected correctly.
At the storage status page I can see status "Active".
I'm not sure if iSCSI is correctly configured on OMV side:
At the LUN tab of iSCSI target configuration I must select any existing ZFS volume but Proxmox storage is designed to create ZFS volumes via iSCSI.
Finally after VM creation I got an error:
Although on the OpenMediaVault ZFS volume "vm-100-disk-1" is created perfectly.
I have configured storage on Proxmox:
Code:
zfs: omv
iscsiprovider iet
target iqn.2017-05.net.xxxxxxx.pluto:omvsan
blocksize 4k
pool omvz
portal xxx.xxx.xxx.xxx
nowritecache 1
content images
sparse 1
The storage appears to be connected correctly.
At the storage status page I can see status "Active".
I'm not sure if iSCSI is correctly configured on OMV side:
Code:
<iscsitarget>
<enable>1</enable>
<extraoptions></extraoptions>
<authentication></authentication>
<targets>
<target>
<uuid>f0807e5d-a9d2-4edd-b178-e74d8b56a126</uuid>
<activation>2017-05</activation>
<identifier>omvsan</identifier>
<alias></alias>
<headerdigest>CRC32C</headerdigest>
<datadigest>CRC32C</datadigest>
<maxconnections>3</maxconnections>
<maxsessions>10</maxsessions>
<initialr2t>1</initialr2t>
<immediatedata>1</immediatedata>
<maxrecvdatasegmentlength>4096</maxrecvdatasegmentlength>
<maxxmitdatasegmentlength>4096</maxxmitdatasegmentlength>
<maxburstlength>262144</maxburstlength>
<firstburstlength>65536</firstburstlength>
<maxoutstandingr2t>1</maxoutstandingr2t>
<datapduinorder>1</datapduinorder>
<datasequenceinorder>1</datasequenceinorder>
<errorrecoverylevel>0</errorrecoverylevel>
<nopinterval>0</nopinterval>
<noptimeout>0</noptimeout>
<wthreads>8</wthreads>
<queuedcommands>32</queuedcommands>
<comment></comment>
<extraoptions></extraoptions>
<authentication></authentication>
<luns>
<lun>
<type>blockio</type>
<devicefile>/dev/zd0</devicefile>
<scsiid></scsiid>
<scsisn></scsisn>
<iomode>wt</iomode>
<id>0</id>
<uuid>aca20eaf-dd59-4136-833c-ba19873d83e5</uuid>
</lun>
</luns>
</target>
</targets>
</iscsitarget>
At the LUN tab of iSCSI target configuration I must select any existing ZFS volume but Proxmox storage is designed to create ZFS volumes via iSCSI.
Finally after VM creation I got an error:
Code:
TASK ERROR: create failed - 6: Parse error [LUN 0 Path=/dev/zd0,Type=blockio] at /usr/share/perl5/PVE/Storage/LunCmd/Iet.pm line 171.
Although on the OpenMediaVault ZFS volume "vm-100-disk-1" is created perfectly.