home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sun4nl!tuegate.tue.nl!viper!raymond
- From: raymond@es.ele.tue.nl (Raymond Nijssen)
- Newsgroups: comp.unix.sysv386
- Subject: do SVR4.* SCSI drivers support LUNs ??
- Message-ID: <RAYMOND.92Dec15104408@cobra.es.ele.tue.nl>
- Date: 15 Dec 92 09:44:08 GMT
- Sender: root@tuegate.tue.nl
- Distribution: comp
- Organization: Eindhoven University of Technology, Eindhoven, The Netherlands
- Lines: 43
-
-
- We're trying to hook up a second ESDI drive to an Emulex MD21 SCSI<->ESDI
- convertor in a system running ESIX 4.0.4.
-
- This convertor supports 2 ESDI drives while occupying only one SCSI target
- address: it uses Logical Unit Numbers (LUNs) to address drive 0 and drive 1.
-
- It seems however that the ESIX SCSI driver does not support any other LUN than
- LUN 0 for each target. The scsi disk device names, c?t?d?s?, suggest the
- contrary because of the d? field.
-
- Looking at the minor device numbers of the corresponding devices, it
- appears that the format of the minor device numbers is:
-
- ......cc.tttssss
-
- Note that this leaves no room for addressing LUNs through minor device
- numbers, and what's more, it completely contradicts the format given in eg.
- /usr/include/sys/aha.h:
-
- * the host adapter minor device number is interpreted as follows:
- *
- * MAJOR MINOR
- * -------------------------------
- * | mmmmmmmm | ccc ttt ll |
- * -------------------------------
- *
- * m = major number assigned by idinstall
- * c = Host Adapter Card number (0-7)
- * t = target controller ID (0-7)
- * l = logical unit number (0-3)
-
-
- Needless to say, all this leaves me quite confused.
-
- Please help me with this, or should I just forget about using LUNs under SVR4?
-
- -Raymond
- --
- Raymond Nijssen | Eindhoven University of Techology
- phone: +31-40-473373 | Department of Electrical Engineering
- fax: +31-40-464527 | Design Automation Section (ES), room EH 7.16
- "WP is for morons" | PO. Box 513, 5600 MB Eindhoven, The Netherlands
-