Re: Stock 2.6.4 with CONFIG_LBD=y and qla2xxx driver, reports wrong device size

James Bottomley
2004-03-24T21:28:33Z

On Wed, 2004-03-24 at 15:53, Terrence Martin wrote:
> I have a stock 2.6.4 kernel with CONFIG_LBD=y turned on in my kernel
> (confirmed via /proc/config.gz) but when the module is loaded I still get
>
> SCSI device sdb: 191162368 512-byte hdwr sectors (97875 MB)
> SCSI device sdb: drive cache: write through
> sdb:
>
> I expect to get 4,287,645MB as that is what my Infortrend RAID array is
> set up for a partition size. Is there something, in addition to the LBD
> support in 2.6 that I need to do with the SCSI driver itself, in the
> case the qla2300 drivers that come with 2.6.4, to allow larger than 2TB
> block devices?

This looks to be a failure of the device. It's obviously reporting a
size smaller than it actually is for some reason.

The LDB code has been successfully tested with SCSI on >2TB arrays.

James