Hi, I just created a 10TB LUN with latest git for tgtd. And the initiator can successfully see that the disk is 10TB. Using ServiceActionIn/ReportCapacity16 correctly. My system is a 64 bit system, is your box 32 or 64 bit? regards ronnie sahlberg On Sun, Oct 31, 2010 at 7:49 AM, Robert Lawrence <robert@xxxxxxxxxxxx> wrote: > I recently attempted an upgrade from tgtd 1.0.5 to tgtd 1.0.10 on a server > with several multi-terrabyte arrays, but after the upgrade all the linux > initiators started giving complaints about unsupported sector sizes. > > I setup a test server and initiator client to try to figure out the problem, > and found that some change between 1.0.6 and 1.0.7 caused the breakage. My > test setup had an initiator which is a fresh stock centos 5.5 install. The > target server, had two arrays, one small to verify connectivity, that worked > in both 1.0.6 and 1.0.7, but the other, which was 6T in size did work in > 1.0.6 but not in 1.0.7. I dropped the size a couple times on the large > array until I got a sub 2T size, and that worked. One odd thing that I > noticed was that with several different sizes above 2T the client repeatedly > reported the sector size of 1229280288. > > Doing a diff on the documentation between 1.0.6 and 1.0.7 I didn't find > anything documented that would cause this. Any help in tracking down the > bug or what I need to do differently would be appreciated. > > Thanks, > Robert > > > results of my testing: > tgtd 1.0.6 > target: > Size: 5992339 MB > initiator: > Oct 30 13:33:24 vanilla kernel: sdb : very big device. try to use READ > CAPACITY(16). > Oct 30 13:33:24 vanilla kernel: SCSI device sdb: 11703787520 512-byte hdwr > sectors (5992339 MB) > > > tgtd 1.0.7 > target: > Size: 5992339 MB > initiator: > Oct 30 14:06:43 vanilla kernel: sdb : very big device. try to use READ > CAPACITY(16). > Oct 30 14:06:43 vanilla kernel: sdb : unsupported sector size 1229280288. > Oct 30 14:06:43 vanilla kernel: SCSI device sdb: 0 512-byte hdwr sectors (0 > MB) > > target: > Size: 2693804 MB > initiator: > Oct 30 14:16:25 vanilla kernel: sdb : very big device. try to use READ > CAPACITY(16). > Oct 30 14:16:25 vanilla kernel: sdb : unsupported sector size 1229280288. > Oct 30 14:16:25 vanilla kernel: SCSI device sdb: 0 512-byte hdwr sectors (0 > MB) > > target: > Size: 2199023 MB > initiator: > Oct 30 14:17:31 vanilla kernel: sdb : very big device. try to use READ > CAPACITY(16). > Oct 30 14:17:31 vanilla kernel: sdb : unsupported sector size 1229280288. > Oct 30 14:17:31 vanilla kernel: SCSI device sdb: 0 512-byte hdwr sectors (0 > MB) > > target: > Size: 1649267 MB > initiator: > Oct 30 14:18:15 vanilla kernel: SCSI device sdb: 3221225472 512-byte hdwr > sectors (1649267 MB) > > > -- > 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 > -- 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