HP-UX 10.X

 1. Create LV using lvcreatewith "-C y" and "-r n " options (contiguous, no
    bad block relocation)
 2. update BDRA info using lvlnboot with -d flag
    e.g. lvlnboot -d lvol2 /dev/vg00
 3. Change /stand/system so statement dump on lvol; exists and rebuild_the
    kernel then reboot

If a crash occurs, savecore is executed as part of the start up routine and the dump is written to /var/adm/crash. /var/adm/crash has to be at least the size of memory.

HP-UX 11.X

The lvlnboot method as detailed above can still be used with HP-UX 11. However, a new command crashconf can be used to configure dump devices.

The command crashconf -a will configure all logical volumes marked as dump in /etc/fstab as dump devices. These logical volumes must still be contiguous and no bad block rellocation set. Usually, these will be set at boot time by configuring /etc/rc.config.d/crashconf

Under HP-UX 11, what information is saved in the dump is configurable so normally /var/adm/crash will be smaller than memory. To calculate the size required use crashconf -v while the system is under normal load and add 25% to the figure given.

savecrash has replaced savecore and can be configured in /etc/rc.config.d/savecrash

Note: For HP-UX 9.x systems, the dump is saved to /tmp/syscore. For information on reading the dump, see Extracting_information_from_a_core dump

Recent Changes