tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Paul LaMadeleine <plamadeleine@lightbridge.com>
Subject: SUMMARY: help seeing disks after install of 5.1b
Date: Mon, 21 Apr 2003 15:00:22 -0400	[thread overview]
Message-ID: <5.2.0.9.2.20030421150013.03808758@jupiter.credtech.com> (raw)

OK,

         Thanks to all the help on this one.  It turned out to be 
Persistent Reservations by the original cluster.  Here is a good short 
explanation of what these are and how to remove them in a non-clustered 
environment:

>If a disk is used in a cluster, then you try to use it in a different
>cluster or outside a cluster, there may be a persistent SCSI reservation
>left on the disk. Clusters use reservations to try and make sure shared
>disks are only accessed by the proper node.
>
>If you don't have a cluster running, you can use
>
>         /usr/sbin/cleanPR clean
>
>to remove reservations from *all* the visible disks.
>
>                                                 - Bluejay Adametz

         I was able to easily re-layout the disk mappings (/dev/disk/dsk*) 
to match the original layout.  One thing to be aware of is you're swap file 
if you rename you're current boot disk, you'll need to change 
/etc/sysconfigtab to reflect the change.  The command is 'dfsmgr -m dsk# dsk@'

         I used advscan to find domains on my disks.  This creates my links 
in /etc/fdmns.  Once I had that I just mounted them on /mnt to make sure 
they were OK and then renamed the directory in /etc/fdmns to what I wanted 
them to be.
                 '/sbin/advfs/advscan -r dsk16 dsk17 dsk25 dsk26 dsk23'

         If you have any questions, please let me know.

         thanks,

         Paul

