Copying a SCSI dump to a file

Use the zgetdump command to copy a SCSI 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 SCSI disk /dev/mapper/36005076303ffd40100000000000020c0-part1 and you want to copy it to a file named dump.elf:
# zgetdump /dev/mapper/36005076303ffd40100000000000020c0-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.