HP-UX Virtual Partitions Administrator Guide (includes A.05.08) (5900-1312, March 2011)

3. Remove the old information about root volume group.
vgexport /dev/vg00
You may have to remove/etc/lvmtab.
4. Prepare to import the root volume group (vg00).
mkdir /dev/vg00
mknod /dev/vg00/group c 64 0x000000
5. Import the root volume group (vg00). For example:
vgimport -m /mapfile.vg00 /dev/vg00 /dev/dsk/c1t1d0 /dev/dsk/c1t1d1
where the device filenames are obtained from the ioscan and vgscan above
6. Activate the root volume group (vg00):
vgchange -a y /dev/vg00
You may also have to cleanup and prepare LVM logical volume to be root, boot, primary
swap, or dump volume as follows:
lvrmboot -r /dev/vg00
lvlnboot -b /dev/vg00/lvol1
lvlnboot -r /dev/vg00/lvol3
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
mount
7. Verify that the hardware path for the boot device matches the primary boot path.
lvlnboot -v /dev/vg00
8. If the hardware path has not changed to the primary boot path, change it by running
lvlnboot with the recovery (-R) option. This step is normally not necessary.
lvlnboot -R /dev/vg00
9. Reboot the target virtual partition.
Resetting a Virtual Partition
Just as it is occasionally necessary to issue a hard reset (RS) or a soft reset (TOC) for a non-vPars
OS instance, it is occasionally necessary to issue similar resets for a vPars OS instance.
Hard Reset
On hard partition not running vPars, a hard reset cold boots the hard partition. To issue a hard
reset, the administrator types a Ctrl-B at the console to connect to the service processor and then
types the command RS (reset), at which time the hard partition cold boots.
On a hard partition running vPars, a hard reset will reset the hard partition--including the vPars
Monitor and all the virtual partitions.
To simulate a hard reset on only a virtual partition, from a running virtual partition, use vparreset
with the -h option. For example, if winona2 is hung, we can execute vparreset from the running
partition winona1:
winona1# vparreset -p winona2 -h
The -h option also inhibits the autoboot behavior (just like shutdown -h does); therefore -h can
be used to break out of a reboot loop. Because -h overrides the autoboot setting for that virtual
partition, the partition must be manually restarted via vparboot (e.g., winona1# vparboot -p
winona2).
Other virtual partitions are unaffected when one virtual partition is reset.
166 vPars Monitor and Shell Commands