Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Chris Meadors <axp@clubneon.com>
To: axp-list@redhat.com
Subject: Re: LUN access?
Date: Thu, 13 Feb 2003 22:51:25 -0500	[thread overview]
Message-ID: <3E4C67BD.9050105@clubneon.com> (raw)
In-Reply-To: <20030214032338.F30366F69@tes-mail.jpl.nasa.gov>

Eugene Chu wrote:
> Hi Folks,
> 
> This may be a simple question that everyone already knows, but how do
> I access SCSI devices with multiple LUNs on a target ID?  I have a RAID
> with 3 LUNs (0, 1, 2) connected to an Adaptec 7899 HBA, which sees all
> 3 LUNs with the SCSI configuration utility, but I don't know how to
> address them from Linux (RH 7.2, kernel 2.4.9-32.5smp)  The LUN 0
> can be accessed as /dev/sdc, but I have been unable to get at LUNs 1
> and 2.  Is there some configuration I have to change?

The kernel has to be compiled to probe all LUNs.  After that is done it 
is a little confusing to find the devices.  If LUN 0 is /dev/sdc, LUN 1 
will usually get mapped to /dev/sdd.  I prefer devfs instead of static 
files.  devfs makes all the parts of the SCSI mapping painfully obvious 
(and if you run devfsd you'll have sym links to the obvious mappings).

-- 
Chris
1991 Convertible
(http://www.20bvert.com/)




  reply	other threads:[~2003-02-14  3:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-14  3:23 LUN access? Eugene Chu
2003-02-14  3:51 ` Chris Meadors [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-02-15  1:24 Eugene Chu
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox