* Lun 0
@ 2002-10-18 6:49 MShetty
0 siblings, 0 replies; 5+ messages in thread
From: MShetty @ 2002-10-18 6:49 UTC (permalink / raw)
To: linux-raid, linux-scsi
Hi,
Does lun 0 have any special significance ??
Thanks and Regards,
M Shetty
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Lun 0
@ 2002-10-18 14:30 Martin Peschke3
0 siblings, 0 replies; 5+ messages in thread
From: Martin Peschke3 @ 2002-10-18 14:30 UTC (permalink / raw)
To: MShetty; +Cc: linux-raid, linux-scsi
Hi,
yes.
E.g., the REPORT LUNS command might be issued to LUN 0 according to SCSI-3
in order to query information about the availability of other LUNs.
Regards,
Martin Peschke
MShetty <mranalini.shetty@patni.com>@vger.kernel.org on 10/18/2002 08:49:42
AM
Sent by: linux-scsi-owner@vger.kernel.org
To: linux-raid <linux-raid@vger.kernel.org>, linux-scsi
<linux-scsi@vger.kernel.org>
cc:
Subject: Lun 0
Hi,
Does lun 0 have any special significance ??
Thanks and Regards,
M Shetty
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Lun 0
[not found] <B9D57B41.43FC%mheinz@infiniconsys.com>
@ 2002-10-21 15:49 ` MShetty
2002-10-21 16:18 ` Doug Ledford
0 siblings, 1 reply; 5+ messages in thread
From: MShetty @ 2002-10-21 15:49 UTC (permalink / raw)
To: linux-scsi, linux-raid
Hi,
Thanks a lot for all the replies
A piece of code I am reading, sends the Inquiry cmd to lun 0 first and then to
the actual lun to be probed. As only SCSI devices have the concept of luns... I
think the 1st probe to lun 0 is to check if it is a SCSI device but... on 2nd
thought the same can be inferred by probing for lun n.
I have read something which says that some devices may mess up if probed for
luns > 0. Is this true ??
Thanks and Regards,
M Shetty
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Lun 0
2002-10-21 15:49 ` MShetty
@ 2002-10-21 16:18 ` Doug Ledford
0 siblings, 0 replies; 5+ messages in thread
From: Doug Ledford @ 2002-10-21 16:18 UTC (permalink / raw)
To: MShetty; +Cc: linux-scsi, linux-raid
On Mon, Oct 21, 2002 at 09:19:12PM +0530, MShetty wrote:
> Hi,
>
> Thanks a lot for all the replies
>
> A piece of code I am reading, sends the Inquiry cmd to lun 0 first and then to
> the actual lun to be probed. As only SCSI devices have the concept of luns... I
> think the 1st probe to lun 0 is to check if it is a SCSI device but... on 2nd
> thought the same can be inferred by probing for lun n.
No. SCSI devices, if present on a given target, must have something on
LUN 0. That item on LUN 0 doesn't have to be online, but it has to exist
and respond to the INQUIRY command. LUNs > 0 need not exist.
> I have read something which says that some devices may mess up if probed for
> luns > 0. Is this true ??
Yes. Absolutely. Lots of CD-ROM drives will hard lock when you try and
probe for LUNs > 0.
--
Doug Ledford <dledford@redhat.com> 919-754-3700 x44233
Red Hat, Inc.
1801 Varsity Dr.
Raleigh, NC 27606
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Lun 0
@ 2002-10-21 17:17 Bryan Henderson
0 siblings, 0 replies; 5+ messages in thread
From: Bryan Henderson @ 2002-10-21 17:17 UTC (permalink / raw)
To: MShetty; +Cc: linux-raid, linux-scsi
>A piece of code I am reading sends the Inquiry cmd to lun 0 first and then
to
>the actual lun to be probed. As only SCSI devices have the concept of
luns... I
>think the 1st probe to lun 0 is to check if it is a SCSI device
That doesn't make much sense. It's also true that only SCSI devices have
the concept of the SCSI Inquiry command. There's no interface with which
you could send an Inquiry command to a device which is not in some way
SCSI.
But I can imagine using such a sequence to distinguish the absence of a
particular logical unit from the absence of the entire physical unit. It
would be useful in problem diagnosis to know which of those is the case.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-10-21 17:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-18 6:49 Lun 0 MShetty
-- strict thread matches above, loose matches on Subject: below --
2002-10-18 14:30 Martin Peschke3
[not found] <B9D57B41.43FC%mheinz@infiniconsys.com>
2002-10-21 15:49 ` MShetty
2002-10-21 16:18 ` Doug Ledford
2002-10-21 17:17 Bryan Henderson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).