tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "R. Richard Hirtler" <hirtler () colltech ! com>
To: tru64-unix-managers
Subject: SUMMARY: Question about array controllers and Tru64
Date: Fri, 27 Oct 2000 14:31:24 +0000	[thread overview]
Message-ID: <97265714511716.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: multipart/mixed; boundary="--B_3055487485_308269", Size: 7966 bytes --]

> This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

--B_3055487485_308269
Content-type: text/plain; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

Thanks to everyone who replied.

SOLUTION:

    (remember D0 =3D D000)
    (oh also where you have LUN that is actual unit number) so:
    unit number =3D D0 =3D D000 =3D Dx0y
    rz =3D rz(y as letter)( ( 8 * bus number) + x )
    where (y as letter) means if it is 0 then letter is a,
    1=3Db,2=3Dc,3=3Dd,4=3De,5=3Df,6=3Dg,7=3Dh
    So D0 =3D rza( (8*busnumber) + 0 )

    In this case I'm guessing that your HSZ is sitting on SCSI bus 5.

    So to continue D1 =3D D001 so
    rzb( ( 8* 5) + 0 ) =3D rzb40
    D102 is
    rzc( ( 8 * 5 ) + 1 ) =3D rzc41

Here is the solution worded differently:

    It's based on bus number first, then the D# is the target number, then
you
    apply the lun.  Formula is (Bus * 8) + SCSI target ID.  Throw your LUN
in
    and you have it.  So for your example, rz40 is on bus 5 so;
=20
    D0
    ( 5*8 ) + 0 =3D rz40
    40    + 0 =3D 40 =3Drz40
=20
    D102
    ( 5 * 8 ) +1 =3D 41 =3D rz41 add a LUN of 2 ({ 0...7} =3D { a...h }) and you
have
    rzc41

-Ric
-----=20
R. Richard Hirtler                      Senior Consultant/Northeast Region
hirtler@colltech.com                 Collective Technologies
-----
It is the province of knowledge to speak, and it is the privilege of wisdom
to listen.   =8BOliver Wendell Holmes, Sr.


ORIGINAL QUESTION:

>=20
> How does Tru64 map logical units on an array controller to a UNIX device?
>=20
> I have a HSZ70 and a 8200 running 4.0F.  The HSZ70 has the following unit=
s
> defined:
>=20
> LUN                                      Uses
> D0                                      M0
> D1                                    S1
> D100                                       S100
> D101                                     M101
> D102                                     M102
>=20
> These LUN devices map to rz devices in /dev.  I understand that MAKEDEV i=
s
> used to create the rz devices.  However, I am unclear on how the mapping =
is
> defined.
>=20
> For example, D0 maps to rz40.  D1 maps to rzb40.  The syntax for MAKEDEV =
might
> be:
>=20
>     # /dev/MAKEDEV rz40 rzb40
>=20
> But how does the system =B3know=B2 which LUN to map to which device?
>=20
> TIA,
>=20
> -Ric
> -----=20
> R. Richard Hirtler                      Senior Consultant/Northeast Regio=
n
> hirtler@colltech.com                 Collective Technologies
> -----
> It is the province of knowledge to speak, and it is the privilege of wisd=
om to
> listen.   =8BOliver Wendell Holmes, Sr.
>=20
>=20
>=20
>=20
>=20


--B_3055487485_308269
Content-type: text/html; charset="ISO-8859-1"
Content-transfer-encoding: quoted-printable

<HTML>
<HEAD>
<TITLE>SUMMARY: Question about array controllers and Tru64</TITLE>
</HEAD>
<BODY>
<FONT FACE=3D"Textile">Thanks to everyone who replied. <BR>
<BR>
SOLUTION:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;(remember D0 =3D D000)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;(oh also where you have LUN that is actual unit num=
ber) so:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;unit number =3D D0 =3D D000 =3D Dx0y<BR>
&nbsp;&nbsp;&nbsp;&nbsp;rz =3D rz(y as letter)( ( 8 * bus number) + x )<BR>
&nbsp;&nbsp;&nbsp;&nbsp;where (y as letter) means if it is 0 then letter is=
 a,<BR>
