Re: [linux-iscsi-users] 2TB+ LUNs?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard Sharpe wrote:
On Tue, Jan 27, 2009 at 12:57 PM, Mike Christie <michaelc@xxxxxxxxxxx> wrote:
Ray Van Dolson wrote:
Hello all, I'm running the iscsi-initiator-utils package v4.0.3.0
(included with RHEL4) and trying to link up to a 2TB LUN exported from
a RHEL5.2 machine using STGT (0.20070620snap).

The RHEL4 machine is running 32-bit while the RHEL5 machine is 64-bit.

When I log in to the target, I see the following in dmesg:

 iscsi-sfnet:host2: Session established
 scsi2 : SFNet iSCSI driver
 scsi: unknown device type 12
   Vendor: IET       Model: Controler         Rev: 0001
   Type:   RAID                               ANSI SCSI revision: 05
 Attached scsi generic sg2 at scsi2, channel 0, id 0, lun 0,  type 12
   Vendor: IET       Model: VIRTUAL-DISK      Rev: 0001
   Type:   Direct-Access                      ANSI SCSI revision: 05
 sdb : very big device. try to use READ CAPACITY(16).

This means that the kernel wanted to treat the device as larger than 2TiB.

 sdb : READ CAPACITY(16) failed.

It tried to send a READ CAPACITY (16) which is a 16-byte CDB. However,
the SCSI LLD that is the initiator has to set the size of the largest
CDBs it accepts, and the default is 12, as I recall.

It is 16 in RHEL 4.7 (I think we got this fixed in RHEL4 since .5).
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux SCSI]     [Linux RAID]     [Linux Clusters]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]

  Powered by Linux