Hi, We have a ceph+cephfs cluster runing nautilus version 14.2.4 We have debian buster/ubuntu bionic clients mounting cephfs in kernel mode without problems. We now want to mount cephfs from our new centos 8 clients. Unfortunately, ceph-common is needed but there are no packages available for el8 (only el7). And no way to install the el7 packages on centos 8 (missing deps). Thus, despite the fact that centos 8 have a 4.18 kernel (required to use quota, snapshots etc...), it seems impossible to mount in kernel mode (good perfs) and we still have to use the so slow fuse mode. Is it possible to workaround this problem ? Or when is it planned to provides (even as beta) the ceph packages for centos 8 ? Thanks.
On Tue, 1 Oct 2019, fleg@lpnhe.in2p3.fr wrote:
Hi, We have a ceph+cephfs cluster runing nautilus version 14.2.4 We have debian buster/ubuntu bionic clients mounting cephfs in kernel mode without problems. We now want to mount cephfs from our new centos 8 clients. Unfortunately, ceph-common is needed but there are no packages available for el8 (only el7). And no way to install the el7 packages on centos 8 (missing deps). Thus, despite the fact that centos 8 have a 4.18 kernel (required to use quota, snapshots etc...), it seems impossible to mount in kernel mode (good perfs) and we still have to use the so slow fuse mode. Is it possible to workaround this problem ? Or when is it planned to provides (even as beta) the ceph packages for centos 8 ?
We should have el8 packages built Real Soon Now. In the meantime, you don't need ceph-common to mount cephfs; the only real function of mount.ceph is to resolve the monitor name to an IP and pull the secret out of the secretfile. If you specify the monitor IP then mount -t ceph $monip:/ -o secret=$secret,name=... should work. sage
Thanks. Happy to ear that el8 packages will soon be available. F. By the way, it seems that mount.ceph is called by mount. I already tryed that : mount -t ceph 123.456.789.000:6789:/ /data -o name=xxx_user,secretfile=/etc/ceph/client.xxx_user.keyring and get mount: /data: wrong fs type, bad option, bad superblock on 123.456.789.000:6789:/, missing codepage or helper program, or other error. Anyway, we will wait !
On Tue, Oct 1, 2019 at 4:14 PM <fleg@lpnhe.in2p3.fr> wrote:
Thanks. Happy to ear that el8 packages will soon be available. F.
By the way, it seems that mount.ceph is called by mount. I already tryed that : mount -t ceph 123.456.789.000:6789:/ /data -o name=xxx_user,secretfile=/etc/ceph/client.xxx_user.keyring and get mount: /data: wrong fs type, bad option, bad superblock on 123.456.789.000:6789:/, missing codepage or helper program, or other error. Anyway, we will wait !
You need to pass secret=<secret in base64> instead of secretfile. The kernel won't go and read a random file somewhere, that is mount.ceph's job. You may need to pass -i to prevent mount from attempting to call mount.ceph, although it should work fine without -i as long as you specify only those options that the kernel can handle on its own. Thanks, Ilya
participants (4)
-
fleg@lpnhe.in2p3.fr
-
Ilya Dryomov
-
Mauro Ferraro - G2K Hosting
-
Sage Weil