* SUMMARY: Question about array controllers and Tru64
@ 2000-10-27 14:31 R. Richard Hirtler
0 siblings, 0 replies; only message in thread
From: R. Richard Hirtler @ 2000-10-27 14:31 UTC (permalink / raw)
To: tru64-unix-managers
[-- 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>
(remember D0 =3D D000)<BR>
(oh also where you have LUN that is actual unit num=
ber) so:<BR>
unit number =3D D0 =3D D000 =3D Dx0y<BR>
rz =3D rz(y as letter)( ( 8 * bus number) + x )<BR>
where (y as letter) means if it is 0 then letter is=
a,<BR>
1=3Db,2=3Dc,3=3Dd,4=3De,5=3Df,6=3Dg,7=3Dh<BR>
So D0 =3D rza( (8*busnumber) + 0 )<BR>
<BR>
In this case I'm guessing that your HSZ is sitting =
on SCSI bus 5.<BR>
<BR>
So to continue D1 =3D D001 so<BR>
rzb( ( 8* 5) + 0 ) =3D rzb40<BR>
D102 is<BR>
rzc( ( 8 * 5 ) + 1 ) =3D rzc41<BR>
<BR>
Here is the solution worded differently:<BR>
<BR>
It's based on bus number first, then the D# is the =
target number, then you<BR>
apply the lun. Formula is (Bus * 8) + SCSI ta=
rget ID. Throw your LUN in<BR>
and you have it. So for your example, rz40 is=
on bus 5 so;<BR>
<BR>
D0<BR>
( 5*8 ) + 0 =3D rz40<BR>
40 + 0 =3D 40 =3Drz40<BR>
<BR>
D102<BR>
( 5 * 8 ) +1 =3D 41 =3D rz41 add a LUN of 2 ({ 0...7} =3D=
{ a...h }) and you have<BR>
rzc41<BR>
<BR>
-Ric<BR>
----- <BR>
R. Richard Hirtler &n=
bsp; Senior=
Consultant/Northeast Region<BR>
hirtler@colltech.com =
Collective Technologies<BR>
-----<BR>
It is the province of knowledge to speak, and it is the privilege of wisdom=
to listen. —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. The HSZ70 has the following u=
nits defined:<BR>
<BR>
<U>LUN &n=
bsp; =
&nbs=
p;Uses <BR>
</U>D0 &n=
bsp; =
&nbs=
p;M0<BR>
D1 =
&nbs=
p; S1<BR>
D100 &nbs=
p; &n=
bsp; =
S100<BR>
D101 &nbs=
p; &n=
bsp; M101<B=
R>
D102 &nbs=
p; &n=
bsp; M102<B=
R>
<BR>
These LUN devices map to rz devices in /dev. I understand that MAKEDE=
V is used to create the rz devices. However, I am unclear on how the m=
apping is defined.<BR>
<BR>
For example, D0 maps to rz40. D1 maps to rzb40. The syntax for =
MAKEDEV might be:<BR>
<BR>
# /dev/MAKEDEV rz40 rzb40<BR>
<BR>
But how does the system “know” which LUN to map to which device=
?<BR>
<BR>
TIA,<BR>
<BR>
-Ric<BR>
----- <BR>
R. Richard Hirtler &n=
bsp; Senior=
Consultant/Northeast Region<BR>
hirtler@colltech.com =
Collective Technologies<BR>
-----<BR>
It is the province of knowledge to speak, and it is the privilege of wisdom=
to listen. —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--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2000-10-27 14:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-10-27 14:31 SUMMARY: Question about array controllers and Tru64 R. Richard Hirtler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox