Add the disk to which kernel dumps are to be output.
We recommend that, for the kernel dump output disk, you specify a disk that is separate from the system disk. This ensures that kernel dumps can be collected even if an error occurs in a file system on the system disk (/var directory).
If the following condition is met, you do not need to add a disk:
You want to specify a directory on the built-in disk as the kernel dump output destination:
Go to step 1 in Specify the kernel dump output destination.
The following example show how to create a disk for kernel dump output:
Create a kernel dump output disk on a volume in the storage system, and then connect the disk to the host by using a single path.
Execute the HDLM configuration definition utility (dlmcfgmgr -r) to make HDLM recognize the kernel dump output disk.
When the KAPL10339-I message appears, enter y.
# /sbin/dlmcfgmgr -r KAPL10339-I This operation will change the configuration of HDLM devices. Do you want to continue? [y/n]: y KAPL10341-I The HDLM device configurations have been changed. KAPL10302-I /sbin/dlmcfgmgr completed normally.Execute the dlmcfgmgr utility (dlmcfgmgr -v) to verify that HDLM recognizes the kernel dump output disk.
# /sbin/dlmcfgmgr -v HDevName Management Device Host Channel Target Lun /dev/sddlmaa configured /dev/sda 0 0 0 0 /dev/sdc 1 0 0 0 /dev/sddlmab configured /dev/sdb 0 0 0 1 /dev/sdd 1 0 0 1 /dev/sddlmac configured /dev/sde 0 0 0 2 KAPL10302-I /sbin/dlmcfgmgr completed normally.The underlined entry indicates the disk that has been added.
Execute the dlmcfgmgr utility (dlmcfgmgr -o) to remove the kernel dump output disk from the management target of HDLM.
When the KAPL10339-I message appears, enter y.
# /sbin/dlmcfgmgr -o /dev/sddlmac KAPL10339-I This operation will change the configuration of HDLM devices. Do you want to continue? [y/n]: y KAPL10341-I The HDLM device configurations have been changed. KAPL10302-I /sbin/dlmcfgmgr completed normally.Execute the dlmcfgmgr utility (dlmcfgmgr -v) to verify that the kernel dump output disk is no longer managed by HDLM.
# /sbin/dlmcfgmgr -v HDevName Management Device Host Channel Target Lun /dev/sddlmaa configured /dev/sda 0 0 0 0 /dev/sdc 1 0 0 0 /dev/sddlmab configured /dev/sdb 0 0 0 1 /dev/sdd 1 0 0 1 /dev/sddlmac unconfigured /dev/sde 0 0 0 2 KAPL10302-I /sbin/dlmcfgmgr completed normally.Verify that unconfigured appears in the Management column.