ISCSI Target Ubuntu
- by erai
I'm trying to setup iscsitarget on Ubuntu 12.04 but I can't connect to it. On the windows machine it says Target Error. with no other output.
My ietd.conf is
Target iqn.2012-06.com.org:virtual_machines.lun
Lun 0 Type=fileio,Path=/media/volume0/storlun0.bin
When I run iscsiadm -m discovery -t st -p localhost The output is
iscsiadm: Connection to Discovery Address 127.0.0.1 failed
iscsiadm: Login I/O error, failed to receive a PDU
iscsiadm: retrying discovery login to 127.0.0.1
iscsiadm: Connection to Discovery Address 127.0.0.1 closed
iscsiadm: Login I/O error, failed to receive a PDU
iscsiadm: retrying discovery login to 127.0.0.1
iscsiadm: Connection to Discovery Address 127.0.0.1 failed
iscsiadm: Login I/O error, failed to receive a PDU
iscsiadm: retrying discovery login to 127.0.0.1
iscsiadm: Connection to Discovery Address 127.0.0.1 failed
iscsiadm: Login I/O error, failed to receive a PDU
iscsiadm: retrying discovery login to 127.0.0.1
iscsiadm: Connection to Discovery Address 127.0.0.1 failed
iscsiadm: Login I/O error, failed to receive a PDU
iscsiadm: retrying discovery login to 127.0.0.1
iscsiadm: connection login retries (reopen_max) 5 exceeded
iscsiadm: Could not perform SendTargets discovery.
dmesg output:
[ 3324.804665] iscsi_trgt: Removing all connections, sessions and targets
[ 3325.875343] iSCSI Enterprise Target Software - version 1.4.20.3
[ 3325.875415] iscsi_trgt: Registered io type fileio
[ 3325.875420] iscsi_trgt: Registered io type blockio
[ 3325.875425] iscsi_trgt: Registered io type nullio