If your system crashes due to an unexpected event, then core dump would be created and written to the configured dump device

Traditionally the default primary dump device for system dumps was your paging space i.e /dev/hd6.

You can also configure, your own dump device for both primary and secondary.

The copy directory by default is /var/adm/ras with the file-name:vmcore..BZ , where X is a sequence number. The dump file is a BZ (BZIP) and not a Z compressed file format.

LIST

Lists current dump destination
sysdumpdev -l

Estimates dumpsize of the current system in bytes.
sysdumpdev -e

Displays information about the previous dump.
sysdumpdev -L

Display latest system dump, its size and location
sysdumpdev -z

Analyse dump file
echo “stat\n status\n t -m” | crash /var/adm/ras/vmcore.0

checks if dump device and copy directory are able to receive the system dump
/usr/lib/ras/dumpcheck

CHANGE

To change the primary device use
sysdumpdev -P -p

To change the secondary device use
sysdumpdev -P -s

To change the copy directory use
sysdumpdev -D

To change the always dump condition use
sysdumpdev -k for false, sysdumpdev -K for true

To change the type of dump use
sysdumpdev -t

Important Note:- Please do not run the below commands because system would be brought down immediately and start the dump process. These commands are User-controlled system dump

Starts a dump and writes to the primary dump device.
sysdumpstart -p

Starts a dump and writes to the secondary dump device.
sysdumpstart -s
As this process is initiated, the system LED panel or HMC screen, on Power box displays 00c2. This indicates that the dump is in progress.
Upon the restart of bootystem, the error log could contain the following entries:

# errpt
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
A6DF45AA 1027180611 I O RMCdaemon The daemon is started.
67145A39 1027180411 U S SYSDUMP SYSTEM DUMP
F48137AC 1027180411 U O minidump COMPRESSED MINIMAL DUMP
A6DF45AA 1027180411 I O RMCdaemon The daemon is started.
9DBCFDEE 1027180511 T O errdemon ERROR LOGGING TURNED ON

Advertisements