From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079072816305.tru64-unix-managers.marc@archive.invalid> From: janderson () NOVALIS ! COM Date: Tue, 28 Sep 1999 14:41:05 +0000 To: tru64-unix-managers Subject: SUMMARY: Which drives are off which HSZ70? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079072816305 Thanks to the list yet again. Responses too numerous to list them all. Here's the question: janderson@NOVALIS.COM wrote: > > I have an ESA10000 with 2 pairs of HSZ70's running V4.0D. I needs to determine > which drives off which controller. Would be easy if the two BA370's had > dissimilar numbers of drives (and if I'd been around when it was put together), > but each '370 has the name number/config of drives. So. One presents itself as > rz?16? and the other as rz?24?. Can I trace it back to the backplane and the > first KZP from the top is 16 and the next is 24? Any help would be greatly > appreciated. Answers ranged from "use tar/gzip/dump to /dev/null from a raidset and watch the lights" (which I had tried doing, but the machine is so heavily used 7/24 that it's tough to use that method) to the following (which I what I was looking for) from Rick Beebe. Thanks Rick!! Jim Anderson The rz numbers are based on the unit numbers of the drive containers assigned within the HSZ70's. So you need to connect to one of the HSZs--I use a serial cable and Kermit but we used an old vt220 when we were setting them up. There's also the command console utility but I haven't used that yet. Once you're in the cli type 'show disk' That will give you a list of the disk drives. Basically the 'Port' column will tell you which column a drive is in (starting from the left). 'Targ' will tell you which row it's in (starting from the bottom) and 'Used by' will tell you which container (raidset, stripset, etc) it's in. Or the disks are traditionally named Dc0r00 where c=column and r=row. D20200 is the disk in the second column third row up (rows count from 0). You can use the 'locate' command to verify this--it makes the activity light on the disk blink. Now type 'show unit full'. You'll get a list of the units. The Unit number (ie D103) is the number that gets converted to rzxxx on the host system. Within the text of each unit you'll either see 'ONLINE to this controller' or 'ONLINE to the other controller'. And now you know which units are being served by which controllers. Finally with unit numbers the first digit is the HSZ70 id (look at 'Preferred targets' from the 'SHOW THIS' or 'SHOW OTHER' CLI commands to see which number(s) is assigned to which controller) and the last digit is the LUN. The LUN (0-7) gets coverted to letter a-h following rz. rza rzb etc. The device number is (8 * scsi bus number) + controller id. So rz?16 is scsi bus 2, controller 0. If it's rza16 then it's LUN 0 or unit D0 (leading 0's are dropped). rz?24? is scsi bus 3, controller 0. And really finally, if you look in /var/adm/messages you'll see some messages of the form rzx at scsi0 target 1 lun 0. That may help you identify which scsi card is 0 and which one is 1, etc. Hope I answered the question. -- _______________________________________________________________________ Rick Beebe (203) 785-6416 Manager, Systems & Network Engineering FAX: (203) 785-3978 ITS-Med Client & Technology Services Richard.Beebe@yale.edu Yale University School of Medicine P.O. Box 208078, New Haven, CT 06520-8078 _______________________________________________________________________