Generating readable core dump files

When a Ceph daemon terminates unexpectedly with a segmentation fault, gather the information about its failure and provide it to the IBM Support Engineers.

Before you begin

Before generating the readable core dump files, enable and install the debuginfo packages, if they are not already installed.
subscription-manager repos --enable=ibmceph-9-tools-for-rhel-9-x86_64-rpms
yum --enable=ibmceph-9-tools-for-rhel-9-x86_64-debug-rpms
Once the repository is enabled, you can install the debug info packages that you need from this list of supported packages:
ceph-base-debuginfo
ceph-common-debuginfo
ceph-debugsource
ceph-fuse-debuginfo
ceph-immutable-object-cache-debuginfo
ceph-mds-debuginfo
ceph-mgr-debuginfo
ceph-mon-debuginfo
ceph-osd-debuginfo
ceph-radosgw-debuginfo
cephfs-mirror-debuginfo

About this task

Gathering the information about failures speeds up the initial investigation. The Support Engineers can also compare the information from the core dump files with IBM Storage Ceph cluster known issues.

Procedure

Ensure that the gdb package is installed.
Example
[root@host01 ~]# dnf install gdb