FW: FLASH! Digital Unix LSM Manual not updated for v4.0x behavior

From: Alan Davis <Alan.Davis_at_digital.com>
Date: Tue, 25 Aug 1998 19:34:29 -0400

The LSM manual section regarding moving diskgroups
from one system to another is INCORRECT for v4.0x.

Prior to v4.0x the disklabel was not updated by the
"voldisk rm" command. In v4.0 and above the disklabel
is reset to the default label for that device. This breaks
the instructions for moving diskgroups from one system to another.

If the customer needs to recover from this, it is NECESSARY to
know what the label was prior to the "voldisk rm" command, if it
was a simple disk, or if it was a sliced disk that used a non-default
layout what the layout of the partitions was.

NO DATA HAS BEEN LOST! As long as we can get the label back to it's
correct configuration.

Use the disklabel command to set the partitions to the correct
configuration. The "voldisk define" and "voldg import" will
then be able to see the disks and import them correctly. If the
disks were added to lsm using only the default commands, here are
the commands to restore the disks :

        voldisksetup <r*disk>
        voldisk define ....
        voldg import <dg>

If, for some reason this fails, the diskgroup may still be recovered,
but complete configuration information must be available. This may be
in "volprint -Aht" format, "volsave", or sys_check output.

Here is the section of the manual that is in error :

6.3.7 Moving Disk Groups Between Systems (Deporting and Importing)

Disk groups can be moved between systems. If all disks in a disk group are
moved from one system to another, then the disk group
can be used by the second system without having to respecify the
configuration.

The following steps describe how to move a disk group between systems.

   1.On the first system, close and unmount all volumes in the disk group,
then disable local access to the disk group with the
     following commands:

     # voldg deport diskgroupname
     # voldisk rm ... <------------- DON'T DO THIS
UNTIL DISKS HAVE BEEN REMOVED!!!!

   2.Move all the disks to the second system.

   3.Make the disks accessible with the command:

     # voldisk define diskname ...

   4.Enable local access to the disk group on the second system with the
following command:

     # voldg import diskgroupname

   5.Start all volumes in the disk group with the following command:

     # volrecover -g diskgroupname -sb
Received on Tue Aug 25 1998 - 23:35:25 NZST

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