Posts by regis

    Hi all


    I have exactly the same problem :


    installed OMV 0.5.49 and iscsi plugin, configured a target with a disk in block mode, mounted it on Xenserver 6.2, created VMs, installed Oses, everything went fine.


    but after the reboot of my lab, the iscsi target has no lun anymore.


    the logs :


    Jun 30 00:41:36 ax2omv kernel: [ 863.930352] iSCSI Enterprise Target Software - version 1.4.20.2
    Jun 30 00:41:36 ax2omv kernel: [ 863.930449] iscsi_trgt: Registered io type fileio
    Jun 30 00:41:36 ax2omv kernel: [ 863.930451] iscsi_trgt: Registered io type blockio
    Jun 30 00:41:36 ax2omv kernel: [ 863.930453] iscsi_trgt: Registered io type nullio
    Jun 30 00:41:36 ax2omv kernel: [ 863.934512] iscsi_trgt: blockio_open_path(168) Can't open device /dev/sdb, error -16
    Jun 30 00:41:36 ax2omv kernel: [ 863.935002] iscsi_trgt: blockio_attach(295) Error attaching Lun 0 to Target iqn.2014-06.local.ax2omv:iqn.2014-06.org.openmediavault.tgt1
    Jun 30 00:41:36 ax2omv ietd: unable to create logical unit 0 in target 1: 16


    sdb disk is ok on the physical disks page, everything's seems ok but iscsi_trgt is unable to use the disk.


    thanks for your help