initdumpfs(1M) initdumpfs(1M)
NAME
initdumpfs - create file system for large memory dumps
SYNOPSIS
initdumpfs [NONE | [-f] partition]
DESCRIPTION
Memory dumps can be very large on systems that have an EHIOS board
installed. These memory dumps should be accommodated in a single file
system. The initdumpfs command supports the system administrator in
creating this file system and performs consistency checks.
When called without options, initdumpfs outputs the current settings
in relation to the memory dump settings and interactively prompts the
system administrator for the partition where the file system is to be
created.
initdumpfs performs the following checks:
- Are there any memory dumps under /var/crash?
- Is the partition being used for any other purposes?
- Is the data area behind the partition at least 250 Mbytes in size
or, in the case of large memory configurations, is it greater than
one sixth the size of the main memory?
If no errors are established, a mkfs command is executed for this par-
tition and the partition is mounted as a file system under /var/crash.
The relevant entries for automatic actions following the reboot are
made in the respective configuration files.
If you specify the argument NONE for initdumpfs, the system adminis-
trator decides that no further memory dumps are to be saved. This
means that panics can no longer be analyzed.
If the -f (forced) option is used or if the partition is specified
directly, initdumpfs does not run interactively.
initdumpfs initializes several parameters from /etc/default/dumpsave:
DUMPDIR=/var/crash
DUMPARTITION=partition or NONE
DIAGNOSTICS
The initdumpfs command has the return code zero, if the settings were
made correctly; otherwise, a return code other than zero is supplied
and an appropriate error message is issued.
Page 1 Reliant UNIX 5.44 Printed 11/98
initdumpfs(1M) initdumpfs(1M)
Error codes:
1 Interactive mode aborted.
2 Error creating file system.
3 Files available under /var/crash.
4 Incorrect number of parameters.
5 Bad partition specification.
6 No suitable device entry for the partition.
8 Data area for the partition too small.
FILES
/etc/default/dumpsave
SEE ALSO
dumpsave(1M), mkfs(1M), dumpsave(4).
Page 2 Reliant UNIX 5.44 Printed 11/98