HP-UX HB v13.00 Ch-08 - Crash Dumps

HP-UX Handbook Rev 13.00 Page 12 (of 38)
Chapter 08 Crash Dumps
October 29, 2013
/dev/dsk/c0t6d0 (10/0.6.0) -- Boot Disk
/dev/dsk/c0t5d0 (10/0.5.0)
Root: lvol1 on: /dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c0t6d0
No Dump Logical Volume configured
Option -d sets the dump device:
# lvlnboot -d lvol2 /dev/vg00
# lvlnboot -d lvdump /dev/vg00
Check it:
# lvlnboot -v | grep dump
Dump: lvol2 on: /dev/dsk/c0t6d0, 0
Dump: lvdump on: /dev/dsk/c0t6d0, 1
If the dump devices are configured according your needs you have to reboot in order to
make the changes take effect. The message buffer displays all valid dumpdevices during
reboot:
# dmesg | grep DUMP
Logical volume 64, 0x2 configured as DUMP
Logical volume 64, 0x9 configured as DUMP
If you like to use a dump device for other purposes you have to deconfigure it using
lvrmboot. Only the last dump device can be deconfigured:
# lvrmboot -d lvdump /dev/vg00
NOTE: An entry in the kernel (/stand/vmunix) is necessary if you like to have more than
one (traditional) dump device with LVM. This entry is set by default:
# strings /stand/vmunix | grep "dump lvol"
dump lvol
As of UX 11.00 you have the possiblility to configure additional dump devices online, i.e.
without the need of a reboot. These dump LVs must not be configured using lvlnboot d but
with crashconf(1M). You are no longer restricted to choose a dump LV from the root VG only.
The configuration of such dump devices is similar to the configuration of secondary swap
devices. Here’s how to configure a dump device online:
Add a line for each dump device to /etc/fstab, e.g.:
/dev/vg01/lvdump / dump defaults 0 0
Then runcrashconf a to activate it and crashconf to verify that it is enabled.
Configuring non-root dump devices is similar to configuring secondary swap devices.
Refer to the crashconf(1m) and fstab manual pages for details.