11.3. 生成可读的核心转储文件
当 Ceph 守护进程意外终止分段错误时,请收集关于其故障的信息,并将其提供给红帽支持工程师。
此类信息可加快初步调查的速度。此外,支持工程师还可以将核心转储文件中的信息与红帽 Ceph 存储集群已知问题进行比较。
11.3.1. 先决条件 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
安装 debuginfo 软件包(如果尚未安装)。
启用以下软件仓库来安装所需的 debuginfo 软件包。
示例
[root@host01 ~]# subscription-manager repos --enable=rhceph-5-tools-for-rhel-8-x86_64-rpms [root@host01 ~]# yum --disablerepo='*' --enable=rhceph-5-tools-for-rhel-8-x86_64-debug-rpms启用软件仓库后,您可以从这个支持的软件包列表中安装您需要的 debug info 软件包:
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
确定安装了
gdb软件包,如果未安装,请安装它:示例
[root@host01 ~]# dnf install gdb