Unexpected LSm problems on System Upgrade

From: Bruce B. Platt <bbp_at_comport.com>
Date: Thu, 10 Jun 1999 16:42:21 -0400

Last week I posted a note regarding upgrading directly from V3.0g to V4.0d
in which I asked for advice
on the best way to proceed in a non-LSM configuration.

Well, after a huge base of brain-paralysis on my part (and some cockpit
errors as well), we upgraded the system and then
realized that despite what we thought LSM was on the old system. I know I
should have actually looked instead of taking the word of the
system manager.

There are no longer any vdumps available from which to restore critical
files. There is a tar file which contains the contents of /dev. There is
no cpoy of the saved LSM configuration database available as no one saved
the configuration. I know, I know.....

I have managed to reconstruct most of what the LSM configuration was, but
have not been able to conclude the work due to not knowing the answers to
the questions which I am about to ask.

I was able to put the contents of some of /dev/vol all of /etc/vol onto
the V4.0d version of the system, and none of /dev/rvol onto the new system.

After getting LSM to start, I see the following from volprint -htA (an
excerpt)

Disk group: rootdg

DG NAME GROUP-ID
DM NAME DEVICE TYPE PRIVLEN PUBLEN PUBPATH
V NAME USETYPE KSTATE STATE LENGTH READPOL PREFPLEX
PL NAME VOLUME KSTATE STATE LENGTH LAYOUT ST-WIDTH MODE
SD NAME PLEX PLOFFS DISKOFFS LENGTH DISK-NAME DEVICE

dg rootdg 843265724.1025.alphany1

dm re1h re1h simple 512 4123136 /dev/rre1h
dm re2g - - - - -

v sybmaster fsgen DISABLED ACTIVE 102400 SELECT -
pl sybmaster-01 sybmaster DISABLED ACTIVE 102400 CONCAT - RW
sd re1h-01 sybmaster-01 0 0 102400 re1h re1h

v sybprocs fsgen DISABLED ACTIVE 102400 SELECT -
pl sybprocs-01 sybprocs DISABLED ACTIVE 102400 CONCAT - RW
sd re1h-02 sybprocs-01 0 102400 102400 re1h re1h


Question 1:

The contents of /etc/vol/type fsgen now contain:

/etc/vol/type/fsgen:
total 8
drwxr-xr-x 4 bin bin 8192 Jun 9 11:25 fs.d
lrwxr-xr-x 1 root bin 32 Jun 9 12:00 volinfo ->
../../../../usr/sbin/gen/volinfo
lrwxr-xr-x 1 root bin 28 Jun 9 12:00 volmake ->
../../../../sbin/gen/volmake
lrwxr-xr-x 1 root bin 32 Jun 9 12:00 volmend ->
../../../../usr/sbin/gen/volmend
lrwxr-xr-x 1 root bin 30 Jun 9 12:00 volplex ->
../../../../sbin/fsgen/volplex
lrwxr-xr-x 1 root bin 36 Jun 9 12:00 volresize ->
../../../../usr/sbin/fsgen/volresize
lrwxr-xr-x 1 root bin 26 Jun 9 12:00 volsd ->
../../../../sbin/gen/volsd
lrwxr-xr-x 1 root bin 27 Jun 9 12:00 volume ->
../../../../sbin/gen/volume

/etc/vol/type/fsgen/fs.d:
total 16
drwxr-xr-x 2 bin bin 8192 Jun 9 12:00 advfs
drwxr-xr-x 2 bin bin 8192 Jun 9 12:00 ufs

/etc/vol/type/fsgen/fs.d/advfs:
total 0
lrwxr-xr-x 1 root bin 27 Jun 9 12:00 volsync ->
../../../../../../sbin/sync

/etc/vol/type/fsgen/fs.d/ufs:
total 0
lrwxr-xr-x 1 root bin 27 Jun 9 12:00 volsync ->
../../../../../../sbin/sync

with similar entries for /etc/vol/type/gen.

