* LUN access?
@ 2003-02-14 3:23 Eugene Chu
2003-02-14 3:51 ` Chris Meadors
0 siblings, 1 reply; 3+ messages in thread
From: Eugene Chu @ 2003-02-14 3:23 UTC (permalink / raw)
To: axp-list
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?
thanks in advance for you assistance.
eyc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: LUN access?
2003-02-14 3:23 LUN access? Eugene Chu
@ 2003-02-14 3:51 ` Chris Meadors
0 siblings, 0 replies; 3+ messages in thread
From: Chris Meadors @ 2003-02-14 3:51 UTC (permalink / raw)
To: axp-list
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/)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: LUN access?
@ 2003-02-15 1:24 Eugene Chu
0 siblings, 0 replies; 3+ messages in thread
From: Eugene Chu @ 2003-02-15 1:24 UTC (permalink / raw)
To: axp-list
Thanks for all the inputs. I rebuilt my kernel with the option to
probe all SCSI LUNs, and that brought the additional LUNs on line.
Their assignment to device files were pretty straightforward as well;
LUN 0 went to /dev/sdc, LUN 1 went to /dev/sdd, LUN 2 went to /dev/sde.
eyc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-02-15 1:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14 3:23 LUN access? Eugene Chu
2003-02-14 3:51 ` Chris Meadors
-- strict thread matches above, loose matches on Subject: below --
2003-02-15 1:24 Eugene Chu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox