Installing and Managing HP-UX Virtual Partitions (includes A.04.02)

Crash Processing and Recovery
Crash Processing
Chapter 9
234
Or if the kernel configuration used in the last boot is different from the current kernel
configuration, use the -c option. For example, if the saved kernel configuration is named kc.custom,
the command is
# kconfig -c kc.custom crashconfig
For more information on using the kconfig command, see the manpages kconfig (5) and kconfig
(1M)
Step 2. Obtain of list of dump devices, noting the DEVICE and OFFSET information:
# crashconf -v
DEVICE OFFSET(kB) SIZE(kB) LOGICAL VOL. NAME
-------------- ---------- --------- ------------- --------------
31:0X022000 314208 4194304 64:0X000002 /dev/vg00/lvol2
The DEVICE is 31:0X022000, and the OFFSET is 314208.
Step 3. Map the minor number from the DEVICE information to a device file:
# ls -l /dev/dsk | grep "022000"
brw-r----- 1 bin sys 31 0x022000 Oct 13 2001 c2t2d0
The corresponding device file is /dev/dsk/c2t2d0.
Step 4. Using the OFFSET information and the device file, save the dump to /var/adm/crash:
# savecrash -r -f -D /dev/dsk/c2t2d0 -O 314208