|
| |
|
| NOTE: Version 2.x volume groups do not support dump
logical volumes. |
|
| |
|
This section describes LVM information about using
logical volumes as dump devices. For information on configuring and
managing dump devices, see HP-UX System Administrator's
Guide: Overview.
Creating a Dump Logical Volume |
|
To create a dump logical volume, use the lvcreate command. You must set a contiguous allocation
policy using the -C y option and disable bad block
relocation using the -r n option. For example:
# lvcreate -C y -r n -n dump_lvol /dev/vgnn |
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 |
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”.