Installing HP-UX 11.0 and Updating HP-UX 10.x to 11.0 HP 9000 Computers Edition 1

164 Chapter 6
HP-UX System Recovery
“Expert” Recovery Using the Core Media
INSTRUCTIONS to complete your LVM recovery:
The system must now be up now in "maintenance mode".
NOTE: In order for the following steps to lead to a successful
lvm recovery the LVM label information must be valid.
If the bootlif was updated from the RAM-based recovery system,
then "mkboot -l" has already been run to repair this label.
step 1. If the autofile was altered to force the system to boot in
maintenance mode, use "mkboot -a" to remove the "-lm" option.
Example:
to change "hpux -lm (52.6.0;0)/stand/vmunix"
to "hpux (52.6.0;0)/stand/vmunix"
use
mkboot -a "hpux (52.6.0;0)/stand/vmunix" /dev/rdsk/<device file>
NOTE Use lssf /dev/rdsk/* to match the device file with the boot address.
step 2. Run '/lvmrec.scrpt' to repair the following LVM
configuration information:
a. LVM records (lvmrec)
b. BDRA (Boot Data Reserve Area)
c. LABEL information
Requirement: The following files must reside on disk before
the script can complete:
a. /etc/lvmtab
b. /etc/fstab
c. /etc/lvmconf/<rootvg>.conf
d. all device files specified in /etc/fstab
To run '/lvmrec.scrpt' provide the device filename used to
access the bootlif as an argument to the script.
Example: