Copying an NVMe dump to a file

Use the zgetdump command to copy an NVMe dump to a file in the file system.

About this task

By default, the zgetdump tool takes the dump device as input and writes its contents to standard output. To write the dump to a file system, you must redirect the output to a file.

Procedure

Assuming that the dump is on an NVMe partition /dev/nvme0n1p1 and you want to copy it to a file named dump.elf:
# zgetdump /dev/nvme0n1p1 > dump.elf

What to do next

You can use zgetdump -i to display information about the dump. See Printing the NVMe dump header for an example. For general information about zgetdump, see The zgetdump tool or the man page.