HP-UX System Administrator's Guide: Logical Volume Management (762803-001, March 2014)

For more information, see lvcreate(1M).
After creating a logical volume to be used as a dump device, use the lvlnboot command with
the -d option to update the dump information used by LVM. If you created a logical volume /dev/
vg00/lvol2 for use as a dump area, update the boot information by entering the following:
# lvlnboot -d /dev/vg00/lvol2
3.9.1.2 Removing a Dump Logical Volume
To discontinue the use of a currently configured logical volume as a dump device, use the lvrmboot
command with the -d option. For example:
# lvrmboot -d /dev/vg00/lvol2
You can then use the logical volume for other purposes. To remove the logical volume completely,
see “Removing a Logical Volume” (page 60).
3.9.2 Administering dump Logical Volumes on non-root VGs
Ignite Cold installation sets the second LV of the root volume group (/dev/vg00/lvol2) as the
default dump device of the system. After the installation, you can further add LVs from the same
root VG as additional dump devices using the lvlnboot(1M) command. Beginning March 2013
release of HP-UX, you can also add LVs from the non-root VG (LVs from the VGs other than the
current booted one) as additional dump devices. The crashconf(1M) command can be used to
configure such LVs as additional dump devices.
NOTE: The lvlnboot(1M) command cannot be used for configuring LVs from the non-root VG.
Example:
# crashconf a /dev/vgsys/lvol1
NOTE: The root vg refers to the VG from which the system is currently booted.
To configure a logical volume as a dump device, you will have to turn on “Contiguous” allocation
policy using the lvcreate -C y command. In addition, the Bad Block Relocation must be turned
off using lvcreate r n/N command for 1.0 version logical volume to be configured as a
dump device.
Logical volume from any version of the volume group (1.0, 2.x) is supported as a dump device
through the crashconf(1M) command.
Snapshots and shared volume group logical volumes are not supported as dump devices.
You can configure more than one logical volume as dump.
3.10 Managing swap/dump on Logical volumes from non-root VG
When you configure logical volumes from volume group other than the current booted one (i.e.
non-root) as a swap/dump through swapon(1M)/crashconf(1M) respectively, the settings are not
persistent across reboots.
crashconf s will not mark your non-root LV as a persistent dump device. To configure them
persistently across reboots, you need to add an entry to the /etc/fstab file for each logical
volume.
Example:
To configure the non-root logical volume /dev/vgsys/lvol1 as swap device, add the following
entry to the /etc/fstab file:
/dev/vgsys/lvol1 / swap defaults 0 0
The HP-UX RC script execution during boot process configures all such swap/dump devices
mentioned in /etc/fstab file. See fstab(4) / swapon(1M) / crashconf(1M) manpages for further
details.
3.10 Managing swap/dump on Logical volumes from non-root VG 107