Skip to main content

Manage core dumps (cluster administrators only) in ONTAP

Contributors netapp-dbagwell netapp-ahibbard netapp-aherbin netapp-aaron-holt netapp-barbe

When a node panics, a core dump occurs and the system creates a core dump file that technical support can use to troubleshoot the problem. You can configure or display core dump attributes. You can also save, display, segment, upload, or delete a core dump file.

You can manage core dumps in the following ways:

  • Configuring core dumps and displaying the configuration settings

  • Displaying basic information, the status, and attributes of core dumps

    Core dump files and reports are stored in the /mroot/etc/crash/ directory of a node. You can display the directory content by using the system node coredump commands or a web browser.

  • Saving the core dump content and uploading the saved file to a specified location or to technical support

    ONTAP prevents you from initiating the saving of a core dump file during a takeover, an aggregate relocation, or a giveback.

  • Deleting core dump files that are no longer needed

Commands for managing core dumps

You use the system node coredump config commands to manage the configuration of core dumps, the system node coredump commands to manage the core dump files, and the system node coredump reports commands to manage application core reports.

Learn more about the commands described in this topic in the ONTAP command reference.

If you want to…​ Use this command…​

Configure core dumps

system node coredump config modify

Display the configuration settings for core dumps

system node coredump config show

Display basic information about core dumps

system node coredump show

Manually trigger a core dump when you reboot a node

system node reboot with both the -dump and -skip-lif-migration-before-reboot parameters

Note

The skip-lif-migration-before-reboot parameter specifies that LIF migration prior to a reboot will be skipped.

Manually trigger a core dump when you shut down a node

system node halt with both the -dump and -skip-lif-migration-before-shutdown parameters

Note

The skip-lif-migration-before-shutdown parameter specifies that LIF migration prior to a shutdown will be skipped.

Save a specified core dump

system node coredump save

Save all unsaved core dumps that are on a specified node

system node coredump save-all

Generate and send an AutoSupport message with a core dump file you specify

system node autosupport invoke-core-upload

Note

The -uri optional parameter specifies an alternate destination for the AutoSupport message.

Display status information about core dumps

system node coredump status

Delete a specified core dump

system node coredump delete

Delete all unsaved core dumps or all saved core files on a node

system node coredump delete-all

Display application core dump reports

system node coredump reports show

Delete an application core dump report

system node coredump reports delete

Related information

ONTAP command reference