How to upload an ONTAP 9 core file for analysis
Applies to
- ONTAP 9
- Core Dump
Description
- A node has experienced a panic or a forced panic has been triggered and a core file (an in-memory image) has been created.
- The core needs to be uploaded to NetApp for analysis
- Core files are typically quite large, in the tens to hundreds of GB
- Depending on the size of the core file and overall WAN throughput, core uploads can take an extended amount of time to complete, this is especially true for systems with large amounts of RAM (hundreds of GB)
- Generally, it is recommended to perform the giveback as soon as possible after a core dump for software-related issues
- More information found at Manage core dumps
Procedure
Core Dump File Identification
- To determine the core name, run the
system node coredump show
command to find the appropriate file:
Example
::> system node coredump show
Node Core Name Saved Panic Time
----- ------------------------------------- ------- -----------------
node1
core.538302378.2025-04-09.20_47_44.nz true 4/09/2025 03:18:45
::> system node coredump show -node local
Node:Type Core Name Saved Panic Time
----------- ------------------------------------------- ----- -----------------
node:kernel core.538302378.2025-04-09.20_47_44.nz true 4/09/2025 15:05:01
- Verify that the core has been saved true before starting the upload process.
- If the core does not show as saved true use the system node coredump status command to view the current status and wait until the save is complete.
-
Lookup the Core file segments, system node coredump segment show you will need these later.
Example
::> node coredump segment show
Node: Node01
Segment Directory: core.538302378.2025-04-09.20_47_44
Panic Time: 4/9/2025 16:47:44
Number of Segments: 1
Segment File Name:
core.538302378.2025-04-09.20_47_44.nvram.nz
core.538302378.2025-04-09.20_47_44.tagstore.nz
- Upload the files. There are several methods for transferring a core from ONTAP to NetApp as outlined below.
Methods for Copying and Uploading the Core File
Method 1: Upload using AutoSupport
- This is now the recommended method for uploading a core file to NetApp.
Note:
- Transporting AutoSupport through HTTPS is required for this feature.
- To verify HTTPS is being used, run the following command:
::> system node autosupport show -fields transport
- Start the upload of the main core file by using the
system node autosupport invoke-core-upload
command as below. (case number is required)
Core type | Command |
Main Core file
|
|
Segments (if available)
|
|
Note: It will generate an AutoSupport message Example: |
- To view the progress of the core upload, use the following commands:
- First, determine the sequence number (seq-num) of the core upload AutoSupport message:
::> autosupport history show -node <node name> -fields seq-num,subject
- Then, input the node name and the seq-num to determine the upload status:
::> autosupport history show-upload-details -node <node name> -seq-num <seq-num>
- The
system node autosupport history
show command displays information about the 50 most recent AutoSupport messages sent by nodes in the cluster.
::> system node autosupport history show -node <nodename>
Example
::> system node autosupport history show -node node1
Seq Attempt Percent Last
Node Num Destination Status Count Complete Update
------------ ----- ----------- -------------------- -------- -------- --------
node1
1324
smtp ignore 1 - 5/26/2020 00:44:48
http sent-successful 1 100 5/26/2020 00:45:02
noteto ignore 1 - 5/26/2020 00:44:48
Method 2: Service Processor Infrastructure (SPI) web interface
- If you must collect the core file before performing the giveback, you must use Method 2 and log in to the SPI interface to download the core
- If the node is still down but has booted to waiting for giveback, the core file should be available in the
core-dumps
folder for that node
Note:
If you cannot see the core file when accessing the SPI from cluster-mgmt LIF, access the SPI from the node-mgmt LIF that owns the core file.
- Access the Service Processor Infrastructure (SPI) web interface
-
Point the web browser to the IP address of the cluster management LIF SPI web service URL in the following format:
-
https://cluster-mgmt-LIF/spi
-
- The file will be located in the
core-dumps
folder for the specified node.
- Download the files from the root volume to a local workstation.
Main Core file | ![]() |
Segments (if available) |
|
- Once the file is on a local workstation, it can be uploaded using an available method described in How to upload a file to NetApp.
- Upload the Main Core file first
- Then upload the Core Segments (if available) in any order
- If needed, check How to upload a core file from a down node in clustered Data ONTAP
Method 3: Copy to an external USB device
Node Booted to ONTAP |
|
Node cannot Boot (LOADER) |
|
Method 4: SCP from the Cluster
Video Reference