This is the old V3.2G structure. I assume I can just replace all these
links with the correct ones from V4.0d.

Comments?

Question 2:

The new system is missing entries for the sybase database like the
following from the tar file listing from the v3.2g system which is available:

When sybase tries to start it needs some of these entries.

Am I correct in thinking that I can do the following command to get them
onto the V4.0d system?

tar xR "$DEVLISTFILE" where $DEVLISTFILE is the name of a file
containing the following file names in the form:

/dev/volconfig
/dev/vol
 and so forth?

Question 3 is below the list:

crw-r--r-- 13/0 0 Sep 20 1996:16 1996 /dev/volconfigcharacter
device 41, 0
crw-r--r-- 13/0 0 Sep 20 1996:16 1996 /dev/voleventcharacter
device 41, 1
crw-r--r-- 13/0 0 Sep 20 1996:16 1996 /dev/voliodcharacter
device 41, 2
crw-r--r-- 13/0 0 Sep 20 1996:16 1996 /dev/volinfocharacter
device 41, 3
drwxr-xr-x 13/0 0 Mar 9 1998:27 1998 /dev/vol
drwxr-xr-x 13/0 0 Mar 9 1998:27 1998 /dev/vol/rootdg
brw------- 12/26 0 Sep 20 1996:03 1996
/dev/vol/rootdg/sybmasterblock device 40, 5
brw------- 12/26 0 Sep 20 1996:54 1996
/dev/vol/rootdg/sybprocsblock device 40, 6
brw------- 12/26 0 Sep 20 1996:41 1996
/dev/vol/rootdg/sybtempdbblock device 40, 7
brw------- 12/26 0 Jul 9 1997:11 1997
/dev/vol/rootdg/sybtempdb_01block device 40,8
brw------- 12/26 0 Mar 9 1998:28 1998
/dev/vol/rootdg/sybtempdb_02block device 40,9
brw------- 12/26 0 Mar 9 1998:07 1998
/dev/vol/rootdg/sybtempdb_03block device 40, 10
brw------- 12/26 0 Mar 9 1998:30 1998
/dev/vol/rootdg/sybtempdb_04block device 40, 11
brw------- 12/26 0 Sep 20 1996:03 1996 /dev/vol/sybmasterblock
device 40, 5
brw------- 12/26 0 Sep 20 1996:54 1996 /dev/vol/sybprocsblock
device 40, 6
brw------- 12/26 0 Sep 20 1996:41 1996 /dev/vol/sybtempdbblock
device 40, 7
brw------- 12/26 0 Jul 9 1997:11 1997 /dev/vol/sybtempdb_01block
device 40, 8
brw------- 12/26 0 Mar 9 1998:28 1998 /dev/vol/sybtempdb_02block
device 40, 9
brw------- 12/26 0 Mar 9 1998:07 1998 /dev/vol/sybtempdb_03block
device 40, 10
brw------- 12/26 0 Mar 9 1998:30 1998 /dev/vol/sybtempdb_04block
device 40, 11
drwxr-xr-x 13/0 0 Mar 9 1998:27 1998 /dev/rvol
drwxr-xr-x 13/0 0 Mar 9 1998:27 1998 /dev/rvol/rootdg
crw------- 12/26 0 Sep 21 1996:51 1996
/dev/rvol/rootdg/sybmastercharacter device 40, 5
crw------- 12/26 0 Sep 21 1996:45 1996
/dev/rvol/rootdg/sybprocscharacter device 40, 6

