Re: how to mount one of the cephfs namespace using ceph-fuse?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I believe the fstab line for ceph-fuse in this case would look something like [1] this.  We use a line very similar to that to mount cephfs at a specific client_mountpoint that the specific cephx user only has access to.

[1] id=acapp3,client_mds_namespace=fs1   /tmp/ceph   fuse.ceph   defaults,noatime,_netdev 0 2

On Tue, Dec 4, 2018 at 3:22 AM Zhenshi Zhou <deaderzzs@xxxxxxxxx> wrote:
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

Yan, Zheng <ukernel@xxxxxxxxx> 于2018年11月20日周二 下午8:08写道:
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-users@xxxxxxxxxxxxxx
&gt; http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com</span>
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux