That's strange.  I have no useful input, but I'm simply chiming in to state
that we have much larger than 2TB iSCSI LUNs working fine, under CentOS 5.x
here.  I can't imagine CentOS 6.x would regress in that manner.

The only time I've seen something similar (especially the 0 byte size
export) is when we have neglected to give a specific initiator access to a
given LUN on the target side - the LUNs still show up, and you get a block
device - but it's zero length as shown here.  I don't believe it's the same
issue, but just tossing it out there!

I am assuming a 64bit kernel?

-Phil


On Sun, Dec 30, 2012 at 8:41 AM, Didenko <iru...@gmail.com> wrote:

> I have Segate Blackarmor 440 4x2TB HD in raid 5
>
> i create ISCSI device
> 5493 GB   0   Full Access
>
> service iscsi start
>
> iscsiadm -m discovery -t st -p 192.168.0.2
>
> fdisk -l no see new disk
>
> dmesg
>
> scsi5 : iSCSI Initiator over TCP/IP
> scsi 5:0:0:0: Direct-Access SCST_FIO BZ 200 PQ: 0 ANSI: 5
> sd 5:0:0:0: Attached scsi generic sg1 type 0
> sd 5:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B)
> sd 5:0:0:0: [sdb] 4096-byte physical blocks
> sd 5:0:0:0: [sdb] Write Protect is off
> sd 5:0:0:0: [sdb] Mode Sense: 83 00 10 08
> sd 5:0:0:0: [sdb] Write cache: enabled, read cache: enabled, supports DPO
> and FUA
> sd 5:0:0:0: [sdb] Attached SCSI disk
>
> [root@localhost ~]# sg_readcap --16 /dev/sdb
> Read Capacity results:
> Protection: prot_en=0, p_type=0, p_i_exponent=0
> Thin provisioning: tpe=0, tprz=0
> Last logical block address=18446744073709551615 (0xffffffffffffffff),
> Number of logical blocks=0
> Logical block length=512 bytes
> Logical blocks per physical block exponent=3
> Lowest aligned logical block address=0
> Hence:
> Device size: 0 bytes, 0.0 MiB, 0.00 GB
>
> [root@localhost ~]# sg_readcap --pmi /dev/sdb
> READ CAPACITY (10) indicates device capacity too large
> now trying 16 byte cdb variant
> Read Capacity results:
> Protection: prot_en=0, p_type=0, p_i_exponent=0
> Thin provisioning: tpe=0, tprz=0
> PMI mode: given lba=0x0, last lba before delay=0xffffffffffffffff
> Logical block length=512 bytes
> Logical blocks per physical block exponent=3
> Lowest aligned logical block address=0
> any help ?
>
> If i creat iscsi device little 2TB  .. i can join in Centos ..not any
> problem
> iscsi initiator last version
>
> --
> You received this message because you are subscribed to the Google Groups
> "open-iscsi" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/open-iscsi/-/GFxIhSKU2WMJ.
> To post to this group, send email to open-iscsi@googlegroups.com.
> To unsubscribe from this group, send email to
> open-iscsi+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/open-iscsi?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com.
To unsubscribe from this group, send email to 
open-iscsi+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/open-iscsi?hl=en.

Reply via email to