HP-UX HB v13.00 Ch-17 - vPars

HP-UX Handbook Rev 13.00 Page 28 (of 46)
Chapter 17 Virtual Partitions (vPars)
October 29, 2013
-b kernelpath boots the virtual partition using the kernel kernelpath, such as
/stand/vmunix.prev, instead of the default kernel /stand/vmunix.
-o boot_options boots the virtual partition using the options boot_options, such as -is for
single-user mode or -lm for LVM maintenance mode.
-B hardware_path boots the virtual partition using the disk device at the hardware_path
To boot the partition vpar2 into single-user mode:
MON> vparload -p vpar2 -o "-is"
To boot the partition vpar2 using the kernel /stand/vmunix.other:
MON> vparload -p vpar2 -b /stand/vmunix.prev
To boot the partition vpar2 using the disk device at 0/8/0/0.2.0:
MON> vparload -p vpar2 -B 0/8/0/0.2.0
Note: The option -b kernelpath allows you to change the target kernel for the next boot of
partition_name only. To make a permanent change to the partition database, use vparmodify.
For example, to change the partition database information so vpar2 always boots using
/stand/vmunix.other:
# vparmodify -p vpar2 -b /stand/vmunix.other
See the vparmodify(1M) manpage for more information on modifying the partition database.
bootpath
Displays the device from which the vPars Monitor (/stand/vpmon) was booted.
MON>bootpath
disk(0/0/2/0.6.0)
reboot
This command reboots the entire hard partition. Other hard partitions are not affected.
cat
cat <filename> [openonly]
This command displays the contents of a file. When openonly is specified, the message “open
succeeded” is printed only, if the monitor was able to open the filename. This command is
similar to the UNIX command cat. The file must be a text file on an HFS file system. /stand is
the default directory. To display the file /stand/notes.txt