After Root Disk Encapsulation is enabled successfully through vxdiskadm (option 2) or the vxencap command, follow the below steps to have the kernel core saved in the /var/crash/ directory successfully.
After the Root Disk Encapsulation Process and the subsequent system reboot, perform the following.
1. Check the kdump service status :
# systemctl status kdump
2.a. If not "ACTIVE," go to Step 5
2.b. If "ACTIVE," then, open the /etc/sysconfig/kdump file.
3.a. Search the KDUMP_COMMANDLINE= parameter in the kdump file. Determine if this option is set to one of the following:
3.b. If the option is set to one of the values shown in Step 3.a, set the parameter to:
KDUMP_COMMANDLINE="root=UUID=
Where
UUID_of_BOOT_DEVICE = blkid
Example:
# blkid /dev/sda2
/dev/sda2: UUID="79e2b9c7-c011-4ab6-85a9-f204efc0675e" TYPE="ext3"
KDUMP_COMMANDLINE="root=UUID=79e2b9c7-c011-4ab6-85a9-f204efc0675e ro"
4. Restart the kdump service:
# systemctl restart kdump
5. Done.
When system panic occurs, the kernel core will then be saved into the /var/crash/ directory successfully.