Network Appliance(TM)

Manual Pages


Table of Contents

NAME

savecore - save a core dump

SYNOPSIS

savecore

DESCRIPTION

savecore is meant to be called near the end of the initialization file /etc/rc. Its function is to save the core dump of the system (assuming one was made) and to write the panic string to /etc/messages. savecore saves the core dump in two files /etc/crash/core.n, and /etc/crash/core.n-small, where n is determined by the /etc/crash/bounds file.

The -small core file contains a subset of the memory image that Network Appliance can use for initial troubleshooting. Network Appliance will only need to look at the large core file if the problem cannot be determined by examining the small one.

Before savecore writes out a core image, it reads a number from the file /etc/crash/minfree. If the number of free kilobytes in the filesystem after saving the core would be less than the number obtained from minfree, the core dump is not saved. If minfree does not exist, savecore always writes out the core file (assuming that a core dump was taken).

FILES

/etc/crash/core.* saved core files
/etc/crash/core.*-small
saved small core files
/etc/crash/bounds suffix for next core file /etc/crash/minfree free KB in FS to maintain after savecore

CLUSTER CONSIDERATIONS

If the takeover filer in a cluster has the savecore command in its /etc/rc file, it can save the cores created by its partner when its partner crashes. The cores are saved to the partner's /etc/crash directory.

SEE ALSO

na_partner(1), na_rc(5).


Table of Contents