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 <deader...@gmail.com> 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 <uker...@gmail.com> 于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: >> > >> > 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 >> > >> > _______________________________________________ >> > ceph-users mailing list >> > ceph-users@lists.ceph.com >> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com</span> >> _______________________________________________ >> ceph-users mailing list >> ceph-users@lists.ceph.com >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> > _______________________________________________ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >
_______________________________________________ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com