Skip to main content

Mounting Ceph with and without mount.ceph helper

Mounting CephFS with and without the mount.ceph mount helper​

Problem​

Sometimes it is not possible to install the ceph mount helper mount.ceph which comes via the ceph-common package. In this case, it is still possible to mount cephfs using the internal kernel module mount options.

Solution​

Ceph-common packages not installed (no mount.ceph helper)​

Alternative syntax to mount CephFS without the ceph-common package:

mount -t ceph <ipaddress>:/ /cephfs -o name=admin, secret=$SECRET

Ceph-common packages installed (with mount.ceph helper)​

Use mount command to mount CephFS with the kernel driver:

mount -t ceph admin@$fsid.cephfs=/ /cephfs -o mon_addr=<ipaddress>,secret=$SECRET

This is seen in the upstream docs here.