Copying a dump to a file

Use the zgetdump command to copy a list-directed dump file from an ECKD DASD 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 ECKD DASD partition /dev/disk/by-path/ccw-0.0.1004-part1 and you want to copy it to a file named dump.elf:
# zgetdump /dev/disk/by-path/ccw-0.0.1004-part1 > dump.elf

What to do next

You can use zgetdump to display information about the dump. See Checking whether a SCSI dump is valid and printing the dump header for an example. For general information about zgetdump, see The zgetdump tool or the man page.