Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: Minor number device under Digital Unix
  2000-01-06  5:00 Minor number device under Digital Unix Herve Gautier
@ 2000-01-06  5:00 ` Herve Gautier
  2000-01-06  5:00 ` Chris
  2000-01-07  5:00 ` Jesper Frank Nemholt
  2 siblings, 0 replies; 9+ messages in thread
From: Herve Gautier @ 2000-01-06  5:00 UTC (permalink / raw)


Herve Gautier wrote:
> 
> I don't understand how to find a minor number for scsi device under Digital Unix
> / Tru64 UNIX.
> 
> The problem is that I can't understand the explication of the rz man page.
> 
> I need to add a new SCSI disk without stop the system. My SCSI adapter supports
> the hot plug. I think I should plug the disk, create the devices
> in /dev with the correct minor & major number and run a disklabel.
> 
> Someone can help me ?

Ok, I have understand the minor number contruction.



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Minor number device under Digital Unix
  2000-01-06  5:00 Minor number device under Digital Unix Herve Gautier
  2000-01-06  5:00 ` Herve Gautier
@ 2000-01-06  5:00 ` Chris
  2000-01-07  5:00 ` Jesper Frank Nemholt
  2 siblings, 0 replies; 9+ messages in thread
From: Chris @ 2000-01-06  5:00 UTC (permalink / raw)


Herve,

Do a man SCSI (uppercase) to get all the details on device numbering. I
couldn't explain it easier...

Rgrds, Chris

Herve Gautier wrote:
> 
> I don't understand how to find a minor number for scsi device under Digital Unix
> / Tru64 UNIX.
> 
> The problem is that I can't understand the explication of the rz man page.
> 
> I need to add a new SCSI disk without stop the system. My SCSI adapter supports
> the hot plug. I think I should plug the disk, create the devices
> in /dev with the correct minor & major number and run a disklabel.
> 
> Someone can help me ?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Minor number device under Digital Unix
@ 2000-01-06  5:00 Herve Gautier
  2000-01-06  5:00 ` Herve Gautier
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Herve Gautier @ 2000-01-06  5:00 UTC (permalink / raw)



I don't understand how to find a minor number for scsi device under Digital Unix
/ Tru64 UNIX.

The problem is that I can't understand the explication of the rz man page.

I need to add a new SCSI disk without stop the system. My SCSI adapter supports
the hot plug. I think I should plug the disk, create the devices
in /dev with the correct minor & major number and run a disklabel.

Someone can help me ?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Minor number device under Digital Unix
  2000-01-06  5:00 Minor number device under Digital Unix Herve Gautier
  2000-01-06  5:00 ` Herve Gautier
  2000-01-06  5:00 ` Chris
@ 2000-01-07  5:00 ` Jesper Frank Nemholt
  2000-01-07  5:00   ` Herve Gautier
  2 siblings, 1 reply; 9+ messages in thread
From: Jesper Frank Nemholt @ 2000-01-07  5:00 UTC (permalink / raw)


Herve Gautier wrote:
> 
> I don't understand how to find a minor number for scsi device under Digital Unix
> / Tru64 UNIX.
> 
> The problem is that I can't understand the explication of the rz man page.
> 
> I need to add a new SCSI disk without stop the system. My SCSI adapter supports
> the hot plug. I think I should plug the disk, create the devices
> in /dev with the correct minor & major number and run a disklabel.
> 
> Someone can help me ?

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Minor number device under Digital Unix
  2000-01-07  5:00 ` Jesper Frank Nemholt
@ 2000-01-07  5:00   ` Herve Gautier
  2000-01-07  5:00     ` Jesper Frank Nemholt
  0 siblings, 1 reply; 9+ messages in thread
From: Herve Gautier @ 2000-01-07  5:00 UTC (permalink / raw)


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 ?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Minor number device under Digital Unix
  2000-01-07  5:00   ` Herve Gautier
@ 2000-01-07  5:00     ` Jesper Frank Nemholt
  2000-01-07  5:00       ` Herve Gautier
  0 siblings, 1 reply; 9+ messages in thread
From: Jesper Frank Nemholt @ 2000-01-07  5:00 UTC (permalink / raw)


Herve Gautier wrote:
> 
> 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).

Exactly.

> So I made a "disklabel -rw" and the a "disklabel -z".
> 
> Could you confirm me the procedure ?

If the first disklabel -z fails you can just go on with a disklabel -wr
and put some filesystems on it. You don't have to do a disklabel -z
anymore. The first disklabel -z is just to be sure there aren't any
disklabel on the disk.

The primary reason why I stated it was important no to re-use an
existing and unknown disklabel is that I've seen a SAP production system
go down because someone re-used the existing disklabel when they added
new storage. Those disklabels actually came from a time where the disks
were stripeset members on a HSZ70.
At first this worked, but when SAP tried to write to an area on the disk
that didn't exist because the disk was (alot) smaller than the disklabel
stated... AdvFS panic, and lots of them !!!


l8/Jspr



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Minor number device under Digital Unix
  2000-01-07  5:00     ` Jesper Frank Nemholt
