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

Chapter 6 173
HP-UX System Recovery
“Expert” Recovery Using the Core Media
The file contains the following information:
If a card has been added to, or removed from, your system
since the original installation was completed,
there is a chance that the device file for the root disk has changed.
Consequently, before you run the LVM script ./lvmrec.scrpt
(Step 2, below), you should first recover /stand/ioconfig
from backup and reboot.
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 device file with 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:
/lvmrec.scrpt c0t6d0