Note that this format in fstab does require a certain version of util-linux because of the funky format of the line. Pretty much it maps all command line options at the beginning of the line separated with commas.
On Wed, Feb 13, 2019 at 2:10 PM David Turner <[email protected]> wrote: > 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 <[email protected]> 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 <[email protected]> 于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 >>> > [email protected] >>> > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com</span> >>> _______________________________________________ >>> ceph-users mailing list >>> [email protected] >>> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >>> >> _______________________________________________ >> ceph-users mailing list >> [email protected] >> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com >> >
_______________________________________________ ceph-users mailing list [email protected] http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
