Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: Herve Gautier <herve.gautier@syseca.thomson-csf.com>
Subject: Re: Minor number device under Digital Unix
Date: 2000/01/07	[thread overview]
Message-ID: <3875D09C.923B1FA6@syseca.thomson-csf.com> (raw)
In-Reply-To: 38752D36.CA49F206@dassic.com

Jesper Frank Nemholt wrote:
> 
> 
> 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

Ok. It's worked.
Only one thing : disklabel failed with "disklabel -z". I think it's because
my disk is a new one (never used).
So I made a "disklabel -rw" and the a "disklabel -z".

Could you confirm me the procedure ?



  reply	other threads:[~2000-01-07  5:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-01-06  5:00 Minor number device under Digital Unix Herve Gautier
2000-01-06  5:00 ` Chris
2000-01-06  5:00 ` Herve Gautier
2000-01-07  5:00 ` Jesper Frank Nemholt
2000-01-07  5:00   ` Herve Gautier [this message]
2000-01-07  5:00     ` Jesper Frank Nemholt
2000-01-07  5:00       ` Herve Gautier
2000-01-07  5:00         ` Jesper Frank Nemholt
2000-01-12  5:00           ` Herve Gautier
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