At 05:57 PM 4/19/2003 -0400, Paul LaMadeleine wrote:
>Greetings,
>
>         After a horrible attempt at upgrading from 5.1 pk1 to 5.1A where 
> I lost the OS.  I was told by HP support that I could recover the ADVFS 
> file systems by recreating the links in the /etc/fdmns directory (once I 
> figured the device naming changes which I fixed with dfsmgr -m).
>
>         Anyway, I installed 5.1B on the local disk of one of the cluster 
> members and got it running in as a single node.  The issue I'm having is 
> that a 'hwmgr -view devices' and a 'hwmgr -show scsi' both show all the 
> HSG80 disks, but 'disklabel -r /dev/rdisk/dsk#' is giving me a IO 
> error.  Could this be related to the HSG80 firmware level?  I can see 
> three of the disks on the HSG80 however and the disk labels indicate that 
> they are the quorum disk, and members 1 and 2 boot disks.
>
>         Could this be that the rest of the disks are only shown to the 
> cluster?
>
>         I don't want to harm the data on the other domains if I can help 
> it and I have not started the clu_create steps yet as I wanted to see if 
> I could get this stuff mounted before hand.
>
>         thanks,
>
>         Paul
>
>>bash-2.05# hwmgr -view devices
>>  HWID: Device Name          Mfg      Model            Location
>>------------------------------------------------------------------------------
>>     6: /dev/dmapi/dmapi
>>     7: /dev/scp_scsi
>>     8: /dev/kevm
>>    58: /dev/disk/floppy0c            3.5in floppy     fdi0-unit-0
>>    76: /dev/cport/scp0               HSG80CCL         bus-0-targ-0-lun-0
>>    77: /dev/disk/dsk9c      DEC      HSG80            IDENTIFIER=5
>>    78: /dev/disk/dsk5c      DEC      HSG80            IDENTIFIER=4
>>    79: /dev/disk/dsk4c      DEC      HSG80            IDENTIFIER=3
>>    80: /dev/disk/dsk3c      DEC      HSG80            IDENTIFIER=2
>>    81: /dev/disk/dsk2c      DEC      HSG80            IDENTIFIER=1
>>    82: /dev/disk/dsk12c     DEC      HSG80            IDENTIFIER=100
>>    83: /dev/disk/dsk7c      DEC      HSG80            IDENTIFIER=120
>>    84: /dev/disk/dsk8c      DEC      HSG80            IDENTIFIER=130
>>    85: /dev/disk/dsk13c     DEC      HSG80            IDENTIFIER=101
>>    86: /dev/disk/dsk14c     DEC      HSG80            IDENTIFIER=102
>>    87: /dev/disk/dsk17c     DEC      HSG80            IDENTIFIER=22
>>    88: /dev/disk/dsk16c     DEC      HSG80            IDENTIFIER=21
>>    89: /dev/disk/dsk15c     DEC      HSG80            IDENTIFIER=20
>>    90: /dev/disk/dsk24c     DEC      HSG80            IDENTIFIER=37
>>    91: /dev/disk/dsk23c     DEC      HSG80            IDENTIFIER=36
>>    92: /dev/disk/dsk22c     DEC      HSG80            IDENTIFIER=35
>>    93: /dev/disk/dsk21c     DEC      HSG80            IDENTIFIER=34
>>    94: /dev/disk/dsk20c     DEC      HSG80            IDENTIFIER=33
>>    95: /dev/disk/dsk19c     DEC      HSG80            IDENTIFIER=32
>>    96: /dev/disk/dsk18c     DEC      HSG80            IDENTIFIER=31
>>    97: /dev/disk/dsk26c     DEC      HSG80            bus-0-targ-0-lun-41
>>    98: /dev/disk/dsk25c     DEC      HSG80            bus-0-targ-0-lun-40
>>    99: /dev/disk/dsk0c      COMPAQ   BD009122BA       bus-1-targ-0-lun-0
>>   100: /dev/disk/dsk1c      COMPAQ   BD009122BA       bus-1-targ-1-lun-0
>>   101: /dev/disk/cdrom0c    COMPAQ   CDR-8435         bus-4-targ-0-lun-0
>>   102: /dev/random
>>   103: /dev/urandom
>>bash-2.05# hwmgr -show scsi
>>
>>         SCSI                DEVICE    DEVICE  DRIVER NUM  DEVICE FIRST
>>  HWID:  DEVICEID HOSTNAME   TYPE      SUBTYPE OWNER  PATH FILE   VALID PATH
>>-------------------------------------------------------------------------
>>    76:  0        ying       disk      none    0      4    scp0   [0/0/0]
>>    77:  1        ying       disk      none    0      8    dsk9   [0/0/5]
>>    78:  2        ying       disk      none    0      8    dsk5   [0/0/4]
>>    79:  3        ying       disk      none    0      8    dsk4   [0/0/3]
>>    80:  4        ying       disk      none    0      8    dsk3   [0/0/2]
>>    81:  5        ying       disk      none    0      8    dsk2   [0/0/1]
>>    82:  6        ying       disk      none    0      8    dsk12  [0/0/100]
>>    83:  7        ying       disk      none    0      8    dsk7   [0/0/120]
>>    84:  8        ying       disk      none    0      8    dsk8   [0/0/130]
>>    85:  9        ying       disk      none    0      8    dsk13  [0/0/101]
>>    86:  10       ying       disk      none    0      8    dsk14  [0/0/102]
>>    87:  11       ying       disk      none    0      8    dsk17  [0/0/22]
>>    88:  12       ying       disk      none    0      8    dsk16  [0/0/21]
>>    89:  13       ying       disk      none    0      8    dsk15  [0/0/20]
>>    90:  14       ying       disk      none    0      8    dsk24  [0/0/37]
>>    91:  15       ying       disk      none    0      8    dsk23  [0/0/36]
>>    92:  16       ying       disk      none    0      8    dsk22  [0/0/35]
>>    93:  17       ying       disk      none    0      8    dsk21  [0/0/34]
>>    94:  18       ying       disk      none    0      8    dsk20  [0/0/33]
>>    95:  19       ying       disk      none    0      8    dsk19  [0/0/32]
>>    96:  20       ying       disk      none    0      8    dsk18  [0/0/31]
>>    97:  21       ying       disk      none    0      8    dsk26  [0/0/41]
>>    98:  22       ying       disk      none    0      8    dsk25  [0/0/40]
>>    99:  23       ying       disk      none    2      1    dsk0   [1/0/0]
>>   100:  24       ying       disk      none    0      1    dsk1   [1/1/0]
>>   101:  25       ying       cdrom     none    0      1    cdrom0 [4/0/0]
>>bash-2.05# disklabel -r /dev/rdisk/dsk25a
>>disklabel: /dev/rdisk/dsk25a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk26a
>>disklabel: /dev/rdisk/dsk26a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk18a
>>disklabel: /dev/rdisk/dsk18a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk19a
>>disklabel: /dev/rdisk/dsk19a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk20a
>>disklabel: /dev/rdisk/dsk20a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk21a
>>disklabel: /dev/rdisk/dsk21a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk22a
>>disklabel: /dev/rdisk/dsk22a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk23a
>>disklabel: /dev/rdisk/dsk23a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk24a
>>disklabel: /dev/rdisk/dsk24a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk13a
>>disklabel: /dev/rdisk/dsk13a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk14a
>>disklabel: /dev/rdisk/dsk14a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk15a
>>disklabel: /dev/rdisk/dsk15a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk16a
>>disklabel: /dev/rdisk/dsk16a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk17a
>>disklabel: /dev/rdisk/dsk17a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk12a
>>disklabel: /dev/rdisk/dsk12a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk7a
>>disklabel: /dev/rdisk/dsk7a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk8a
>>disklabel: /dev/rdisk/dsk8a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk9a
>>disklabel: /dev/rdisk/dsk9a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk5a
>>disklabel: /dev/rdisk/dsk5a: I/O error
>>bash-2.05# disklabel -r /dev/rdisk/dsk4a
>># /dev/rdisk/dsk4a:
>>type: SCSI
>>disk: HSG80
>>label: clu_member1
>>flags:
>>bytes/sector: 512
>>sectors/track: 169
>>tracks/cylinder: 20
>>sectors/cylinder: 3380
>>cylinders: 579
>>sectors/unit: 1954604
>>rpm: 3600
>>interleave: 1
>>trackskew: 7
>>cylinderskew: 26
>>headswitch: 0           # milliseconds
>>track-to-track seek: 0  # milliseconds
>>drivedata: 0
>>
>>8 partitions:
>>#            size       offset    fstype  fsize  bsize   cpg  # ~Cyl values
>>   a:       262144            0     AdvFS                      #      0 - 77*
>>   b:      1690412       262144      swap                      #     77*- 
>> 577*
>>   c:      1954604            0    unused      0      0        #      0 - 
>> 578*
>>   d:            0            0    unused      0      0        #      0 - 0
>>   e:            0            0    unused      0      0        #      0 - 0
>>   f:            0            0    unused      0      0        #      0 - 0
>>   g:       819200       393216    unused      0      0        #    116*- 
>> 358*
>>   h:         2048      1952556       cnx                      #    577*- 
>> 578*
>>bash-2.05# disklabel -r /dev/rdisk/dsk3a
>># /dev/rdisk/dsk3a:
>>type: SCSI
>>disk: HSG80
>>label: clu_member2
>>flags:
>>bytes/sector: 512
>>sectors/track: 169
>>tracks/cylinder: 20
>>sectors/cylinder: 3380
>>cylinders: 579
>>sectors/unit: 1954604
>>rpm: 3600
>>interleave: 1
>>trackskew: 7
>>cylinderskew: 26
>>headswitch: 0           # milliseconds
>>track-to-track seek: 0  # milliseconds
>>drivedata: 0
>>
>>8 partitions:
>>#            size       offset    fstype  fsize  bsize   cpg  # ~Cyl values
>>   a:       262144            0     AdvFS                      #      0 - 77*
>>   b:      1690412       262144      swap                      #     77*- 
>> 577*
>>   c:      1954604            0    unused      0      0        #      0 - 
>> 578*
>>   d:            0            0    unused      0      0        #      0 - 0
>>   e:            0            0    unused      0      0        #      0 - 0
>>   f:            0            0    unused      0      0        #      0 - 0
>>   g:       819200       393216    unused      0      0        #    116*- 
>> 358*
>>   h:         2048      1952556       cnx                      #    577*- 
>> 578*
>>bash-2.05# disklabel -r /dev/rdisk/dsk2a
>># /dev/rdisk/dsk2a:
>>type: SCSI
>>disk: HSG80
>>label: Quorum Disk
>>flags:
>>bytes/sector: 512
>>sectors/track: 169
>>tracks/cylinder: 20
>>sectors/cylinder: 3380
>>cylinders: 53
>>sectors/unit: 177686
>>rpm: 3600
>>interleave: 1
>>trackskew: 7
>>cylinderskew: 26
>>headswitch: 0           # milliseconds
>>track-to-track seek: 0  # milliseconds
>>drivedata: 0
>>
>>8 partitions:
>>#            size       offset    fstype  fsize  bsize   cpg  # ~Cyl values
>>   a:       177686            0    unused      0      0        #      0 - 52*
>>   b:            0            0    unused      0      0        #      0 - 0
>>   c:       177686            0    unused      0      0        #      0 - 52*
>>   d:            0            0    unused      0      0        #      0 - 0
>>   e:            0            0    unused      0      0        #      0 - 0
>>   f:            0            0    unused      0      0        #      0 - 0
>>   g:            0            0    unused      0      0        #      0 - 0
>>   h:         2048       175638       cnx                      #     51*- 52*
>>bash-2.05#
>



                 reply	other threads:[~2003-04-21 19:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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