[stgt] [linux-iscsi-users] 2TB+ LUNs?

Ray Van Dolson rvandolson at esri.com
Tue Jan 27 22:04:03 CET 2009


On Tue, Jan 27, 2009 at 12:57:28PM -0800, Mike Christie 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).
> >   sdb : READ CAPACITY(16) failed.
> >   sdb : status=1, message=00, host=0, driver=08 
> >   sdb : use 0xffffffff as device size
> >   SCSI device sdb: 4294967296 512-byte hdwr sectors (2199023 MB)
> >   SCSI device sdb: drive cache: write back
> >   sdb : very big device. try to use READ CAPACITY(16).
> >   sdb : READ CAPACITY(16) failed.
> >   sdb : status=1, message=00, host=0, driver=08 
> >   sdb : use 0xffffffff as device size
> >   SCSI device sdb: 4294967296 512-byte hdwr sectors (2199023 MB)
> >   SCSI device sdb: drive cache: write back
> >    sdb: unknown partition table
> >   Attached scsi disk sdb at scsi2, channel 0, id 0, lun 1
> >   Attached scsi generic sg3 at scsi2, channel 0, id 0, lun 1,  type 0
> > 
> > My question is -- are 2TB and larger LUNs supported with this
> > initiator?  If so, how?
> 
> The initaitor is just passing around data. Those messages come from the 
> scsi layer's sd_mod.
> 
> With RHEL4's iscsi/scsi code I have setup luns bigger than 2 TB. We have 
> a 4 TB one here.
> 
> There is a bug in RHEL4, where if you have exactly a 2 TB lun then it 
> will not get detected right (this is with iscsi, fc, spi).
> 
> ccding the stgt list to make sure that it supports large luns.
> 
> What vesion of RHEL is this? Is it 4.0 or 4.4?
> 

This is 4.7.  Hmm, maybe this is on the STGT side then.  I'll have to
tinker around with some different size combinations...

(Again, The STGT is running 5.2 x86_64)

Thanks,
Ray
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html



More information about the stgt mailing list