From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078619210662.tru64-unix-managers.marc@archive.invalid> From: Bob Morningstar1 Date: Mon, 24 Nov 1997 23:28:00 +0000 To: tru64-unix-managers Subject: SUMMARY: HSZ40 controller question. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078619210662 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--==========_0000116D_6A56DC8D_009BDC61_==========" This message was generated by AlisaMail and is in MIME multipart/mixed format. If you are reading this text, you might want to consider changing to a mail reader that understands how to display multipart messages. --==========_0000116D_6A56DC8D_009BDC61_========== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Content-Disposition: inline My original problem was with DU not see devices added via the CFMENU utility on an HSZ40 controller. The solution was that I had initialized the containers, but had not assigned them unit designators. Enclosed is a excellent cheat sheet (with tons of examples) on adding and configuring SCSI devices to an HSZ40 controller. Thanks to the many who responded. Thanks to Larry for the handout. Bob --==========_0000116D_6A56DC8D_009BDC61_========== Content-Type: text/plain; charset="us-ascii" ; x-mac-type="54455854" ; x-mac-creator="3F3F3F3F" ; name="ccmail.txt" Content-Transfer-Encoding: Quoted-Printable Content-Disposition: attachment; filename="ccmail.txt" From=3A THE VIRGINIAN Date=3A Mon=2C Nov 24=2C 1997 7=3A54 AM Subject=3A hsz40=2Funix config guide To=3A Bob Morningstar1 SUBJECT=3A CONFIGURING HSZ40 DEVICES IN AN OSF=2F1 ENVIRONMENT Pag= e 1 I=3A BASIC STEPS In the HSxx Users Guide and in this document=2C the term container is u= sed to refer to any entity that is capable of storing data=2E This entity cou= ld be a single disk device or multiple disk devices configured into a multi=2Ds= torage array=2C such as a RAID=2D5 array=2C or a stripe array=2C or mirror arr= ay=2E These are the main steps in configuring HSZ40 containers for use by OSF= =2F1=2E Please refer to HS Family Array of Controllers Users Guide EK=2DHSFAM= =2DUG=2E It is available on node MAJERE=3A=3ASTORAGEWORKS=3A 1=2E Add disk devices =28storage containers=29 on the HSZ40 2=2E Configure RAID=2CSTRIPE=2C or MIRROR Sets =28storage container= s=29 on the HSZ40=2C if needed=2E 3=2E Initialize storage containers on HSZ40 4=2E Create HSZ40 Units from the storage containers=2C through the ADD Units CLI command or through CFmenu on the HSZ40 5=2E Create the device Special Files on OSF=2F1 System for each HSZ= 40 unit=2E 6=2E If system devices =28boot devices=29 are going to be used on t= he HSZ40=2C steps 1=2D4 must be completed before building the OSF=2F1 Softwa= re=2E Also=2C only HSZ40 units whose unit designators have a LUN which= is 0=2C can be used for system devices=2E The device special files wil= l be created for those devices by the installation procedures=2E Examples of HSZ40 units whose unit designators have LUN 0 are=3A D000=2C D0 =2C D100 =2C D200=2C etc=2E =0C P= age 2 II=3A TERMINOLOGY BA350=2DMA =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2B HOST =2B=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2B =7C Host =7C SCSI BUS n =7C SCSI ID a=2Cb=2Cc=2Cd =2D HSZ40 S= CSI ID 7 =7C =7C Adapter =7C >=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D> =7C SCSI ID= a=2Cb=2Cc=2Cd =2D HSZ40 SCSI ID 6 =7C =7C SCSI ID n =7C =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2B =7C =7C =7C SCSI PORTS 1 = =2D 6 =7C =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2B = =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2B KZTSA=2CKZMSA=2CKZPSA=2CPMAZC=2CETC DEVICE SCSI BU= SSES 1=2E HOST SCSI BUS =2D SCSI bus that connects the Host Adapter to the HSZ4= 0=2E a=2ESometimes called the =22front end=22 SCSI bus or the =22Host Side=22 = bus=2E 2=2E DEVICE SCSI BUS =2D SCSI bus that connects the HSZ40 to the devices= =2E a=2E Sometimes called the =22back end=22 SCSI bus or the =22Device Side= =22 bus=2E b=2E In the documentation=2C these busses are referred to as device ports= =2C which are numbered 1 =2D 6=2E The devices usually reside in a storage shelf= =2C BA=2D3xx=2E 3=2E HSZ40 SCSI IDs =2D HSOF version 2=2E0 and above=2E a=2E The HSZ40 can have from one to four Host Side SCSI IDs=2E These ID = numbers can be any ID between 0 and 7=2E However=2C the Host Side SCSI Host a= dapter also has a SCSI ID on this bus=2E The HSZ40=27s Host Side SCSI IDs mus= t be different than the Host Adapter=27s ID=2E Usually the Host Adapter wil= l have an ID of 7=2E However=2C this ID is usually configured through the Host S= ystem Console utilities and it may be something other than 7=2E The HSZ40=27= s Host Side IDs are set up through the HSZ40=27s Command Language Interface = =28CLI=29=2C which is accessed through the terminal port on the HSZ40=2E b=2E HSZ40 can have a Device Side SCSI ID of either 7=2C or 6=2E This ID= is dependent upon the physical slot of the controller shelf in which the HSZ40 has been installed=2E If the HSZ40 is plugged into the slot furthest from the Device Side S= CSI connectors=2C it has a Device Side ID of 7=2E If the HSZ40 is plugge= d into the physical slot closest to the Device Side SCSI connectors=2C it ha= s a Device Side ID of 6=2E In a dual controller configuration=2C one HSZ= 40 has a Device Side ID of 7=2C the other HSZ40 will have a Device Side ID o= f 6=2E 4=2E HSZ40 Storage Container =2D Single or Multi=2Ddevice Storage Set=2E 5=2E HSZ40 UNIT =2D This entity represents a storage container that is ava= ilable for use by the OSF=2F1 Host System=2E HSZ40 units are created from sto= rage containers=2E Until a storage container is created into a unit=2C the s= torage container is not available to the OSF=2F1 host system=2E a=2E HSZ40 UNIT DESIGNATOR =2D This entity is used by the HSZ40 to identi= fy a unique storage container to the host operating system=2E When an HS= Z40 storage container is created into a unit=2C the unit designator is ass= igned at that time=2E The unit designator consists of a Host Side SCSI Target ID and a Host Side LUN=2E These terms are defined further on in this section=2E =0C P= age 3 6=2E OSF=2F1 Disk Device =2D as used in reference to an HSZ40 System=2E An OSF=2F1 Disk Device is an OSF=2F1 entity that relates to an HSZ40 un= it=2E An OSF=2F1 Disk Device can be a single disk device container or a multi=2D= disk device container=2C depending upon the configuration of the HSZ40 unit = that relates to the OSF=2F1 disk device=2E The relationship between the HSZ40 unit and the OSF=2F1 disk device nam= e is made by invoking the OSF=2F1 utility=2C mknod=2E 7=2E SCSI TARGET ID =2D Unfortunately=2C the term Target ID as used in an= HSZ40 environment=2C refers to two different entities=2E There is one Targe= t ID as used on the Host Side Bus=2E There is another Target ID as used on= the Device Side Bus=2E a=2E Host Side Target ID =2D This is the SCSI ID number that is one of th= e four assigned Host Side SCSI ID=27s as used by the HSZ40=2E This Target ID= will be used by the host adapter to communicate with an HSZ40 that has this Target ID as one of its Host Side SCSI IDs=2E b=2E Device Side Target ID =2D This SCSI ID is used to communicate betwee= n the HSZ40 and the devices on the Device Side SCSI busses=2E It will be used by the HSZ40 to identify a unique device on one of the Device Side SCSI busses=2E As far as the user is concerned it will only be u= sed when configuring devices on the HSZ40=2E 8=2E LUN =2D Logical Unit=2E Again=2C the term LUN refers to two differe= nt entities in a HSZ40 environment=2E There is the term LUN as used on the Host Side Bus=2E I=27ll refer to= this LUN as the Host Side LUN=2E The other LUN that is used in an HSZ40 environment is that used on the Device Side SCSI Bus=2E This will be called the Device Side LUN=2E a=2E Host Side LUN =2D This entity is part of the HSZ40 Unit Designator= =2E It will be used by the host operating system to identify a unique HSZ40 unit=2E b=2E Device Side LUN =2D In the current versions of the HSZ40 software=2C= this LUN is always 0=2E The Device Side Target ID and the Port number are t= he only entities that are currently used by the HSZ40 to identify a uniqu= e device on the Device Side SCSI Bus=2E =0C P= age 4 III=3A SPECIFIC PROCEDURES The Host Side SCSI bus is the SCSI bus that connects the HSZ40 to the Host System Adapter=2E It has a SCSI Bus number that is dependent upon the physical I=2FO location of the SCSI Host Adapter=2E This SCSI Bus number can be determined from the OSF=2F1 uerf utility=2C by entering the following OSF command=2E uerf =2DR =2Do full =2Dr 300 =7C more EXAMPLE=3A ****************************** ENTRY 21=2E *************************= ****** =2D=2D=2D=2D=2D EVENT INFORMATION =2D=2D=2D=2D=2D EVENT CLASS OPERATIONAL EVENT OS EVENT TYPE 300=2E SYSTEM STARTUP SEQUENCE NUMBER 0=2E OPERATING SYSTEM DEC OSF=2F1 OCCURRED=2FLOGGED ON Tue Jan 31 17=3A34=3A56 1= 995 OCCURRED ON SYSTEM bellyup SYSTEM ID x00000009 CPU TYPE=3A DEC 2100 SYSTYPE x00000000 MESSAGE Alpha boot=3A available memory from _0xbd2000 to 0xfffe000 DEC OSF=2F1 T3=2E2=2D4 =28Rev=2E 1= 85=29; Tue Jan _24 17=3A31=3A18 EST 1995 physical memory =3D 256=2E00 megaby= tes=2E available memory =3D 235=2E58 megab= ytes=2E using 975 buffers containing 7=2E61 _megabytes of memory Firmware revision=3A 3=2E9 PALcode=3A OSF version 1=2E35 ibus0 at nexus AlphaServer 2100 4=2F200 cpu 0 EV=2D4s 1mb b=2Dcache gpc0 at ibus0 pci0 at ibus0 scsi0 at psiop0 rz0 at scsi0 bus 0 target 0 lun 0 = =28DEC _ RZ28 =28C=29 DEC T436=29 pza0 at pci0 slot 7 scsi2 at pza0 rz18 at scsi2 bus 2 target 2 lun 0 _=28DEC HSZ40 =28C=29 DEC V= 20Z=29 ************************************************************************* NOTICE=3AThere is an external SCSI Host Adapter named pza0 at pcio slot 7= =2E It is attached to SCSI bus number 2 =28scsi2=29=2E There is an OS= F=2F1 disk volume with the name of rz18 that was detected on this bus through an HSZ40=2E This information is obtained from the previous error l= og information=3A pza0 at pci0 slot 7 scsi2 at pza0 rz18 at scsi2 bus 2 target 2 lun 0 _=28DEC HSZ40 =28C=29 DEC V20Z=29 =0C P= age 5 The information from the error log entry shows that the autoconfig routines in the OSF=2F1 system startup can access the unit=2E However=2C = this does not necessarily mean that the users of this system will be able to access the unit=2E The special files that associate a unit with a name ma= y not have been created or they may have been created incorrectly=2E In order to see a unit on an HSZ40 from the startup procedures=2C the unit information must be in the OSF=2F1 configuration file=2E Also=2C in= OSF=2F1 versions up to and including V3=2E2=2D4=2C the name must be in the follow= ing format=3A =22rznnn=22=2C where =22nnn=22 are numeric characters=2E An example from a configuration file=3A disk device rz18 at scsi2 drive =22N=22 In the above example the =22rz18=22 is the OSF=2F1 device name=2E In the above example=2C the =22N=22 represents a drive number and is dete= rmined from the following components=3A 1=2E Host SCSI Bus number 2=2E HSZ40 Unit Designator The following formula is used to determine the drive number =28 64 * Host Side Bus =23 =29 =2B =28 8 * Target ID =29 =2B LUN The Target ID and LUN are determined from the HSZ40 unit designator=2E More on the Target ID and LUN later=2E The device name does not necessarily have to be in the format rznnn=2E Ho= wever some utilities may not recognize the name if this format is not used=2E M= ore on the name format latter=2E In order for the users of this system to access the unit by using the nam= e =22rz18=22=2C the device special files associated with this name must have the correct major and minor numbers=2E The major number for units accessed through an HSZ40 must be =228=22=2E This number is used by the= Common Access Method =28CAM=29 device driver=2E The minor number will identify= the individual unit accessed by the CAM device driver=2E This minor number = will be derived from the following components=3A 1=2E HOST ADAPTER SCSI BUS NUMBER 2=2E HSZ40 UNIT DESIGNATOR If the major and minor number are not correct=2C the unit will not be ab= le to be accessed from the OSF=2F1 system=2E The OSF=2F1 device name can b= e in any format=2C however as was stated before; some utilities may not recognize the OSF=2F1 name if it is not a specific format=2E The OSF=2F1= iostat utility is one utility that only recognizes a specific format of rznn=2C where =22nn=22 is a number=2E However=2C just because iostat doesn=27t recognize a name format doesn= =27t mean that the users of the system can=27t use a =22non numeric=22 name format= =2C only that some utilities may not recognize a =22non numeric=22 format=2C such= as a device name =22drivea=22=2E =0C P= age 6 III=2DA=3A CONFIGURING UNITS ON THE HSZ40=2E =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2B =7C HSZ40 CONTROLLER =7C =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2B =7C =7C =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2B =7C DEVICE BUS 1 DEVICE BUS 2 DEVICE BUS 6=7C =7C SCSI PORT 1 SCSI PORT 2 SCSI PORT 6=7C =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2B =7C =7C =7C =7C =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2B =7C 6 5 4 3 2 1 0 =7C =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2B =7CPWR RZ28 RZ28 RZ28 RZ28 RZ28 RZ28 RZ28 =7C =7C =2B=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D= =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2D=2B DEVICE STORAGE SHELF In the above diagram=2C there is a storage shelf connected to SCSI Port= 1 on the HSZ40=2E Each physical slot in the storage shelf is assigned a SCSI =22ID=22 number=2C this would be the Device Side Target ID=2E In = a =22non split=22 bus configuration=2C the target ID=27s in a device storage shelf are nu= mbered 0 =2D 6=2C from right to left; as viewed from the the front of the stor= age shelf=2E In a single HSZ40 configuration=2C SCSI ID 7 or 6 is used by t= he HSZ40=2E In a dual HSZ40 configuration=2C SCSI IDs 6 and are used by the HSZ40= =2E In a dual controller configuration=2C no SCSI devices can be plugged in= to storage shelf slots that have an ID of 6=2E In a single controller configuration=2C if a controller is plugged into the controller shelf s= lot that uses SCSI ID 6=2C no SCSI devices can be plugged into storage shel= f slots that have that same ID of 6=2E The first step in making a disk unit on the HSZ40 is to configure a dis= k device=2E This is done by giving the disk device a name and then assoc= iating that name with SCSI information that will allow the HSZ40 to relate the name to a =22device bus=22 and a =22target=22 on that bus=2E In the do= cumentation you may see the disk =22name=22 defined as a =22container=2Dname=22=2E The configuring of a disk device is done by =22adding=22 a disk=2E Ther= e are three ways of adding a disk device=3A 1=2E Through the =22add disk=22 HSZ40 CLI command 2=2E Through the =22config=22 utility on the HSZ40 3=2E Through the =22cfmenu=22 utility on the HSZ40 The config and cfmenu utilities invoke the add disk command=2E There is a fourth method=2C but it uses the HSZterm layered product utility=2C which will not be be used in this document=2E It requires th= at a running OSF=2F1 system be connected through the terminal port on the = HSZ40=2E The creation of disk devices uses the =22Port Target Lun =22=28PTL=29 n= aming convention=2E The =22Port=22 refers to the Device SCSI Port=2E The =22= Target=22 refers to the =22target=22 ID number of the storage shelf associated with the = physical slot that contains the device=2E The =22LUN=22 is always =220=22=2C in = the case of the HSZ40=2E =0C P= age 7 The disk name can be up to nine characters=2C see the HSx users guide for restrictions=2E The name is referred to as =22container=2Dna= me=2E=22 The standard convention for the name is to use the following format=3A =22DiskPTL=22=2C an example is Disk100=2E The =22P=22 refers to the SCSI Bus Port number=2E The =22T=22 refers to the SCSI ID number represented by the physical sl= ot location in which the device is located=2E The =22L=22 is the LUN number=2E In the case of the HSZ40=2C the LUN is= always 0=2E Name Port Target Lun Disk100 1 0 0=2E The format of the HSZ40 CLI command that would be used would be=3A hsz40> add disk =22name=22 Port Target Lun EXAMPLE=3A hsz40>add disk disk100 1 0 0 However=2C you could assign any container name you wished=2E Example Name Port Target Lun DEV1 1 0 0=2E EXAMPLE 2=3A Consider another storage shelf connected to SCSI Port 6 and there was a disk in slot ID 5 of that shelf=2E You would add the disk using t= he standard name format with the following HSZ40 command=2E hsz40>add disk disk650 6 5 0 Name Port Target Lun Disk650 6 5 0=2E The config and cfmenu utilities automatically scan all DEVICE SCSI Port= s connected to the HSZ40 Ports and configures all disks located in any storage shelves connected to those ports=2E These utilities use the PTL= name format=2E =0C P= age 8 To view devices on the HSZ40=2C use the following CLI command=3A hsz40>show devices This would show the following=3A Name Type Port Target Lun Used By _________________________________________________________________________= _ Disk100 Disk 1 0 0 Disk650 Disk 6 5 0 _________________________________________________________________________= _ The =22used by=22 field refers to any =22containers=22 that are using th= e device=2E These containers could be=3A 1=2E STRIPE Set Containers 2=2E RAID 5 Containers 3=2E Single Device Containers =0C Pag= e 9 III=2DA=2E1 TRANSPORTABLE vs=2E NOTRANSPORTABLE When a single device container is created it can be defined as transpor= table or notransportable=2C the default is NOtransportable=2E This option is specified in the =22ADD DISK=22 command=2E hsz40>Add Disk Disk100 1 0 0 Transportable or NOtransportable A NOtransportable disk uses some of the disk space for metadata that is used by the HSZ40=2E A device that is specified as NOtransportable will= have a few less blocks available for user data=2E Refer to the HSxx users gu= ide for more information on transportable=2Fnotransportable=2E =0C Pag= e 10 III=2DB=3A MULTI DEVICE CONTAINERS If RAID or STRIPE or MIRROR containers are going to be created=2C then t= he disk devices must first be configured=2E After disk devices are added= =2C RAID or STRIPE or MIRROR containers can be configured from single disk contai= ners=2E To create a RAID container=2C the ADD RAID command will be used=2E To c= reate a STRIPE container=2C the ADD STRIPE command will be used=2E The format of the commands are=3A hsz40>add raid =22container=2Dname=22 =22list of disk devices=22 hsz40>add stripe =22container=2Dname=22 =22list of disk devices=22 The =22container=2Dname=22 has the same restrictions as the disk names= =2E See the HSxx Users Guide=2E EXAMPLES=3A hsz40>add raid r0 disk100 disk200 disk300 hsz40>add stripe s0 disk110 disk210 disk310 To view the containers=3A hsz40>show raid hsz40>show stripe The above commands show all containers=2E To view an individual contain= er=2C use the following command=3A hsz40>show r0 hsz40>show s0 For MIRROR containers refer to the HSXX Array Controller Users Guide=2E =0C Pag= e 11 III=2DC=3A INITIALIZATION OF CONTAINERS After containers have been created they should be initialized=2E These containers could be=3A 1=2E Single Device Containers=2E 2=2E RAID Containers=2E 3=2E STRIPE Containers=2E 4=2E MIRROR Containers=2E Example=3A hsz40>initialize disk100 ; This is for a single device container hsz40>initialize r0 ; This is for a RAID Container hsz40>initialize s0 ; This is for a STRIPE container III=2DD=3A CREATION OF UNITS The unit is the storage container that will be made available to the host operating system=2E Each container that is going to made availa= ble to the host operating system must be given a unit designator through the =22ADD UNIT=22 Command=2E The format of the command is=3A hsz40>add unit =22unit designator=22 =22container=2Dname=22 The container=2Dname must be a valid container=2E The unit designator fo= r a disk unit must have the following format=3A =22DTZL=22 The first character must be a =22D=22 for disk=2E The =22TZL=22 can be from one to 3 numeric characters=2C with the followi= ng restrictions=3A The =22T=22 character must be one of the Host Side SCSI ID=27s of the controller=2E That is=2C if the controller has Host Side SCSI ID=27s of 0= =2C1=2C2=2C3=2C then the =22T=22 character can only take on a value of 0=2C1=2C2=2C or 3= =2E The =22Z=22 character must be =220=22 or not used=2E Not used implies =22= 0=22 The =22L=22 character can be a number between 0=2D7 or not used=2E Not us= ed implies 0=2E Using this unit designator naming scheme=2C a controller can present a ma= ximum of 32 units to the OSF=2F1 Host operating system=2E That=27s four Host S= ide SCSI IDs and 8 units per ID=2E The units refer to containers=2E The cont= ainers can be single device or multi=2Ddevice containers=2C such as RAID or STRI= PE containers=2E EXAMPLE>=3A Controller has Host Side SCSI ID=27s of 0=2C1=2C2=2C3 hsz40>add unit d0 disk100 ; for single device container hsz40>add unit d000 disk100 =3A hsz40>add unit d100 r0 ; for RAID container hsz40>add unit d200 s0 ; for STRIPE container hsz40>add unit d307 disk650 The HSZ40 unit designator will be used to determine the OSF=2F1 minor num= ber of the OSF=2F1 device special file that is used by OSF=2F1 to access that= HSZ40 unit=2E This minor number will be used in the mknod utility to associate an OSF=2F1 device name with an HSZ40 unit=2E =0C P= age 12 IV=3A OSF=2F1 SPECIAL FILES Once units have been made available to the OSF=2F1 Host System=2C then t= he Host System can access those devices if the special files have been crea= ted for the unit=2E Each individual partition of a OSF=2F1 disk device must have a character device special file and a block mode device special file=2E The device special files are created through the mknod utility on the OSF=2F1 Host System=2E This section will show how that utility is used= =2E The mknod utility must be supplied some parameters=2C those parameters include a major number and a minor number=2E The major number refers to the device driver=2C the minor number refers to the specific device that is controlled by the device driver=2E The format for invoking the mknod utility is=3A mknod name M Major Number Minor Number The =22name=22 is the name given to the special file associated with th= e device and the partition on the device=2E The =22M=22 will be the character =22b=22 for block mode file or =22c= =22 for character mode file=2E The Major Number will be the character 8=2C for HSZ40 devices=2E The Minor Number will be a number that is determined from an algorithm that is based upon the SCSI bus number that is connected to the HSZ40 and the HSZ40 unit designator=2E The next sections will show examples= =2E =0C Pag= e 13 IV=2DB =3A RECOMMENDED NAME FORMAT FOR HSZ40=2FOSF1 DEVICES The recommended naming format for HSZ40 devices is based upon the following format rzxnnp =2D for block mode special file access rrzxnnp =2D for character mode special file access The =22x=22 denotes one alphabetic character that represents the LUN = number that is used in each HSZ40 unit designator=2E LUN 0 =2D a LUN 1 =2D b LUN 2 =2D c LUN 3 =2D d LUN 4 =2D e LUN 5 =2D f LUN 6 =2D g LUN 7 =2D h The =22nn=22 denotes a numeric value based on the Host Side SCSI bus = =23 and the target ID portion of the HSZ40 unit number=2E nn =3D =28 8 * Host Side SCSI Bus =23 =29 =2B =28 Target ID from HSZ4= 0 unit number=29 The =22p=22 denotes one alphabetic character between a=2Dh to designa= te the partition=2E EXAMPLE 1=3A To configure HSZ40 unit D000 or D0 on an HSZ40 that is on Host Side SCSI Bus =23 2=2C the name for the block mode device wou= ld be=3A nn =3D =28 8 * 2 =29 =2B 0 =3D 16 x =3D LUN 0 =3D a Block Mode Names=3A rza16a =2D partition a rza16b =2D partition b=2C etc EXAMPLE 2=3A To configure HSZ40 unit D407 on an HSZ40 that was on Host Side SCSI Bus =23 5=2C the name for this block mode device wo= uld be=3A nn =3D =28 8 * 5 =29 =2B 4 =3D 44 x =3D LUN 7 =3D h Block Mode Names=3A rzh44a =2D partition a rzh44b =2D partition b=2C etc =0C P= age 14 IV=2DC=3A DETAILED EXAMPLE OF CREATING SPECIAL FILES In order to use the mknod utility to create the device special files fo= r an HSZ40 unit=2C the following pieces of information are required=3A 1=2E The SCSI Bus number of the host side SCSI bus=2E 2=2E The target ID of the HSZ40 unit as shown in the HSZ40 unit number 3=2E The LUN of the HSZ40 unit as shown in the HSZ40 unit number=2E 4=2E The partition for the device=2C a =2D h=2E The major number of HSZ40 disk units is always =228=22=2E The minor nu= mber will be calculated as follows=3A =2816384 * Host Side SCSI Bus Number=29 =2B =281024 * Target ID=29 =2B = =2864 * LUN=29 =2B x The =22x=22 in the formula is the partition number as follows=3A a =3D 0 b =3D 1 c =3D 2=2C and so on=2E For an HSZ40 unit D200 on host side SCSI Bus =23 2; the SCSI Bus is 2= =2C the Target ID is 2 and the LUN number is 0=2E The minor number for the =22a=22 partition would be=3A =28 16384 * 2=29 =2B =28 1024 * 2 =29 =2B =28 64 * 0 =29 =2B 0 =3D 3481= 6 The =22nn=22 portion of the name would be 18=2C as determined by the fo= rmula nn =3D =28 8 * Host Side SCSI Bus =23 =29 =2B =28 Target ID from HSZ40= unit number=29 The special file name for the block mode device would be rza18a=2E The special file name for the character mode device would be rrza18a=2E When using mknod=2C insure that the default working directory is =2Fdev= =2E Mknod would be used as follows=3A =23cd=2Fdev =2D puts working directory to =2Fdev =23mknod rza18a b 8 34816 =2D creates the block mode special file for = rza18a =23mknod rrza18a c 8 34816 =2D creates the character mode file for rrza= 18a For an HSZ40 unit D102 on host side SCSI Bus =232; the SCSI Bus is 2=2C the Target ID is 1 and the LUN number is 2=2E The minor number for =22d=22 partition would be=3A =28 16384 * 2=29 =2B =28 1024 * 1 =29 =2B =28 64 * 2 =29 =2B 3 =3D 3392= 3 The =22nn=22 portion of the name would be 18=2C as determined by the fo= rmula nn =3D =28 8 * Host Side SCSI Bus =23 =29 =2B =28 Target ID from HSZ4= 0 unit number=29 The special file name for the block mode device would be rzc17d=2E The special file name for the character mode device would be rrzc17d=2E Mknod would be used as follows=3A =23cd=2Fdev =2D puts working directory to =2Fdev =23mknod rzc17d b 8 33923 =2D creates the block mode special file for = rzc17d =23mknod rrzc17d c 8 33923 =2D creates the character mode file for rrzc= 17d =0C Pag= e 15 IV=2DD=3A MAKE_RAID_LUNS UTILITY There is a new utility that is available starting with OSF=2F1 V3=2E2=2D= A=2E It is in the =2Fdev directory and is called MAKE_RAID_LUNS=2E It uses t= he naming format of =22rzxnn=22=28rza17=29=2E It can be used for creating a= ll special files for any single LUN on an HSZ40=2E That is; it will create all fil= es=2C block and character for all partitions for an HSZ40 unit=2E This saves from invoking the mknod utility 16 times of each HSZ40 unit= =2E To invoke this utility use the following procedures=3A =23cd =2Fdev =2D changes working directory to =2Fdev =23MAKE_RAID_LUNS rza17 =2D this will create all special files for the= HSZ40 unit D100 on Host Side SCSI Bus 2=2E When using this utility=2C the =22nn=22 portion of the file names must = be correct=2E It should be calculated by the same formula that was discus= sed previously=2E nn =3D =28 8 * Host Side SCSI Bus =23 =29 =2B =28 Target ID from HSZ40 = unit number=29 Another Example=3A To create special files for HSZ40 unit D202 on SCSI Bus 2=3A =23cd =2Fdev =23MAKE_RAID_LUNS rzc18 This utility will have to be run for each separate HSZ40 unit=2E Be sur= e to use the correct name format for each LUN=2E =0C P= age 16 =21=21=21=21WARNING=21=21=21=21 WHEN YOU ARE USING THE MKNOD UTILITY=2C= THERE IS NO CHECK TO INSURE THAT YOU HAVE IDENTIFIED THE RIGHT MINOR NUMBER WITH THE CORR= ECT PARTITION=2E=21=21=21 In other words=2C you could have made a mistake i= n your calculations and given the minor number for rzc17d as 33920=2E This is= the minor number for the =22a=22 partition on that unit=2C but the mknod utility would not signal any errors=2E Certain utilities may catch the error=2C but don=27t count on it=2E The danger in miscalculating the minor number is that you may actually overlap a partition in another unit=2E BE VERY CAREFUL when using the mknod utility=2E If you have many HSZ40 units to configure=2C remember you have to creat= e special files for every partition on those HSZ40 units=2E You also hav= e to create a block mode special file and a character mode special file=2E This requires a lot of manual typing operations=2E Currently there is no script file that comes with the OSF=2F1 operating system to allow you to configure all special files for all HSZ40 units=2E However there is a script file called MAKEDEV that can create some special files=2C providing that you use a specific name format=2E In the current versions of OSF=2F1 you should NOT USE MAKEDEV for creating the HSZ40 device special files=2E One reason is that this utility does not accept the rzxnnp format for names=2E The next section discusses the MAKEDEV utility=2C only for information purposes=2E REMEMBER YOU SHOULD NOT USE THE MAKEDEV UTILITY FOR CREATI= NG HSZ40 DEVICE SPECIAL FILES=2E FUTURE VERSIONS OF MAKEDEV MAY ALLOW FOR= THE USE OF THE NAME FORMAT =2D rzxnnp=2E BUT FOR CURRENT VERSIONS=2C DO NOT= USE IT FOR HSZ40 DEVICES =0C P= age 17 IV=3A MAKEDEV UTILITY This utility is located in the =2Fdev directory=2E This section is bas= ed upon OSF=2F1 version 3=2E2=2D4 and below=2E MAKEDEV is a script that can be used to create device special files=2E However=2C it requires that a specific naming format be used=2E For SC= SI devices it requires the following format=3A rzxxx The =22xxx=22 can only be numeric characters=2E Here are some examples= =3A rz0=2C rz10=2C rz130=2C etc=2E Also the =22xxx=22 number will determine the SCSI Host Side Bus number = and the SCSI Target=2E The LUN is assumed to be 0 in all cases=2E The calculations are as follows=3A SCSI Host Side Bus Number =3D Integer of =28 xxx =2F 8 =29 The remainder of the above division=2C if any=2C will be the Target ID= =2E MAKEDEV will calculate the minor number=2C based upon the same calculat= ion that was used in the previous examples=2C except that the LUN is always= 0=3A =28 16384 * SCSI Host Bus =23 =29 =2B =28 Target ID * 1024=29 =2B =28LUN= * 64=29 =2B Partition EXAMPLE=3A Using a unit name of RZ16 =3D 16 is the =22 xxx=22 SCSI Host Side Bus Number =3D =28 16 =2F 8 =29 =3D 2 with a remainder o= f 0=2E Minor number for rz16a =3D =28 16384 * 2 =29 =2B =28 0 * 1024 =29 =2B =28 0 * 64 =29 =2B 0 =3D 32768 MAKEDEV will then invoke mknod=2C using the major number associated with= that device type and the calculated minor number=2E It will create all speci= al files for all partitions=2C both block mode and character mode=2E If you were going to associate the device name RZ16 to an HSZ40 unit=2C = which unit would that be=3F Remember than an HSZ40 unit has the designator DTZL=3A T =3D Target ID Z =3D 0 L =3D Lun Remember that RZ16 was on SCSI Host Side Bus =23 2=2C Target ID of =220= =22=2C LUN of =220=22=2E The RZ16 device would relate to HSZ40 unit D000 or D0 that was connected to the Host Adapter on SCSI Host Side Bus =23 2 =2E So if you use MAKEDEV to create special files=2C you give the device an OSF=2F1 device name that will produce the correct minor number=2E Also= =2C you CANNOT use MAKEDEV to create special files for any HSZ40 units whose uni= t designator do not end in =220=22=2E As an example=2C you can=27t use MA= KEDEV for D101=2E This would be TARGET ID =221=22=2C but LUN =221=22=2E MAKEDEV = always assumes LUN to be =220=22=2E EXAMPLE OF INVOKING MAKEDEV=3A =2Fdev=2FMAKEDEV rz16 =0C P= age 18 IV=2DA=3A ANOTHER EXAMPLE=3A You want to use the device name rz161 and use MAKEDEV to create the spec= ial files=2E What HSZ40 unit would this name point to if you use MAKEDEV to create the special files=3F SCSI Host Side Bus Number =3D =28 161 =2F 8 =29 =3D 20 with a remainder = of 1=2E The Target ID is then equal to this remainder=2C which is 1=2E LUN is always 0=2C so using the =22DTZL=22 HSZ40 unit format=2E This wo= uld be D100 on the HSZ40 that is on the Host Adapter on Host Side SCSI bus 20= =2E The point of all these examples is to show that you cannot just pick any arbitrary OSF=2F1 device name if you are going to use MAKEDEV to create the special files=2E You must be sure that the minor number that MAKEDE= V is going to calculate will identify the correct HSZ40 Unit on the correc= t Host Side SCSI Bus=2E =0C Pag= e 19 V=3A HELPFUL UTILITIES The OSF=2F1 =22file=22 utility can be used to determine if an HSZ40 u= nit can be accessed from the OSF=2F1 Host System=2E Here is the procedur= e=3A For this example=2C an HSZ40 has a unit D101=2E From the HSZ40 CLI=2C= issue the following command=3A hsz40>set =22xx=22 noread Be sure to enable the unit=27s read cache when the testing is complet= ed=2C by using the following command=3A hsz40>set =22xx=22 read The =22xx=22 represents the HSZ40 unit designator that will be tested= =2E Example=3A hsz40>Set D101 noread This command disables the read cache for the unit=2E The reason is t= o allow a visual indication that the unit is indeed being accessed=2E = This will cause the information to be accessed from the unit rather than f= rom the cache=2C if the information is in cache=2E From the OSF=2F1 Host System issue the following command=3A =2Fusr=2Fbin=2Ffile =2Fdev=2Fxxxx The =22xxxx=22 represents the OSF=2F1 character mode partition device= special file that represents the HSZ40 unit=2E EXAMPLE=3A =2Fusr=2Fbin=2Ffile =2Fdev=2Frrzb17a In this case the special file for rrzb17a has already been created=2E The device activity indicator =28green light=29 should light up on the device=2E If the unit is a multi=2Ddevice container only one of t= he devices that is part of that container will light=2E Also on the OSF=2F1 system=2C the following output should be seen aft= er the command is issued=3A =2Fdev=2Frrzb17a character special =288=2Fmmmm=29 SCSI =23 n HSZ40 disk = =23xxx =28SCSI ID =23t=29 The =228=22 is the major number The =22mmmm=22 should be the minor number The =22n=22 should be the SCSI Host Side Bus number The =22t=22 should be the target ID as used in the HSZ40 unit DTZL=2C = where the =22T=22 in the DTZL HSZ40 unit matches the =22t=22 from the file= command=2E The =22xxx=22 is the Disk Number=2C which was discussed in a previous = section=2E If an error is seen such as=3A file=3A Cannot get file status on =2Fdev=2Fmmmm =2Fdev=2Fmmmm=3A cannot open for reading This error usually indicates that the special file in the =2Fdev directory that matches =22mmmm=22 doesn=27t exist=2E If the only output that is returned from the file command is the major and minor number=2C then either the device is not answering or the device special file does not have the correct minor number=2E Che= ck the minor number to be sure that it matches the correct SCSI Host Side Bus number and the correct HSZ40 TARGET ID and LUN from the HSZ40 unit designator=2E =0C P= age 20 V=2DA=3A SCU UTILITY This is the SCSI CAM Utility Program=2E It is in the =2Fsbin directory= =2E It is documented in the REF Pages =288=29 This utility can be used to see what HSZ40 units are available to the O= SF=2F1 system=2E EXAMPLE=3A =2Fsbin=2Fscu =2Df =2Fdev=2Fmmmm The =22mmmm=22 represents the character mode special file name associat= ed with an HSZ40 unit=2E *********************************************************************** =2Fsbin=2Fscu =2Df =2Fdev=2Frrza18a scu>Show Nexus ; this scu command will give you SCSI bus information ; in the following format Device Nexus=3A Bus =3A =22n=22=2C Target=3A =22t=22=2C Lun =22L=22=2C = Device Type =2D direct access ************************************************************************= * In the above example the device type for a disk is direct access=2E =0C Pag= e 21 The scu command =22scan edt=22 causes a polling for all devices on the H= ost side SCSI busses=2E You can then show what devices are available from al= l Host Side SCSI busses=2E The special files don=27t have to exist for sc= u to see the devices=2E scu>scan edt scu>show edt CAM Equipment Device Table =28EDT=29 Information=3A Bus=3A 0=2C Target=3A 3=2C Lun=3A 0=2C Device Type=3A Direct Access Bus=3A 0=2C Target=3A 3=2C Lun=3A 1=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 3=2C Lun=3A 2=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 3=2C Lun=3A 3=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 3=2C Lun=3A 4=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 3=2C Lun=3A 5=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 3=2C Lun=3A 6=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 3=2C Lun=3A 7=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 4=2C Lun=3A 0=2C Device Type=3A Read=2DOnly Direc= t Access Bus=3A 0=2C Target=3A 4=2C Lun=3A 1=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 4=2C Lun=3A 2=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 4=2C Lun=3A 3=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 4=2C Lun=3A 4=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 4=2C Lun=3A 5=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 4=2C Lun=3A 6=2C Device Type=3A =28not present=29 Bus=3A 0=2C Target=3A 4=2C Lun=3A 7=2C Device Type=3A =28not present=29 Bus=3A 2=2C Target=3A 0=2C Lun=3A 0=2C Device Type=3A Direct Access Bus=3A 2=2C Target=3A 0=2C Lun=3A 1=2C Device Type=3A =28not present=29 Bus=3A 2=2C Target=3A 0=2C Lun=3A 2=2C Device Type=3A =28not present=29 Bus=3A 2=2C Target=3A 0=2C Lun=3A 3=2C Device Type=3A =28not present=29 Bus=3A 2=2C Target=3A 0=2C Lun=3A 4=2C Device Type=3A =28not present=29 Bus=3A 2=2C Target=3A 0=2C Lun=3A 5=2C Device Type=3A =28not present=29 Bus=3A 2=2C Target=3A 0=2C Lun=3A 6=2C Device Type=3A =28not present=29 Bus=3A 2=2C Target=3A 0=2C Lun=3A 7=2C Device Type=3A =28not present=29 Bus=3A 2=2C Target=3A 1=2C Lun=3A 0=2C Device Type=3A Direct Access Bus=3A 2=2C Target=3A 1=2C Lun=3A 1=2C Device Type=3A Direct Access Bus=3A 2=2C Target=3A 1=2C Lun=3A 2=2C Device Type=3A Direct Access Bus=3A 2=2C Target=3A 1=2C Lun=3A 3=2C Device Type=3A Direct Access *************************************************************************** The above display will show all Host Side SCSI busses that are available and the devices that are seen on those busses=2E You should be able to see all HSZ40 units=2E As an example an HSZ40 unit D103 on H= ost Side SCSI bus 2=2C would be Bus=3A 2=2C Target=3A 1=2C Lun=3A 3=2C Device Type=3A Direct Access HSZ40 unit D307 on Host Side SCSI bus 4 would be=3A Bus=3A 4=2C Target=3A 3=2C Lun=3A 7=2C Device Type=3A Direct Access =0C P= age 22 IV=3A DISKLABEL UTILITY Using the name format=2C rrzxnnp=2C may present a problem with the disk= label utility=2E As an example=2C if a special file is named rrzb17a and if the disklabe= l utility is invoked using that file name; an error referring to an =2Fmdec error could be the result that there is no file in the =2Fmdec directory for rzaboot or bootrza=2E In order to fix this problem the following commands should be issued on the OSF=2F1 system so the naming format rrzxnnp can be used=2E ln =2Fmdec=2Fbootrz =2Fmdec=2Fbootrza ln =2Fmdec=2Fbootrz =2Fmdec=2Fbootrzb ln =2Fmdec=2Fbootrz =2Fmdec=2Fbootrzc ln =2Fmdec=2Fbootrz =2Fmdec=2Fbootrzd ln =2Fmdec=2Fbootrz =2Fmdec=2Fbootrze ln =2Fmdec=2Fbootrz =2Fmdec=2Fbootrzf ln =2Fmdec=2Fbootrz =2Fmdec=2Fbootrzg ln =2Fmdec=2Fbootrz =2Fmdec=2Fbootrzh ln =2Fmdec=2Frzboot =2Fmdec=2Frzaboot ln =2Fmdec=2Frzboot =2Fmdec=2Frzbboot ln =2Fmdec=2Frzboot =2Fmdec=2Frzcboot ln =2Fmdec=2Frzboot =2Fmdec=2Frzdboot ln =2Fmdec=2Frzboot =2Fmdec=2Frzeboot ln =2Fmdec=2Frzboot =2Fmdec=2Frzfboot ln =2Fmdec=2Frzboot =2Fmdec=2Frzgboot ln =2Fmdec=2Frzboot =2Fmdec=2Frzhboot These commands can be put into a script file and then execute the script file=2C or the commands can be executed individually=2E =0C Pag= e 23 VII=3A CURRENT KNOWN ADAPTER TYPES 1=2E KZTSA =2D tza 2=2E KZMSA =2D xza 3=2E PMAZC=2C PMAZB =2D tcds 4=2E KZPSA =2D pza 5=2E NCR 810 PCI SCSI BUS =2D psiop =2D KZPAA 6=2E AHA1740=2F2 EISA SCSI Bus =2D aha 7=2E QLOGIC ISP1020 SCSI Bus =2D isp 8=2E DEC=2F4000 SCSI Bus =2D siop =0C P= age 24 VIII=3A CONFIGURATION FILE ENTRIES USING THIS OSF=2F1 NAMING SCHEME In current versions of OSF=2F1=2C including V3=2E2=2D4=2C the OSF=2F1 = boot startup procedures will not recognize the name format =22rzxnn=22=28rza17=29= =2E Also the iostat utility will not recognize the =22rzxnn=22 format=2E The next = sections will discuss procedures for use of the =22rzxnn=22 format for the conf= iguration file and for using iostat=2E These procedures require editing the configuration file and then rebui= lding the kernel from the new configuration file=2E =21=21 BE SURE TO SAVE THE OLD CONFIGURATION FILE AND KERNEL BEFORE EDITING AND REBUILDING=2E The format for an entry in the configuration is as follows=3A disk device rznn at scsiz drive mmm The =22nn=22 is calculated as=3A nn =3D =28 8 * Host Side SCSI Bus =23 =29 =2B =28 Target ID from HSZ4= 0 unit number=29 The =22z=22 denotes the Host Side SCSI BUS number The =22mmm=22 denotes a drive number=2C it is calculated as follows=3A =2864 * Host SCSI Bus =23=29 =2B =288 * Target ID from HSZ40 Unit=29 =2B LU= N of HSZ40 unit =0C Pag= e 25 VIII=2DA=3A EDITING THE CONFIGURATION FILE Edit the configuration file as follows=2E Enter rz=22nn=22 eight times with a different drive number for each= entry=2E Even if all 8 LUNS are not available from an HSZ40 Target ID=2C all eight entries should exist in the configuration file=2E Only the first drive number needs to be calculated=2C for each addi= tional device just add 1 to the previous drive number=2E EXAMPLE =3A For HSZ40 units D0 =2D D7 on Host Side SCSI Bus =23 2=2C the entries in the configuration file would be=3A bus tcds0 at tc0 slot 6 vector tcdsintr bus tza0 at tc0 slot 5 vector tzaintr controller scsi2 at tza0 slot 0 device disk rz16 at scsi2 drive 128 device disk rz16 at scsi2 drive 129 device disk rz16 at scsi2 drive 130 device disk rz16 at scsi2 drive 131 device disk rz16 at scsi2 drive 132 device disk rz16 at scsi2 drive 133 device disk rz16 at scsi2 drive 134 device disk rz16 at scsi2 drive 135 EXAMPLE =3A For HSZ40 units D400 =2D D407 on Host Side SCSI Bus =23 5=2C the entr= ies in the configuration file would be=3A bus tcds0 at tc0 slot 6 vector tcdsintr bus tza0 at tc0 slot 5 vector tzaintr controller scsi5 at tza0 slot 0 device disk rz44 at scsi5 drive 352 device disk rz44 at scsi5 drive 353 device disk rz44 at scsi5 drive 354 device disk rz44 at scsi5 drive 355 device disk rz44 at scsi5 drive 356 device disk rz44 at scsi5 drive 357 device disk rz44 at scsi5 drive 358 device disk rz44 at scsi5 drive 359 NOTE=3A =21=21=21 Even if the HSZ40 does not present all eight LUNS using the same Target ID=2C all eight entries for the LUNS 0 =2D 7 must be in the configuration file=2E The reason for this will be explained in the n= ext section=2E That is=2C if an HSZ40 only has units D100=2C and D101=2C all devices that relate to HSZ40 units D100 =2D D107 should be in the configurati= on file=2E =0C Pag= e 26 VIII=2DB=3A USING IOSTAT USING THE RECOMMENDED NAMING FORMAT REPEATING WHAT WAS STATED IN THE LAST SECTION=3A _____________________________________________________________________ All eight devices that relate to LUNs 0 =2D7 for each target ID used by an HSZ40 must be in the configuration file=2C even if all eight unit= s are not presented by the HSZ40=2E THE REASON WILL BE EXPLAINED AT THE END OF THIS SECTION _____________________________________________________________________ The iostat utility will be invoked using the following format=3A iostat rznn s t The =22nn=22 will be equal to the numeric value that is used in the OSF= =2F1 device name=2E Do not use the rzxnn=2C where the =22x=22 is the alphabetic ch= aracter the denotes the LUN number=2E Iostat will ignore the alphabetic charac= ter=2E The =22s=22 denotes the amount of time=2C in seconds=2C between screen = updates=2E This is optional=2E The =22t=22 denotes the total number of screen updates=2E It is also op= tional=2E The output from iostat will show all eight devices that use the numeric number =22nn=22=2E If you want to see activity on the LUN 0 for rznn= =2C use the information from the first column that shows the rznn name=2E To see activity from LUN 1 on rznn use the second column=2C etc=2E Example **************************************************************************= *** =23 iostat rz16 5 4 rz16 rz16 rz16 rz16 rz16 rz16 rz16 rz16 bps tps bps tps bps tps bps tps bps tps bps tps bps tps bps tps 0 0 0 0 0 0 0 0 0 0 0 0 0 0 126 3 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1618 34 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1639 34 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1610 34 **************************************************************************= *** In the above example there are eight devices that use the rz16 format i= n the configuration file=2E This example shows IO activity on rzh16=2C with =22h=22 representing LU= N 7=2E LUN 0 is the first column=2C LUN 1 is the second column and so on=2E Currently this is the only way to use the iostat utility=2E If all eight LUNS that use the same target ID are not present=2C the dis= play will only show those LUNS that are presented by the HSZ40=2E =0C Pag= e 27 VIII=2DC=3A REASON FOR HAVING ALL EIGHT LUNS IN THE CONFIGURATION FILE **************************************************************************= *** =23 iostat rz16 5 4 tty rz3 rz4 rz16 rz16 cpu tin tout tps bps tps bps tps bps tps us ni sy id 0 0 0 0 0 0 0 126 3 1 0 2 97 0 0 0 0 0 0 0 1618 34 1 0 2 98 0 0 0 0 0 0 0 1639 34 1 0 2 98 0 0 0 0 0 0 0 1610 34 1 0 2 98 If all eight entries for rz16 do not appear in the configuration file= =2C or if all eight LUNs are not present=2C then the number of rz16 entries in iostat would be equal to the number of entries in the configuration fil= e or the number of LUNs with that target ID that are presented by the HSZ40=2E For example=3A An HSZ40 only has units D0 and D7=2C which would be devices rza16 and rzh16=2E As a result=2C if a user invokes the iostat utility using the format iostat rz16 5 4 then only two entries for rz16 would appear in the iostat output=2E The user of iostat would have to be aware that the second entry in the iostat output is the device rzh16=2E Therefore=2C it is not necessary to put all device names in the configu= ration file for each LUN=2C but putting all eight device names for all LUNs ma= kes it easier to use utilities such as iostat when new HSZ40 units are adde= d=2E Also=2C if the units are not in the configuration file=2C they will not= be seen in the OSF=2F1 startup procedures when the system is booted=2E =0C P= age 28 IX=3A USING GENVMUNIX Anytime that you use genvmunix to rebuild your configuration file=2C the new configuration file will only list the HSZ40 LUN 0 units=2E The name will be in the format of =22rzNN=22=2E The =22NN=22 represents the numeric number as used in the formula=3A =28 8 * Host Side SCSI Bus =23=29 =2B =28Target ID from HSZ40 unit numb= er=29 NON=2D0 LUNS will not appear in the new configuration file=2E Before rebuilding your configuration file using genvmunix=2C you are goi= ng to have to save your existing configuration file that has your HSZ40 units= =2E Then rebuild your configuration file from genvmunix=2C then add the HSZ4= 0 units back into the rebuilt configuration file=2E Then rebuild your kernel=2E =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D Received=3A from mail11=2Edigital=2Ecom by peru=2Efabrik=2Ecom with SMTP =28Fabrik F07=2E1=2D000=29 id SINN=2E12738947=40peru=2Efabrik=2Ecom ; Mon=2C 24 Nov 1997 08=3A= 31=3A04 =2D0800 Received=3A from us2rmc=2Ezko=2Edec=2Ecom =28us2rmc=2Ezko=2Edec=2Ecom =5B16= =2E33=2E16=2E101=5D=29 by mail11=2Edigital=2Ecom =288=2E7=2E5=2FUNX 1=2E5=2F1=2E0=2FWV=29 = with SMTP id KAA25318 for ; Mon=2C 24 Nov 1997 10=3A54= =3A43 =2D0500 =28EST=29 Received=3A from qbus=2Eenet by us2rmc=2Ezko=2Edec=2Ecom =285=2E65=2Frmc=2D= 22feb94=29 id AA04208; Mon=2C 24 Nov 97 10=3A54=3A26 =2D0500 Message=2DId=3A <9711241554=2EAA04208=40us2rmc=2Ezko=2Edec=2Ecom> Received=3A from qbus=2Eenet; by us2rmc=2Eenet; Mon=2C 24 Nov 97 10=3A54=3A= 39 EST Date=3A Mon=2C 24 Nov 97 10=3A54=3A39 EST From=3A THE VIRGINIAN To=3A bob=2Emorningstar1=40aopa=2Eorg Apparently=2DTo=3A bob=2Emorningstar1=40aopa=2Eorg Subject=3A hsz40=2Funix config guide =2D=2D=2D=2D=2D=2D=2D=2D=2D=2D --==========_0000116D_6A56DC8D_009BDC61_==========--