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

Administering a System: Booting and Shutdown
Abnormal System Shutdowns
Chapter 5544
Total pages included in dump: 6208
DEVICE OFFSET(kB) SIZE (kB) LOGICAL VOL. NAME
------------ ---------- ---------- ------------ -------------------------
31:0x00d000 52064 262144 64:0x000002 /dev/vg00/lvol2
----------
262144
Step 2. Multiply the number of pages listed in Total pages included in dump
by the page size (4 KB), and add 25 percent for a margin of safety to give
you an estimate of how much dump space to provide. For the preceding
example, the calculation is:
(6208 x 4 KB) x 1.25 = approximately. 30 MB
Kernel Dump Device Definitions If you are running an HP-UX
release prior to Release 11.0, and/or you are concerned about capturing
dumps for crashes that occur during the early stages of the boot process,
you need to define sufficient dump space in your kernel configuration.
Using SAM to
Configure Dump
Devices into the
Kernel
The easiest way to configure into the kernel which devices can be used as
dump devices is to use SAM. The dump device definition screen is located
in SAM’s Kernel Configuration area. After changing the dump device
definitions, you must build a new kernel and reboot the system using the
new kernel file to make the changes take effect.
Step 1. Run SAM and select the Kernel Configuration area.
Step 2. From the Kernel Configuration area, select the Dump Devices area.
A list of dump devices that will be configured into the next kernel built
by SAM is displayed. This is the list of pending dump devices.
Step 3. Use SAM’s Action menu to add, remove or modify devices or logical
volumes until the list of pending dump devices is as you would like it to
be in the new kernel.
NOTE The order of the devices in the list is important. Devices are used in
reverse order from the way they appear in the list. The last device in the
list is used as the first dump device.
Step 4. Follow the SAM procedure for building a new kernel.