[Bug 215235] Can't use iSCSI targets on AWS storage gateway

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Dec 11 23:08:44 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215235

            Bug ID: 215235
           Summary: Can't use iSCSI targets on AWS storage gateway
           Product: Base System
           Version: 10.3-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: rouslan at rshell.net
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

Hi,

I'm trying to mount volume from AWS storage gateway and getting following
errors (dmesg):

WARNING: 172.29.16.70 (iqn.1997-05.com.amazon:myvolume): connection error;
reconnecting
WARNING: 172.29.16.70 (iqn.1997-05.com.amazon:myvolume): truncated data segment
(20 bytes, should be 22)
WARNING: 172.29.16.70 (iqn.1997-05.com.amazon:myvolume): underflow mismatch:
target indicates 0, we calculated 512
(da1:iscsi1:0:0:0): READ(6). CDB: 08 00 00 00 01 00
(da1:iscsi1:0:0:0): CAM status: CCB request completed with an error
(da1:iscsi1:0:0:0): Retrying command
WARNING: 172.29.16.70 (iqn.1997-05.com.amazon:myvolume): connection error;
reconnecting
WARNING: 172.29.16.70 (iqn.1997-05.com.amazon:myvolume): truncated data segment
(20 bytes, should be 22)
WARNING: 172.29.16.70 (iqn.1997-05.com.amazon:myvolume): underflow mismatch:
target indicates 0, we calculated 512
(da1:iscsi1:0:0:0): READ(6). CDB: 08 00 00 00 01 00
(da1:iscsi1:0:0:0): CAM status: CCB request completed with an error
(da1:iscsi1:0:0:0): Error 5, Retries exhausted

The target tested from Windows and Linux and working good.

/etc/iscsic.conf:
myiscsi {
  targetaddress = 172.29.16.70;
}

iscsictl output:
root at backup:~ # iscsictl -L
Target name                          Target portal    State
iqn.1997-05.com.amazon:myvolume      172.29.16.70     Connected: da1

camcontrol output:
root at backup:~ # camcontrol devlist
<NECVMWar VMware IDE CDR10 1.00>   at scbus1 target 0 lun 0 (pass0,cd0)
<VMware Virtual disk 1.0>          at scbus2 target 0 lun 0 (pass1,da0)
<Amazon Storage Gateway 1.0>       at scbus3 target 0 lun 0 (da1,pass2)

Thanks in the advance,
Rouslan

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list