The cause of
Production has two servers that are ready to run workflows. The resources for execution are placed in the CEPh storage cluster. The first step is to mount Ceph
Run the mount -t ceph XXX: XXX -o name=admin,secret=AQXXX command
Mount -t ceph XXX: XXX -o name=admin,secret=AQXXX Abnormal mount: unknown filesystem type 'ceph'Copy the code
It means filesystem that you don’t know
Cause location and attempt to resolve
The first reaction is the kernel version is too low Check data, portal: docs.ceph.com/en/latest/s… Centos6 does not appear to be available (strange), Linux -3.10.0 is required for the operating system kernel version, centos6.9 default kernel version 2.6 is not supported
To try to solve the problem for the first time, mount it in ceph-FUSE mode
Install CEPh – FUSE configuration cepH domestic source (ali source, Tsinghua source have tried)
[Ceph] name=Ceph packages for $basearch baseurl=http://mirrors.163.com/ceph/rpm-jewel/el7/$basearch enabled=1 gpgcheck=0 type=rpm-md gpgkey=https://mirrors.163.com/ceph/keys/release.asc priority=1 [Ceph-noarch] name=Ceph noarch packages baseurl=http://mirrors.163.com/ceph/rpm-jewel/el7/noarch enabled=1 gpgcheck=0 type=rpm-md gpgkey=https://mirrors.163.com/ceph/keys/release.asc priority=1 [ceph-source] name=Ceph source packages baseurl=http://mirrors.163.com/ceph/rpm-jewel/el7/SRPMS enabled=1 gpgcheck=0 type=rpm-md gpgkey=https://mirrors.163.com/ceph/keys/release.asc priority=1Copy the code
yum install ceph-fuse
Error: Package: 2:ceph-fuse-10.2.11-0.el7.x86_64 (ceph) Requires: libstdc++. So.6(cxxabi_1.3.7)(64bit) error: Package: 2:ceph-fuse-10.2.11-0.el7.x86_64 (ceph) Requires: libstdc++. 2: ceph-fusi-10.2.11-0.el7.x86_64 (ceph) Requires: libboost_thread.mt.so.1.53.0 ()(64bit) error: Package: Requires: libboost_thread.mt.so.1.53.0 ()(64bit) error: Package: Package: 2:ceph-fuse-10.2.11-0.el7.x86_64 (ceph) Requires: libstdc++.so.6(cxxabi_1.3.5)(64bit) error: Package: config: config: config: config: config: config: config: config: config: config: config: config. 2:ceph-fuse-10.2.11-0.el7.x86_64 (ceph) Requires: libstdc++.so.6(glibcxx_3.4.19)(64bit) error: Package: Requires: libstdc++.so. 2:ceph-fuse-10.2.11-0.el7.x86_64 (ceph) Requires: libboost_system-mt.so.1.53.0()(64bit) error: Package: Requires: libboost_system-mt.so.1.53.0()(64bit) 2: ceph-fusi-10.2.11-0.el7.x86_64 (ceph) Requires: libc.so.6(glibc2.16)(64bit) error: Package: Requires: ceph-fusi-10.2.11-0.el7.x86_64 (ceph) Requires: libc.so.6(glibc2.16)(64bit) error: Package: Requires: 2:ceph-fuse-10.2.11-0.el7.x86_64 (ceph) Requires: libboost_iostreams-mt.so.1.53.0()(64bit) error: Package: Requires: libboost_iostreams-mt.so.1.53.0()(64bit) 2:ceph-fuse-10.2.11-0.el7.x86_64 (ceph) Requires: libstdc++.so.6(glibcxx_3.4.14)(64bit) error: Package: Requires: libstdc++.so. 2:ceph-fuse-10.2.11-0.el7.x86_64 (ceph) Requires: libstdc++.so.6(glibcxx_3.4.15)(64bit) error: Package: Requires: libstdc++.so. 2:ceph-fuse-10.2.11-0.el7.x86_64 (ceph) Requires: libstdc++.so.6(glibcxx_3.4.18)(64bit) error: Package: Requires: libstdc++.so. 2: ceph - fuse - 10.2.11-0. El7. X86_64 (ceph) Requires: libfuse. So. 2 (FUSE_2. 9) (64 - bit)Copy the code
Cceph-fuse failed to install the one Hour Later version of GCC after installing the one Hour Later version
Try to solve the second time, upgrade the kernel
CentOS7 Docker can’t ping host IP address, so I can open the kernel upgrade package elrepo.org/linux/kerne… elrepo-release-6-12.el6.elrepo.noarch.rpm
Centos6 was disabled on November 30, 2020, yum source is basically closed, ceph website is also updated, should also not recommend Centos6, kernel upgrade failed
PS: I also failed to upgrade the kernel and operating system version directly with my DC buddies
The third big hit, reinstalling the system
Data and services backup disk, reinstall the system, install centos7.5, others recommended version, centos7 service expires in 2024, can be a few more years, it seems that centos8 maintenance will be discontinued at the end of 2021, there will be no more free REDHAT, then switch to Ubuntu if necessary
After loading, direct mounting succeeded, abnormal silky
Refer to the link
www.jianshu.com/p/cedbdf0b6… Blog.csdn.net/llggheshang… Docs.ceph.com/en/latest/s…