@ 2000-01-07  5:00       ` Herve Gautier
  2000-01-07  5:00         ` Jesper Frank Nemholt
  0 siblings, 1 reply; 9+ messages in thread
From: Herve Gautier @ 2000-01-07  5:00 UTC (permalink / raw)


Jesper Frank Nemholt wrote:
> 
> If the first disklabel -z fails you can just go on with a disklabel -wr
> and put some filesystems on it. You don't have to do a disklabel -z
> anymore. The first disklabel -z is just to be sure there aren't any
> disklabel on the disk.
> 
> The primary reason why I stated it was important no to re-use an
> existing and unknown disklabel is that I've seen a SAP production system
> go down because someone re-used the existing disklabel when they added
> new storage. Those disklabels actually came from a time where the disks
> were stripeset members on a HSZ70.
> At first this worked, but when SAP tried to write to an area on the disk
> that didn't exist because the disk was (alot) smaller than the disklabel
> stated... AdvFS panic, and lots of them !!!
> 
> l8/Jspr

Another Question :

is HSZ70 a controller which supports hot-swapping ?

Could I do a hot-swapping operation on a classic KZPXX SCSI controller.
I've got a 2 nodes cluster with LSM & ASE, 1 shared SCSI bus.
On the shared bus I've got 2 disks in mirroring. Can I hot-swap one
of the mirrored disk even if I have no HSZ controller ?



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Minor number device under Digital Unix
  2000-01-07  5:00       ` Herve Gautier
@ 2000-01-07  5:00         ` Jesper Frank Nemholt
  2000-01-12  5:00           ` Herve Gautier
  0 siblings, 1 reply; 9+ messages in thread
From: Jesper Frank Nemholt @ 2000-01-07  5:00 UTC (permalink / raw)


Herve Gautier wrote:
> 
[clip]
> 
> Another Question :
> 
> is HSZ70 a controller which supports hot-swapping ?

Yes.

> Could I do a hot-swapping operation on a classic KZPXX SCSI controller.
> I've got a 2 nodes cluster with LSM & ASE, 1 shared SCSI bus.
> On the shared bus I've got 2 disks in mirroring. Can I hot-swap one
> of the mirrored disk even if I have no HSZ controller ?

Yes.

The main issue is where the termination is located, and in what box the
disks are located.
As long as you don't break termination when you remove or add disks, and
the controller can handle it (most, if not all DEC controlloers do),
there's no problem.

Usually, the disks will be located in some StorageWorks BA box, and all
of this will not be an issue because those boxes are built to support
hot swap.

We never take our machines down unless we have to do a complete
re-configuration or something like that.
That's also the beauty of it... when you need more diskspace you plug in
a couple of new disks, do a scu scan, make some device files, put some
disklabel on and then do a addvol to some AdvFS domain to dynamically
extend its size; all while in production.

Ofcourse it's best to do this while not in production and with the
machine turned off, just to minimize the risk of human error... but
sometimes this is not possible.



l8r/Jspr



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Minor number device under Digital Unix
  2000-01-07  5:00         ` Jesper Frank Nemholt
@ 2000-01-12  5:00           ` Herve Gautier
  0 siblings, 0 replies; 9+ messages in thread
From: Herve Gautier @ 2000-01-12  5:00 UTC (permalink / raw)
  To: Jesper Frank Nemholt

Jesper Frank Nemholt wrote:
> 
> Herve Gautier wrote:
> >
> [clip]
> >
> > Another Question :
> >
> > is HSZ70 a controller which supports hot-swapping ?
> 
> Yes.
> 
> > Could I do a hot-swapping operation on a classic KZPXX SCSI controller.
> > I've got a 2 nodes cluster with LSM & ASE, 1 shared SCSI bus.
> > On the shared bus I've got 2 disks in mirroring. Can I hot-swap one
> > of the mirrored disk even if I have no HSZ controller ?
> 
> Yes.
> 
> The main issue is where the termination is located, and in what box the
> disks are located.
> As long as you don't break termination when you remove or add disks, and
> the controller can handle it (most, if not all DEC controlloers do),
> there's no problem.
> 
> Usually, the disks will be located in some StorageWorks BA box, and all
> of this will not be an issue because those boxes are built to support
> hot swap.
> 
> We never take our machines down unless we have to do a complete
> re-configuration or something like that.
> That's also the beauty of it... when you need more diskspace you plug in
> a couple of new disks, do a scu scan, make some device files, put some
> disklabel on and then do a addvol to some AdvFS domain to dynamically
> extend its size; all while in production.
> 
> Ofcourse it's best to do this while not in production and with the
> machine turned off, just to minimize the risk of human error... but
> sometimes this is not possible.
> 
> l8r/Jspr

Thank you for all these informations.
I really appreciate.

GAUTIER Herve
-- 

R.V.

GAUTIER Herve



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2000-01-12  5:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-01-06  5:00 Minor number device under Digital Unix Herve Gautier
2000-01-06  5:00 ` Herve Gautier
2000-01-06  5:00 ` Chris
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-07  5:00       ` Herve Gautier
2000-01-07  5:00         ` Jesper Frank Nemholt
2000-01-12  5:00           ` Herve Gautier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox