[8101] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: SCSI and Luns

daemon@ATHENA.MIT.EDU (Kurt Garloff)
Mon Feb 14 10:50:55 2000

Date:   Mon, 14 Feb 2000 16:35:27 +0100
From: Kurt Garloff <garloff@suse.de>
To: Samuel.Blaise.Nichols@directory.reed.edu (Samuel Blaise Nichols)
Cc: linux-scsi@vger.rutgers.edu
Message-ID: <20000214163527.I14933@mobil.tue.nl>
Mail-Followup-To: Samuel.Blaise.Nichols@directory.reed.edu (Samuel Blaise Nichols),
	linux-scsi@vger.rutgers.edu
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
	protocol="application/pgp-signature"; boundary="VkVuOCYP9O7H3CXI"
In-Reply-To: <11014269@isis.reed.edu>


--VkVuOCYP9O7H3CXI
Content-Type: text/plain; charset=us-ascii

On Fri, Feb 11, 2000 at 04:51:11PM -0800, Samuel Blaise Nichols wrote:
> I have a dual lun SCSI device, lun 0 is a cd-rom, lun 1 is a optical 
> drive.  My problem is when Linux boots up it detects both luns and 
> assigns sda to lun 0 (the optical device).  But the optical device 
> doesn't quite work and I just want to use the CD-rom.  How do I re-map 
> sda to lun 0.

Don't!
SCSI CD-Roms are accessed via /dev/sr0,1,2,...

> I've tried removing with a "hot-swap" lun 1 and doing a 
> MAKEDEV sg but that doesn't work, any help would be appreaciated. 

Please read linux/Documentation/scsi.txt. It's not a very extensive and not
very well maintained document, but it will explain enough for you to get an
idea about the SCSI devices in Linux.

Regards,
-- 
Kurt Garloff  <garloff@suse.de>                          Eindhoven, NL
GPG key: See mail header, key servers         Linux kernel development
SuSE GmbH, Nuernberg, FRG                               SCSI, Security

--VkVuOCYP9O7H3CXI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE4qCC+xmLh6hyYd04RAZfCAJ9+3B+CasryuQo/VL09vzb8a8edJwCgngUO
Y9Epfm2OVdfetiQrD3HJaBg=
=VgvF
-----END PGP SIGNATURE-----

--VkVuOCYP9O7H3CXI--

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post