Copying a DASD dump to a file

Use the zgetdump command to copy a DASD 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 DASD device /dev/dasdc1 and you want to copy it to a file named dump_file:
# zgetdump /dev/dasdc1 > dump_file

What to do next

You can use zgetdump to display information about the dump. See Checking whether a DASD dump is valid and printing the dump header for an example.

For general information about zgetdump, see zgetdump - Copy and convert kernel dumps or the man page.