From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3fc79270f1ba1600 X-Google-Attributes: gidfee84,public From: Jesper Frank Nemholt Subject: Re: Adding a Storagtek 9710 to Alpha 8400 Date: 2000/02/08 Message-ID: <38A09577.2A38238E@dassic.com> X-Deja-AN: 583405486 Content-Transfer-Encoding: 7bit References: <87p8nk$e42$1@neptunium.btinternet.com> X-Accept-Language: en,da,en-US Content-Type: text/plain; charset=us-ascii X-Complaints-To: Department of Written Abuse X-Trace: news.inet.tele.dk 950049466 26025 195.249.165.73 Organization: Dassic Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Brett Shepherd wrote: > > Hi All, > > I am fairly new to Digital Unix, being from an HP background. > > One of our 8400's is having an STK9710 tape library (6 x DLT4000 drives) > attached to it over this weekend. > > My query is this: > > Once attached, how do I identify the new tape drives (and presumably the > robotic arm) to the system? Is it really a case of identifying the Bus/SCSI > ID and then running a MAKEDEV for each? Do I need to do anything else? Is > there any way of getting DU to do the work for you? On HP it would simply be > case of running 'ioscan' (to pick up the devices) and then 'insf' (to > install the special files - based on the ioscan). > > Thanks in advance for all your help. It's actually pretty similar on dunix. Below is a mail I posted a couple of weeks ago around here (or was it com.sys.dec...). It's actually an explanation in adding disks while being in production, but it's the same procedure when it comes to tape drives, just replace rz with tz : Do a "scu scan edt" to scan for new stuff. Do a "scu show edt" to see what's on the SCSI bus. Your disk should be in the list you get. To play safe you can let scu scan only the bus the disk is on rather than all. Normally it's not an issue. cd to /dev do a ./MAKEDEV rzXY You calculate XY like this : SCSI bus 0, ID 0 -> 7 = rz0 -> rz7 SCSI bus 1, ID 0 -> 7 = rz8 -> rz15 SCSI bus 2, ID 0 -> 7 = rz16 -> rz23 ...and so on, assuming you aren't playing with LUN numbers, or the disk is on a RAID controller. If it's a cluster and the disk is on a shared bus, the SCSI numbers will most likely be renumbered. This is no problem seen from the OS, but if you try to do a real life calculation of the number of SCSI controllers and ID's to get the rz name, you'll get confused. LUN numbers will show up as letters after the rz but before the number. LUN 0 (no LUN) doesn't have a letter (ex. rz129) LUN 1 is b (rzb129), LUN 2 is c (rzc129) and so on. Example from /var/adm/messages (it's a ES40 ASE cluster with HSG80/ESA12000 storage) : Dec 5 15:14:29 subra vmunix: Alpha boot: available memory from 0x65a8000 to 0x13fff0000 Dec 5 15:14:29 subra vmunix: Digital UNIX V4.0F (Rev. 1229); Wed Nov 3 18:57:18 MET 1999 Dec 5 15:14:29 subra vmunix: physical memory = 5120.00 megabytes. Dec 5 15:14:29 subra vmunix: available memory = 5014.29 megabytes. Dec 5 15:14:29 subra vmunix: using 6545 buffers containing 51.13 megabytes of memory Dec 5 15:14:29 subra vmunix: Master cpu at slot 0. Dec 5 15:14:29 subra vmunix: Firmware revision: 5.4-11 Dec 5 15:14:29 subra vmunix: PALcode: Digital UNIX version 1.50-2 Dec 5 15:14:29 subra vmunix: Compaq AlphaServer ES40 Dec 5 15:14:29 subra vmunix: pci1 at nexus Dec 5 15:14:29 subra vmunix: Initializing xcr0. Please wait.... Dec 5 15:14:29 subra vmunix: xcr0 at pci1 slot 1 Dec 5 15:14:29 subra vmunix: re0 at xcr0 unit 0 (unit status = ONLINE, raid level = 1) Dec 5 15:14:29 subra vmunix: (WRITE BACK cache operation SUPPORTED if battery backup enabled) Dec 5 15:14:29 subra vmunix: emx0 at pci1 slot 2 Dec 5 15:14:29 subra vmunix: KGPSA adapter: Driver Rev 1.10 : F/W Rev 2.20X2(1.12) : wwn 1000-0000-c921-26e8 Dec 5 15:14:29 subra vmunix: scsi16 at emx0 slot 0 Dec 5 15:14:29 subra vmunix: rz129 at scsi16 target 1 lun 0 (LID=0) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:29 subra vmunix: rzb129 at scsi16 target 1 lun 1 (LID=1) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:29 subra vmunix: rzc129 at scsi16 target 1 lun 2 (LID=2) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:29 subra vmunix: rzd129 at scsi16 target 1 lun 3 (LID=3) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:29 subra vmunix: rze129 at scsi16 target 1 lun 4 (LID=4) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:29 subra vmunix: rzf129 at scsi16 target 1 lun 5 (LID=5) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:29 subra vmunix: rzg129 at scsi16 target 1 lun 6 (LID=6) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:29 subra vmunix: rzh129 at scsi16 target 1 lun 7 (LID=7) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:29 subra vmunix: processor at scsi16 target 2 lun 0 (LID=8) (Tru64 KGPSA 1.10) Dec 5 15:14:29 subra vmunix: processor at scsi16 target 2 lun 7 (LID=15) (ASE AM KGPSA ) Dec 5 15:14:29 subra vmunix: emx1 at pci1 slot 3 Dec 5 15:14:29 subra vmunix: KGPSA adapter: Driver Rev 1.10 : F/W Rev 2.20X2(1.12) : wwn 1000-0000-c921-3324 Dec 5 15:14:29 subra vmunix: scsi17 at emx1 slot 0 Dec 5 15:14:29 subra vmunix: rz136 at scsi17 target 0 lun 0 (LID=16) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:29 subra vmunix: rzb136 at scsi17 target 0 lun 1 (LID=17) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:29 subra vmunix: rzc136 at scsi17 target 0 lun 2 (LID=18) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:30 subra vmunix: rzd136 at scsi17 target 0 lun 3 (LID=19) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:30 subra vmunix: rze136 at scsi17 target 0 lun 4 (LID=20) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:30 subra vmunix: rzf136 at scsi17 target 0 lun 5 (LID=21) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:30 subra vmunix: rzg136 at scsi17 target 0 lun 6 (LID=22) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:30 subra vmunix: rzh136 at scsi17 target 0 lun 7 (LID=23) (DEC HSG80 V84F) (Wide16) Dec 5 15:14:30 subra vmunix: processor at scsi17 target 1 lun 0 (LID=24) (Tru64 KGPSA 1.10) Dec 5 15:14:30 subra vmunix: processor at scsi17 target 1 lun 7 (LID=31) (ASE AM KGPSA ) Dec 5 15:14:30 subra vmunix: gpc0 at isa0 Dec 5 15:14:30 subra vmunix: pci0 at nexus Dec 5 15:14:30 subra vmunix: comet0 at pci0 slot 1 Dec 5 15:14:30 subra vmunix: fta0 DEC DEFPA FDDI Module, Hardware Revision 1 Dec 5 15:14:30 subra vmunix: fta0 at pci0 slot 2 Dec 5 15:14:30 subra vmunix: fta0: DEC DEFPA (PDQ) FDDI Interface, Hardware address: 00-60-6D-17-A2-8D Dec 5 15:14:30 subra vmunix: fta0: Firmware rev: 3.10 Dec 5 15:14:30 subra vmunix: tu0: DECchip 21143: Revision: 3.0 Dec 5 15:14:30 subra vmunix: tu0: auto negotiation capable device Dec 5 15:14:30 subra vmunix: tu0 at pci0 slot 3 Dec 5 15:14:30 subra vmunix: tu0: DEC TULIP (10/100) Ethernet Interface, hardware address: 08-00-2B-C4-15-E3 Dec 5 15:14:30 subra vmunix: tu0: auto negotiation off: selecting 100BaseTX (UTP) port: full duplex Dec 5 15:14:30 subra vmunix: isa0 at pci0 Dec 5 15:14:30 subra vmunix: ace0 at isa0 Dec 5 15:14:30 subra vmunix: ace1 at isa0 Dec 5 15:14:30 subra vmunix: lp0 at isa0 Dec 5 15:14:30 subra vmunix: fdi0 at isa0 Dec 5 15:14:30 subra vmunix: fd0 at fdi0 unit 0 Dec 5 15:14:30 subra vmunix: ata0 at pci0 slot 15 Dec 5 15:14:30 subra vmunix: ata0: ACER M1543C Dec 5 15:14:30 subra vmunix: scsi2 at ata0 slot 0 Dec 5 15:14:30 subra vmunix: rz16 at scsi2 target 0 lun 0 (LID=32) (COMPAQ CDR-8435 0013) Dec 5 15:14:30 subra vmunix: scsi3 at ata0 slot 1 Dec 5 15:14:30 subra vmunix: usb0 at pci0 slot 19 Dec 5 15:14:30 subra vmunix: Created FRU table binary error log packet Dec 5 15:14:30 subra vmunix: lvm0: configured. Dec 5 15:14:30 subra vmunix: lvm1: configured. Dec 5 15:14:30 subra vmunix: kernel console: comet0 Dec 5 15:14:30 subra vmunix: dli: configured Dec 5 15:14:30 subra vmunix: ATM Subsystem configured with 4 restart threads Dec 5 15:14:30 subra vmunix: ATM IFMP: configured Dec 5 15:14:30 subra vmunix: clubase: configured Dec 5 15:14:30 subra vmunix: ATMUNI: configured Dec 5 15:14:30 subra vmunix: ATMSIG: 3.x (module=uni3x) configured Dec 5 15:14:30 subra vmunix: ILMI: 3.x (module=ilmi) configured Dec 5 15:14:30 subra vmunix: ATM IP: configured Dec 5 15:14:30 subra vmunix: ATM LANE: configured. Dec 5 15:14:30 subra vmunix: ADVFS: using 54548 buffers containing 426.15 megabytes of memory Dec 5 15:14:30 subra vmunix: Starting secondary cpu 1 Dec 5 15:14:30 subra vmunix: Starting secondary cpu 2 Dec 5 15:14:30 subra vmunix: Starting secondary cpu 3 Dec 5 15:14:30 subra vmunix: AM found a host at bus 16 target 2, lun 7 Dec 5 15:14:30 subra vmunix: AM found a host at bus 17 target 1, lun 7 Do a file /dev/rrzXY to se you got the device file created correctly. Then do a disklabel -r rzXY just to see you got the right disk. It shouldn't have a disklabel if it's new. Just to be sure do a disklabel -z on it, especially if it's a used disk and it has a disklabel. The disklabel might be wrong and origin from a stripeset or something. It'll seem to work but it really doesn't. Then do a disklabel -wr -t advfs rzXY AdvFS (or whatever you normally use for default disklabel). Then change the disklabel with disklabel -e rzXY if you need to. The rest of the procedure (ie. putting AdvFS, LSM or UFS on it) is probably wellknown to you. l8r/Jspr