&nbsp;&nbsp;&nbsp;&nbsp;1=3Db,2=3Dc,3=3Dd,4=3De,5=3Df,6=3Dg,7=3Dh<BR>
&nbsp;&nbsp;&nbsp;&nbsp;So D0 =3D rza( (8*busnumber) + 0 )<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;In this case I'm guessing that your HSZ is sitting =
on SCSI bus 5.<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;So to continue D1 =3D D001 so<BR>
&nbsp;&nbsp;&nbsp;&nbsp;rzb( ( 8* 5) + 0 ) =3D rzb40<BR>
&nbsp;&nbsp;&nbsp;&nbsp;D102 is<BR>
&nbsp;&nbsp;&nbsp;&nbsp;rzc( ( 8 * 5 ) + 1 ) =3D rzc41<BR>
<BR>
Here is the solution worded differently:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;It's based on bus number first, then the D# is the =
target number, then you<BR>
&nbsp;&nbsp;&nbsp;&nbsp;apply the lun. &nbsp;Formula is (Bus * 8) + SCSI ta=
rget ID. &nbsp;Throw your LUN in<BR>
&nbsp;&nbsp;&nbsp;&nbsp;and you have it. &nbsp;So for your example, rz40 is=
 on bus 5 so;<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;D0<BR>
&nbsp;&nbsp;&nbsp;&nbsp;( 5*8 ) + 0 =3D rz40<BR>
&nbsp;&nbsp;&nbsp;&nbsp;40 &nbsp;&nbsp;&nbsp;+ 0 =3D 40 =3Drz40<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;D102<BR>
&nbsp;&nbsp;&nbsp;&nbsp;( 5 * 8 ) +1 =3D 41 =3D rz41 add a LUN of 2 ({ 0...7} =3D=
 { a...h }) and you have<BR>
&nbsp;&nbsp;&nbsp;&nbsp;rzc41<BR>
<BR>
-Ric<BR>
----- <BR>
R. Richard Hirtler &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Senior=
 Consultant/Northeast Region<BR>
hirtler@colltech.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Collective Technologies<BR>
-----<BR>
It is the province of knowledge to speak, and it is the privilege of wisdom=
 to listen. &nbsp;&nbsp;&#8212;Oliver Wendell Holmes, Sr.<BR>
<BR>
<BR>
ORIGINAL QUESTION:<BR>
<BR>
</FONT><BLOCKQUOTE><FONT FACE=3D"Textile"><BR>
How does Tru64 map logical units on an array controller to a UNIX device?<B=
R>
<BR>
I have a HSZ70 and a 8200 running 4.0F. &nbsp;The HSZ70 has the following u=
nits defined:<BR>
<BR>
<U>LUN &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;Uses &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>
</U>D0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;M0<BR>
D1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;S1<BR>
D100 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;S100<BR>
D101 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;M101<B=
R>
D102 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;M102<B=
R>
<BR>
These LUN devices map to rz devices in /dev. &nbsp;I understand that MAKEDE=
V is used to create the rz devices. &nbsp;However, I am unclear on how the m=
apping is defined.<BR>
<BR>
For example, D0 maps to rz40. &nbsp;D1 maps to rzb40. &nbsp;The syntax for =
MAKEDEV might be:<BR>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;# /dev/MAKEDEV rz40 rzb40<BR>
<BR>
But how does the system &#8220;know&#8221; which LUN to map to which device=
?<BR>
<BR>
TIA,<BR>
<BR>
-Ric<BR>
----- <BR>
R. Richard Hirtler &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Senior=
 Consultant/Northeast Region<BR>
hirtler@colltech.com &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Collective Technologies<BR>
-----<BR>
It is the province of knowledge to speak, and it is the privilege of wisdom=
 to listen. &nbsp;&nbsp;&#8212;Oliver Wendell Holmes, Sr.<BR>
<BR>
<BR>
</FONT><FONT SIZE=3D"1"><FONT FACE=3D"Geneva"><BR>
</FONT></FONT><FONT FACE=3D"Textile"><BR>
</FONT></BLOCKQUOTE><FONT FACE=3D"Textile"><BR>
</FONT>
</BODY>
</HTML>


--B_3055487485_308269--

                 reply	other threads:[~2000-10-27 14:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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