This output identifies the default dump configuration for a system running
the Solaris 10 release.

Modify the crash dump configuration.

# dumpadm -ccontent-ddump-device-mnnnk | nnnm | nnn%-n-ssavecore-dir

-ccontent

Specifies the type of data to dump. Use kernel to
dump of all kernel memory, all to dump all of memory, or curproc, to dump kernel memory and the memory pages of the process
whose thread was executing when the crash occurred. The default dump content
is kernel memory.

-ddump-device

Specifies the device that stores dump data temporarily as
the system crashes. The primary swap device is the default dump device.

-mnnnk | nnnm | nnn%

Specifies the minimum free disk space for saving crash dump
files by creating a minfree file in the current savecore directory. This parameter can be specified in Kbytes (nnnk),
Mbytes (nnnm) or file system size percentage (nnn%).
The savecore command consults this file prior to writing
the crash dump files. If writing the crash dump files, based on their size,
would decrease the amount of free space below the minfree threshold,
the dump files are not written and an error message is logged. For information
on recovering from this scenario, see How to Recover From a Full Crash Dump Directory (Optional).

-n

Specifies that savecore should not be run
when the system reboots. This dump configuration is not recommended. If system
crash information is written to the swap device, and savecore is
not enabled, the crash dump information is overwritten when the system begins
to swap.

-s

Specifies an alternate directory for storing crash dump files.
The default directory is /var/crash/hostname where hostname is the output of the uname -n command.

Example 17–1 Modifying a Crash Dump Configuration

In this example, all of memory is dumped to the dedicated dump device, /dev/dsk/c0t1d0s1, and the minimum free space that must be available
after the crash dump files are saved is 10% of the file system space.

How to Recover From a Full Crash Dump Directory
(Optional)

In this scenario, the system crashes but no room is left in the savecore directory, and you want to save some critical system crash dump
information.

Log in as superuser or assume an equivalent
role after the system reboots.

Clear out the savecore directory, usually /var/crash/hostname, by removing existing
crash dump files that have already been sent to your service provider. Or,
run the savecore command and specify an alternate directory
that has sufficient disk space. See the next step.

Manually run the savecore command
and if necessary, specify an alternate savecore directory.