Please see this


Contents

- INDEX
- HP-UX Index
- Solaris
- Linux Index
- Other Unix types
- General Unix
- Unix Networking
- Unix Scripts
- Unix databases

Associated Information

- none

Useful Links

- HP-UX Online Manuals
- HP-UX FAQ
- HP-UX Mailing List Archive
- HP-UX US User Group
- HP-UX UK User Group
- HP-UX Public Domain Software

Changing the dump area

HP-UX 10.X

  1. Create LV using lvcreate with "-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


Copyright 2000 Intronet Computers Ltd
Email: Intronet Computers for enquiries