linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Doug Ledford <dledford@redhat.com>
To: MShetty <mranalini.shetty@patni.com>
Cc: linux-scsi <linux-scsi@vger.kernel.org>,
	linux-raid <linux-raid@vger.kernel.org>
Subject: Re: Lun 0
Date: Mon, 21 Oct 2002 12:18:57 -0400	[thread overview]
Message-ID: <20021021161857.GB28914@redhat.com> (raw)
In-Reply-To: <3DB421F8.438FF804@patni.com>

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
  

  reply	other threads:[~2002-10-21 16:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <B9D57B41.43FC%mheinz@infiniconsys.com>
2002-10-21 15:49 ` Lun 0 MShetty
2002-10-21 16:18   ` Doug Ledford [this message]
2002-10-21 17:17 Bryan Henderson
  -- strict thread matches above, loose matches on Subject: below --
2002-10-18 14:30 Martin Peschke3
2002-10-18  6:49 MShetty

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021021161857.GB28914@redhat.com \
    --to=dledford@redhat.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=mranalini.shetty@patni.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).