Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Dec 2016 23:08:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 215235] Can't use iSCSI targets on AWS storage gateway
Message-ID:  <bug-215235-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215235

            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@FreeBSD.org
          Reporter: rouslan@rshell.net
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@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 seg=
ment
(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 seg=
ment
(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 =3D 172.29.16.70;
}

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

camcontrol output:
root@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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215235-8>