From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by listman.redhat.com (Postfix) with ESMTP id BE0C93F32B for ; Thu, 13 Feb 2003 22:30:41 -0500 (EST) Received: (from mail@localhost) by int-mx1.corp.redhat.com (8.11.6/8.11.6) id h1E3Uf608544 for axp-list@listman.redhat.com; Thu, 13 Feb 2003 22:30:41 -0500 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id h1E3Uea08539 for ; Thu, 13 Feb 2003 22:30:40 -0500 Received: from lightning.hereintown.net (lightning.hereintown.net [141.157.132.3]) by mx1.redhat.com (8.11.6/8.11.6) with SMTP id h1E3Uef09238 for ; Thu, 13 Feb 2003 22:30:40 -0500 Received: from clubneon.clubneon.com ([141.157.136.7] helo=clubneon.com) by lightning.hereintown.net with esmtp (Exim 4.10) id 18jWYi-00088S-00 for axp-list@redhat.com; Thu, 13 Feb 2003 22:30:40 -0500 Message-ID: <3E4C67BD.9050105@clubneon.com> Date: Thu, 13 Feb 2003 22:51:25 -0500 From: Chris Meadors User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 X-Accept-Language: en-us, en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: LUN access? References: <20030214032338.F30366F69@tes-mail.jpl.nasa.gov> In-Reply-To: <20030214032338.F30366F69@tes-mail.jpl.nasa.gov> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Scanner: exiscan for exim4 (http://duncanthrax.net/exiscan/) *18jWYi-00088S-00*yv9FOvHo.NM* X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: 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/)