Incorrect SCSI target size on initiator

Submitted by justvaibhav
on August 9, 2009 - 1:49am

Hi All,

I have query regarding exposing SCSI target with file system & data on it. I am using 32-bit machine.

I tried exporting the SCSI target of size 200GB with File System already created on it. The initiator able to see the file system and data on it. But if I try to expose SCSI targets greater then 500GB then on initiator side the I am getting wrong device capacity. Also I got many disk partitions with different sizes created on that exported disk.

I also debugged this using Wire Shark. In the output of Wire Shark the READ CAPACITY reports correct disk size for 500GB disk. Also the block size is correct. But on initiator side I am getting wrong size. What could be the reason for this.

Please help me in solving this issue.

Thanks in advance.