Fails to mount CephFS from Mimic Cluster

stefws

Renowned Member
Jan 29, 2015
302
4
83
Denmark
siimnet.dk
I'm trying to mount a CephFS of a Mimic Cluster with a Luminous Client on a PVE 5.2 node, but are seeing this:

root@node7:~# grep ceph /etc/fstab
none /var/lib/ceph/backup fuse.ceph ceph.id=admin,_netdev,defaults 0 0

root@node7:~# mount /var/lib/ceph/backup
no valid command found; 10 closest matches:
config-key ls
config-key list
config-key exists <key>
config-key rm <key>
config-key del <key>
config-key put <key> {<val>}
config-key set <key> {<val>}
config-key get <key>
osd tier add-cache <poolname> <poolname> <int[0-]>
osd tier remove-overlay <poolname>
Error EINVAL: invalid command

root@node7:~# dpkg -l | grep ceph
ii ceph-common 12.2.5-1~bpo90+1 amd64 common utilities to mount and interact with a ceph storage cluster
ii libcephfs2 12.2.5-1~bpo90+1 amd64 Ceph distributed file system client library
ii python-cephfs 12.2.5-1~bpo90+1 amd64 Python 2 libraries for the Ceph libcephfs library


Same mount works just fine on the Mimic Cluster CentOS7.5 nodes:

[root@n1 ~]# grep ceph /etc/fstab
none /var/lib/ceph/backup fuse.ceph ceph.id=admin,_netdev,defaults 0 0
[root@n1 ~]# df -h /var/lib/ceph/backup
Filesystem Size Used Avail Use% Mounted on
ceph-fuse 1.5T 92G 1.4T 7% /var/lib/ceph/backup
[root@n1 ~]# rpm -qa| grep -i ceph
ceph-release-1-1.el7.noarch
ceph-mon-13.2.0-0.el7.x86_64
ceph-13.2.0-0.el7.x86_64
ceph-common-13.2.0-0.el7.x86_64
ceph-mgr-13.2.0-0.el7.x86_64
ceph-radosgw-13.2.0-0.el7.x86_64
libcephfs2-13.2.0-0.el7.x86_64
ceph-base-13.2.0-0.el7.x86_64
ceph-mds-13.2.0-0.el7.x86_64
ceph-fuse-13.2.0-0.el7.x86_64
ceph-deploy-2.0.0-0.noarch
python-cephfs-13.2.0-0.el7.x86_64
ceph-selinux-13.2.0-0.el7.x86_64
ceph-osd-13.2.0-0.el7.x86_64
 
The fuse client isn't installed on PVE by default.
 
The fuse client isn't installed on PVE by default.
No... but thought that I already installed ceph-fuse, properly Jewel version before I alter to Luminous repo, anyway thanks for pointing out, it fixed the issue:)

[QOUTE]
# apt-get install ceph-fuse
...
Unpacking ceph-fuse (12.2.5-1~bpo90+1) ...
Setting up ceph-fuse (12.2.5-1~bpo90+1) ...
Created symlink /etc/systemd/system/remote-fs.target.wants/ceph-fuse.target â /lib/systemd/system/ceph-fuse.target.
Created symlink /etc/systemd/system/ceph.target.wants/ceph-fuse.target â /lib/systemd/system/ceph-fuse.target.
Processing triggers for man-db (2.7.6.1-2) ...
# mount /var/lib/ceph/backup
2018-06-07 10:24:42.140740 7f56cb4d60c0 -1 init, newargv = 0x56035bbe2060 newargc=11
ceph-fuse[5373]: starting ceph client
ceph-fuse[5373]: starting fuse
root@node7:~# df -h /var/lib/ceph/backup
ceph-fuse 1.5T 92G 1.4T 7% /var/lib/ceph/backup
[/QUOTE]
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!