From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.)
Subject: Re: HELP! How to create dev files for storgeworks -100304.336@compuserve.com (Claudia Schasiepen)
Date: 1995/06/12 [thread overview]
Message-ID: <3rig3t$5h9@nntpd2.cxo.dec.com> (raw)
In-Reply-To: 3r7mpm$us@dub-news-svc-6.compuserve.com
In article <3r7mpm$us@dub-news-svc-6.compuserve.com>, <100304.336@compuserve.com> writes:
>Hi,
>
>does somebody know how to calculate the minor numbers for devices
>which are connected to a HSZ40 storage works controller? I'm using
>KZTSA-AA as a SCSI adapter. I'm a bit confused with all the different
>LUNs ports and SCSI busses!
If you have V3.2A (or later) installed use the script /dev/MAKE_RAID_LUNS
and don't worry about it. For earlier versions, find one to send you
the script since it probably doesn't depend on anything particular
to V3.2.
For the logical unit 0 devices, just use the usual name:
rz#; # = (bus * 8) + target-id
For non-LUN 0 devices you want to find a way to include the logical
unit in the name without creating names that will conflict with
other device names. A common, but slightly broken convention is
to use the base drive number and then use a number for the logical
unit. For example, the logical units for rz8 become rz80, rz81, etc.
Unfortunately, you could have enough SCSI busses on a system to have
an rz80, rz81, etc.
The naming convention used by the MAKE_RAID_LUNS script is:
rz[b-h]#[a-h]
where, the first letter after the rz is the logical unit:
b = LUN 1
c = LUN 2
etc.
You don't need to use A for LUN 0, because that is just the
base rz# name.
If you need to calculate the minor device numbers:
(bus * 16384) + (target * 1024) + (LUN * 64) + partition
(This is documented in the SCSI(7) manual page.)
>Thanks a lot!
>
>Claudia
>
--
Alan Rollow alan@nabeth.cxo.dec.com
prev parent reply other threads:[~1995-06-12 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-06-08 4:00 HELP! How to create dev files for storgeworks -100304.336@compuserve.com (Claudia Schasiepen) 100304.336
1995-06-09 4:00 ` Nick Hill
1995-06-12 4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [this message]
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