It certainly looks like there was a problem with the "Read Capacity 16" request. Can you provide a wireshark or snoop trace of the failure?
-Peter Nathanael Burton wrote: > Hi, > > I'm having some problems accessing the full capacity of iscsi targets greater > than 2TB from my Linux clients. > > Background on my setup: > > Solaris 10U4 (x64) iSCSI target host (hostname: filestore) > - Dual-core Opeteron CPU > - 2 x 1Gb NICs > - 8 x 500GB SATA drives configured as RAIDZ2 ZFS pool > > CentOS 5 (x86_64) iSCSI initiator (Open-iSCSI v. 2.0.742) (hostname: shuttle) > - AMD AM2 CPU > - 1 x 1GB NIC > > ---- > > On the Solaris box (filestore): > 1. I created my RAIDZ2 pool with ZFS: > zpool create pool raidz2 c0t0d0 c0t1d0 c0t2d0 c0t3d0 c0t4d0 c0t5d0 c0t6d0 > c0t7d0 > > 2. Created a zvol: > zfs create -V 2.5T pool/iscsi > > 3. Shared it via iSCSI: > zfs set shareiscsi=on pool/iscsi > > 4. iSCSI Target details: > bash-3.00# iscsitadm list target -v > Target: pool/iscsi > iSCSI Name: iqn.1986-03.com.sun:02:68cc2dec-6716-491d-d06a-ea1bbf556eee > Alias: pool/iscsi > Connections: 1 > Initiator: > iSCSI Name: iqn.2005-03.com.redhat:01.91f2f51267f > Alias: shuttle > ACL list: > TPGT list: > LUN information: > LUN: 0 > GUID: 010000e08144f18200002a0047047538 > VID: SUN > PID: SOLARIS > Type: disk > Size: 2.5T > Backing store: /dev/zvol/rdsk/pool/iscsi > Status: online > > On my Linux box (shuttle): > 1. Start the iscsi daemon > service iscsi start > > 2. Discover the targets from filestore > iscsiadm -m discovery -t st -p 10.1.0.40 > > 3. Login to the target to present the disk to the OS > iscsiadm -m node -T > iqn.1986-03.com.sun:02:68cc2dec-6716-491d-d06a-ea1bbf556eee -p 10.1.0.40:3260 > --login > > 4. Disk shows up as /dev/sdd within Linux: > SCSI device sdd: 4294967296 512-byte hdwr sectors (2199023 MB) > > However, it should be 2.5TB rather than 2TB. I get the following errors when > I login to the target: > sdd : very big device. try to use READ CAPACITY(16). > connection22:0: iscsi: detected conn error (1002) > connection22:0: iscsi: detected conn error (1002) > *snip* > connection22:0: iscsi: detected conn error (1002) > connection22:0: iscsi: detected conn error (1002) > sdd : READ CAPACITY(16) failed. > sdd : status=0, message=00, host=2, driver=00 > sdd : use 0xffffffff as device size > SCSI device sdd: 4294967296 512-byte hdwr sectors (2199023 MB) > > > Anyone have any ideas? I figured I would start here first because the "READ > CAPACITY(16)" error message seems to indicate a potential incompatibility > with the iSCSI target and Linux Open-iSCSI initiator. Let me know if there's > any troubleshooting or diagnostics that I can perform. > > Thanks, > > mathrock > > > This message posted from opensolaris.org > _______________________________________________ > storage-discuss mailing list > [email protected] > http://mail.opensolaris.org/mailman/listinfo/storage-discuss > > _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
