Re: this list

"Knight, Frederick" <[email protected]> Mon, 24 Jan 2011 11:09:30 -0500
Newsgroups gmane.ietf.ips
Message-ID <AC32D7C72530234288643DD5F1435D530D97D8B6@RTPMVEXC1-PRD.hq.netapp.com>
On the other hand, it depends on what CHECK CONDITION you are getting.

Can you supply the full CDB and full response (all sense data including) - =
status, sense key, ASC/ASCQ, data (if any).

If you are sending a badly formed CDB, they the device is perfectly within =
its rights to return CHECK CONDITION - but when it does, it should also ret=
urn more info about what is wrong (and that will be down in the detailed bi=
ts of the returned sense data).

Invalid OP Code is not valid for a disk to return (as per previous comments=
), but INVALID FIELD IN CDB means you made a mistake.

	Fred Knight

-----Original Message-----
From: [email protected] [mailto:[email protected]] =

Sent: Monday, January 24, 2011 10:39 AM
To: [email protected]; [email protected]
Subject: Re: [Ips] this list

That's actually more of a generic SCSI question than an iSCSI question, but=
 anyhow ...

... if READ CAPACITY (10) doesn't work, try READ CAPACITY (16) [opcode 0x9E=
, service action 0x10].

OTOH, if READ CAPACITY (10) results in a Check Condition for invalid opcode=
, the target that issued that CC does not comply with the SCSI standards, a=
s support for READ CAPACITY (10) is mandatory for block devices in both the=
 SBC-2 standard and all drafts of the in-progress SBC-3 standard.

Thanks,
--David
----------------------------------------------------
David L. Black, Distinguished Engineer
EMC Corporation, 176 South St., Hopkinton, MA=A0 01748
+1 (508) 293-7953=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 FAX: +1 (508) 293-7786
[email protected]=A0=A0=A0=A0=A0=A0=A0 Mobile: +1 (978) 394-7754
----------------------------------------------------

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of fol=
kert
> Sent: Monday, January 24, 2011 8:30 AM
> To: [email protected]
> Subject: [Ips] this list
> =

> Hi,
> =

> Is this list available for generic iSCSI questions?
> =

> If so: some (linux iscsi target and window iStorageSErver) respond with
> valid data to Read Capacity(10) SCSI 0x25 command while for example
> nexenta store (an opensolaris system) responds with Check Condition.
> So I guess this is not the common way of determing the sector size and
> size of the device.
> Which command should I use for this?
> Thanks.
> =

> =

> Folkert van Heusden
_______________________________________________
Ips mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ips
_______________________________________________
Ips mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ips