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

Administering a System: Booting and Shutdown
Abnormal System Shutdowns
Chapter 5 547
The /etc/fstab File You can define entries in the fstab file to activate dump devices during
the HP-UX initialization (boot) process, or when crashconf reads the
file. The format of a dump entry for /etc/fstab looks like this:
devicefile_name
/ dump defaults 0 0
For example:
/dev/dsk/c0t3d0 / dump defaults 0 0
/dev/vg00/lvol2 / dump defaults 0 0
/dev/vg01/lvol1 / dump defaults 0 0
Define one entry for each device or logical volume you want to use as a
dump device.
NOTE Unlike dump device definitions built into the kernel, with run time dump
definitions you can use logical volumes from volume groups other than
the root volume group.
The crashconf
Command
You can also use the /sbin/crashconf command to add to, remove, or
redefine dump devices. There are several ways to do this:
Re-read the /etc/fstab file using crashconf’s -a option
Use device arguments with crashconf to configure the devices
With either of the preceding uses of crashconf, you can use the -r
option to specify that you want the new definitions to replace, rather
than add to, any previous dump device definitions.
Here are some crashconf examples.
Example 5-35 Add fstab Entries to Active Dump List
To have crashconf read the /etc/fstab file, adding any listed dump
devices to the currently active list of dump devices:
/sbin/crashconf -a
Example 5-36 Replace Active Dump List with fstab Entries
To have crashconf read the /etc/fstab file, replacing the currently
active list of dump devices with those defined in fstab:
/sbin/crashconf -ar