crw------- 12/26 0 Sep 21 1996:28 1996
/dev/rvol/rootdg/sybtempdbcharacter device 40, 7
crw------- 12/26 0 Jul 9 1997:30 1997
/dev/rvol/rootdg/sybtempdb_01character device 40, 8
crw------- 12/26 0 Mar 9 1998:23 1998
/dev/rvol/rootdg/sybtempdb_02character device 40, 9
crw------- 12/26 0 Mar 9 1998:13 1998
/dev/rvol/rootdg/sybtempdb_03character device 40, 10
crw------- 12/26 0 Mar 9 1998:06 1998
/dev/rvol/rootdg/sybtempdb_04character device 40, 11
crw------- 12/26 0 Sep 20 1996:44 1996
/dev/rvol/sybmastercharacter device 40, 5
crw------- 12/26 0 Sep 20 1996:54 1996
/dev/rvol/sybprocscharacter device 40, 6
crw------- 12/26 0 Sep 20 1996:41 1996
/dev/rvol/sybtempdbcharacter device 40, 7
crw------- 12/26 0 Jul 9 1997:11 1997
/dev/rvol/sybtempdb_01character device 40, 8
crw------- 12/26 0 Mar 9 1998:28 1998
/dev/rvol/sybtempdb_02character device 40, 9
crw------- 12/26 0 Mar 9 1998:07 1998
/dev/rvol/sybtempdb_03character device 40, 10
crw------- 12/26 0 Mar 9 1998:30 1998
/dev/rvol/sybtempdb_04character device 40, 11
drwxr-xr-x 13/0 0 Jul 6 1998:07 1998 /dev/plex
drwxr-xr-x 13/0 0 Jul 6 1998:07 1998 /dev/plex/rootdg
crw------- 12/26 0 Mar 9 1998:28 1998
/dev/plex/rootdg/sybtempdb_0-02character device 42, 0
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/rootdg/sybtempdb_0-03character device 42, 1
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/rootdg/sybtempdb_0-04character device 42, 2
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/rootdg/sybmaster-01character device 42, 3
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/rootdg/sybprocs-01character device 42, 4
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/rootdg/sybtempdb-01character device 42, 5
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/rootdg/sybtempdb_0-01character device 42, 6
crw------- 12/26 0 Mar 9 1998:28 1998
/dev/plex/sybtempdb_0-02character device 42, 0
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/sybtempdb_0-03character device 42, 1
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/sybtempdb_0-04character device 42, 2
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/sybmaster-01character device 42, 3
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/sybprocs-01character device 42, 4
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/sybtempdb-01character device 42, 5
crw------- 12/26 0 Jul 6 1998:07 1998
/dev/plex/sybtempdb_0-01character device 42, 6
crw-rw-rw- 13/0 0 Feb 10 1998:23 1998 /dev/nrmt0acharacter
device 9, 4103
crw-rw-rw- 13/0 0 Feb 10 1998:23 1998 /dev/rmt1lcharacter device
9, 16384
crw-rw-rw- 13/0 0 Jun 4 10:10:07 1999 /dev/rmt1hcharacter device
9, 16386
crw-rw-rw- 13/0 0 Feb 10 1998:23 1998 /dev/rmt1mcharacter device
9, 16388
crw-rw-rw- 13/0 0 Feb 10 1998:23 1998 /dev/rmt1acharacter device
9, 16390
crw-rw-rw- 13/0 0 Feb 10 1998:23 1998 /dev/nrmt1lcharacter
device 9, 16385
crw-rw-rw- 13/0 0 Jun 2 12:46:31 1999 /dev/nrmt1hcharacter
device 9, 16387
crw-rw-rw- 13/0 0 Feb 10 1998:23 1998 /dev/nrmt1mcharacter
device 9, 16389
crw-rw-rw- 13/0 0 Feb 10 1998:23 1998 /dev/nrmt1acharacter
device 9, 16391

Question 3:

If none of the above are feasible, can you think of anything beyond the
advice in the LSM manual chapter 14 for recovery?

Thanks in advance and I will summarize both this and the horror of what
went wrong to begin with.

Regards,

Bruce

+--------------------------------------+
Bruce B. Platt, Ph.D.
Comport Consulting Corporation
78 Orchard Street, Ramsey, NJ 07446
Phone: 201-236-0505 Fax: 201-236-1335
bbp_at_comport.com, bruce_at_ bruce.platt_at_
OR, bruce_at_bbplatt.com
Received on Thu Jun 10 1999 - 20:45:07 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT