Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Administering a System: Managing Disks and Files
Managing Swap and Dump
Chapter 6 673
To create a dump logical volume, you first use the lvcreate command.
You must set a contiguous allocation policy using the -C y option and
specify no bad block relocation using -r n. See lvcreate (1M) for more
information.
When configuring a logical volume as a dump device, you must next use
lvlnboot (1M) with the -d option to update the BDRA (Boot Data
Reserved Area). The BDRA maintains the information that the kernel
requires about each bootable disk within the root volume group.
Suppose, for example, you have created a logical volume
/dev/vg00/lvol2 for use as a dump area.
To update the boot information, enter:
lvlnboot -d lvol2 /dev/vg00
It is possible to use any secondary swap logical volume as a dump area as
well, provided the swap area is in the root volume group.
To discontinue the use of a currently configured logical volume as a dump
device, you use lvrmboot (1M) also with the -d option.
CAUTION To prevent possible file corruption, a dump logical volume (or a swap
logical volume used for dump) must lie within the first two GB on the
physical volume. The lvlnboot command will not allow a dump logical
volume to be configured that exceeds two GB (but it will allow such a
swap logical volume to be so configured).
Before the above changes to the BDRA take effect, you must either add
(in the case of lvlnboot) or remove (in the case of lvrmboot) the
following line within the system configuration file (/stand/system by
default) and then reconfigure the kernel:
dump lvol
For more information on the system configuration file, see config (1M).
After reconfiguring the kernel, you must reboot the system.