Discussion:
[ceph-users] how to mount one of the cephfs namespace using ceph-fuse?
ST Wong (ITSC)
2018-11-20 11:33:13 UTC
Permalink
Hi all,

We're using mimic and enabled multiple fs flag. We can do kernel mount of particular fs (e.g. fs1) with mount option mds_namespace=fs1. However, this is not working for ceph-fuse:

#ceph-fuse -n client.acapp3 -o mds_namespace=fs1 /tmp/ceph
2018-11-20 19:30:35.246 7ff5653edcc0 -1 init, newargv = 0x5564a21633b0 newargc=9
fuse: unknown option `mds_namespace=fs1'
ceph-fuse[3931]: fuse failed to start
2018-11-20 19:30:35.264 7ff5653edcc0 -1 fuse_lowlevel_new failed

Sorry that I can't find the correct option in ceph-fuse man page or doc.
Please help. Thanks a lot.

Best Rgds
/stwong
Yan, Zheng
2018-11-20 12:08:25 UTC
Permalink
ceph-fuse --client_mds_namespace=xxx
On Tue, Nov 20, 2018 at 7:33 PM ST Wong (ITSC) <span> wrote:
&gt;
&gt; Hi all,
&gt;
&gt;
&gt;
&gt; We’re using mimic and enabled multiple fs flag. We can do
kernel mount of particular fs (e.g. fs1) with mount option
mds_namespace=fs1. However, this is not working for ceph-fuse:
&gt;
&gt;
&gt;
&gt; #ceph-fuse -n client.acapp3 -o mds_namespace=fs1 /tmp/ceph
&gt;
&gt; 2018-11-20 19:30:35.246 7ff5653edcc0 -1 init, newargv =
0x5564a21633b0 newargc=9
&gt;
&gt; fuse: unknown option `mds_namespace=fs1'
&gt;
&gt; ceph-fuse[3931]: fuse failed to start
&gt;
&gt; 2018-11-20 19:30:35.264 7ff5653edcc0 -1 fuse_lowlevel_new failed
&gt;
&gt;
&gt;
&gt; Sorry that I can’t find the correct option in ceph-fuse man page or doc.
&gt;
&gt; Please help. Thanks a lot.
&gt;
&gt;
&gt;
&gt; Best Rgds
&gt;
&gt; /stwong
&gt;
&gt; _______________________________________________
&gt; ceph-users mailing list
&gt; ceph-***@lists.ceph.com
&gt; http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com</span>
Zhenshi Zhou
2018-12-04 08:22:19 UTC
Permalink
Hi

I can use this mount cephfs manually. But how to edit fstab so that the
system will auto-mount cephfs by ceph-fuse?

Thanks
Post by Yan, Zheng
ceph-fuse --client_mds_namespace=xxx
&gt;
&gt; Hi all,
&gt;
&gt;
&gt;
&gt; We’re using mimic and enabled multiple fs flag. We can do
kernel mount of particular fs (e.g. fs1) with mount option
&gt;
&gt;
&gt;
&gt; #ceph-fuse -n client.acapp3 -o mds_namespace=fs1 /tmp/ceph
&gt;
&gt; 2018-11-20 19:30:35.246 7ff5653edcc0 -1 init, newargv =
0x5564a21633b0 newargc=9
&gt;
&gt; fuse: unknown option `mds_namespace=fs1'
&gt;
&gt; ceph-fuse[3931]: fuse failed to start
&gt;
&gt; 2018-11-20 19:30:35.264 7ff5653edcc0 -1 fuse_lowlevel_new failed
&gt;
&gt;
&gt;
&gt; Sorry that I can’t find the correct option in ceph-fuse man page or
doc.
&gt;
&gt; Please help. Thanks a lot.
&gt;
&gt;
&gt;
&gt; Best Rgds
&gt;
&gt; /stwong
&gt;
&gt; _______________________________________________
&gt; ceph-users mailing list
&gt; http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com</span>
_______________________________________________
ceph-users mailing list
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Loading...