Preparing a dump device
![]()
Use zipl with the -d (--dumpto) command-line option or with the dumpto=
configuration-file option to prepare a DASD device, SCSI disk, or channel-attached
tape dump device.
- 1 For SCSI dump devices only
To prepare a DASD device, SCSI disk, NVMe disk, or channel-attached tape dump device, you must specify:
- The device node <dump_device>
- of the DASD device, SCSI disk partition, NVMe
disk partition, or channel-attached tape device to be prepared as a dump device.
zipl deletes all data on the partition or tape and installs the boot loader code
there. Note:
- If the dump device is an ECKD™ disk with fixed-block layout (LDL), a dump overwrites the dump utility. You must reinstall the dump utility before you can use the device for another dump.
- If the dump device is a channel-attached tape, SCSI disk, NVMe disk, FBA disk, or ECKD disk with the compatible disk layout (CDL), you do not need to reinstall the dump utility after every dump.
- If the dump device is an NVMe disk and depending on your HMC version, you might have to prepare a partition in namespace 1 to be able to trigger an LPAR dump from the HMC GUI.
For DASD dump devices, the CCW-type standalone dump is automatically compressed using zlib compression if the DFLTCC facility is available on the system.
- An option -n
- to suppress confirmation prompts to allow unattended processing (for example, from a script). This option is available on the command line only.
- An option --no-compress
- to suppress zlib compression for a CCW-type dump. Zlib compression is used by default for CCW-type single volume DASD standalone dump if the DFLTCC facility is available on the system.
- An option --ldipl-dump
- to install a list-directed dump record instead of a CCW-type dump.
- A limit <size>
- for the amount of memory to be dumped. The value is a decimal number that can optionally be
suffixed with K for kilobytes, M for megabytes, or G for gigabytes. The value is rounded to the next
megabyte boundary.
If you limit the dump size below the amount of memory that is used by the system to be dumped, the resulting dump is incomplete.
Note: For SCSI and NVMe dump devices, the "size" option is not available.
- dump_debug=<level>
- sets the level of debug messages during the dump process. <level> is an integer in the range 1 - 6. Use higher numbers for more detailed messages. The default is 2.
DASD device, SCSI disk, NVMe disk, or channel-attached tape dump devices are not formatted with a file system so no target directory can be specified. See Using the Dump Tools, SC33-8412 for details about processing these dumps.
Figure 2 summarizes how to specify a DASD device, SCSI disk, or channel-attached tape dump configuration in a configuration file.
[<section_name>]
dumpto=<dump_device>,<size>
DASD examples
The following command prepares a CCW DASD partition /dev/dasdc1 as a dump device and suppresses confirmation prompts that require an operator response:
# zipl -d /dev/dasdc1 -n
[dumpdasd]
dumpto=/dev/dasdc1There is no configuration file equivalent for option -n. To use this option for a DASD or tape dump configuration in a configuration file, it must be specified with the zipl command that processes the configuration.
# zipl -c /etc/myxmp.conf dumpdasd -n
The following command prepares an ECKD DASD partition /dev/disk/by-path/ccw-0.0.1004-part1 for list-directed dump:
# zipl --ldipl-dump -d /dev/disk/by-path/ccw-0.0.1004-part1
SCSI disk example
The following command prepares a SCSI disk partition /dev/mapper/36005076303ffd40100000000000020c0-part1 as a dump device:
# zipl -d /dev/mapper/36005076303ffd40100000000000020c0-part1
[dumpscsi]
dumpto=/dev/mapper/36005076303ffd40100000000000020c0-part1
# zipl -c /etc/myxmp.conf dumpscsi
NVMe disk example
The following command prepares an NVMe disk partition /dev/nvme0n1p1 as a dump device:
# zipl -d /dev/nvme0n1p1
[dumpnvme]
dumpto=/dev/nvme0n1p1
# zipl -c /etc/myxmp.conf dumpnvme