Hi,I am trying to run SCSI.Read6 tests on my iscsi target.I am able to login into my target and it shows up as a new sdb when I do fdisk -l.However when I run a test like SCSI.Read6, I get a failure :[Failed] INQUIRY command failed with sense. SCSI host error. Status=0xe Failed to read Block Device Characteristics page.
After waitng fo a while, I get the messege:Read Simple Passed.Then :[Failed] Read6 failed with wrong sense. Should have failed with ILLEGAL_REQUEST(0x05)/LBA_OUT_OF_RANGE but failed with sense: SCSI host error. Status=0xe(0x0f)/(0xffff)This error keeps repeating and the system becomes very slow till I issue a ^C.If I use my sda, which is the hard disk on my initiator as the target, then everything goes fine.Can someone guide me in the right direction ?
--
You received this message because you are subscribed to the Google Groups "libiscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to libiscsi+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi,On Mon, Jun 15, 2015 at 7:08 AM, Anirban Mishra <mishra....@gmail.com> wrote:Hi,I am trying to run SCSI.Read6 tests on my iscsi target.I am able to login into my target and it shows up as a new sdb when I do fdisk -l.However when I run a test like SCSI.Read6, I get a failure :[Failed] INQUIRY command failed with sense. SCSI host error. Status=0xe Failed to read Block Device Characteristics page.This failure is benign. It just means that during test setup, we could not read the Block Device Characteristics page from the device.This is not critical and the tests will still run, but as this is a somewhat important VPD page,For example, this is the VPD page that a kernel will use to query a device for what kind of block device it is.This is for example where the device can tell the kernel "I am a HDD / I am a SSD"So you should ask your vendor to add support for the Block Device Characteristics VPD page.But, the tests will still work. This is just a warning.
After waitng fo a while, I get the messege:Read Simple Passed.Then :[Failed] Read6 failed with wrong sense. Should have failed with ILLEGAL_REQUEST(0x05)/LBA_OUT_OF_RANGE but failed with sense: SCSI host error. Status=0xe(0x0f)/(0xffff)This error keeps repeating and the system becomes very slow till I issue a ^C.If I use my sda, which is the hard disk on my initiator as the target, then everything goes fine.Can someone guide me in the right direction ?Odd error.Please try to use the test tool to talk directly to the device instead of mounting it with open-iscsi.This will allow you to get some better and more detailed information about what is wrong with the device than what you get by using ioctl(SG_IO) on an open-iscsi device.So please re-run it but this timr do NOT mount the target/lun with open-iscsi.Instead connect directly using an iSCSI url.It would look something like this:iscsi-test-cu iscsi://10.0.0.1/iqn.my.iscsi-target/1 --test SCSI.Read6.* -V-V will print a lot more information about the test, what SCSI commands it will send, what it expects the result to be and what the device responded with.regardsronnie sahlberg