Re: mount cephfs with autofs

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

 



Thanks Eugen

Your environment is different from mine, but I will take your example and
keep exploring. Thanks!

Cheers
D

On Wed, Jun 17, 2020 at 4:58 PM Eugen Block <eblock@xxxxxx> wrote:

> Hi,
>
> the autofs on our clients is configured to use LDAP, so there's one
> more layer.
> This is the current setup:
>
> # autofs on LDAP server
> /etc/sysconfig/autofs:SEARCH_BASE="ou=cephfs,ou=AUTOFS,[...]"
>
> # LDAP config
> -fstype=ceph,name=autofs,secretfile=/etc/ceph/autofs.key,nodev,nosuid
> <mon1>,<mon2>,<mon3>:/path/to/share
>
> Does this help?
>
> Regards,
> Eugen
>
>
> Zitat von Derrick Lin <klin938@xxxxxxxxx>:
>
> > Hi Eugen
> >
> > I configured auto.master and a mount point file auto.ceph with the
> > following entry. I am wondering if you can show me what your autofs entry
> > looks like? Thanks
> >
> > ceph
> >
> -fstype=ceph,name=cephfs,conf=/etc/ceph/mini_conf.conf,secretfile=/etc/ceph/client.cephfs,noatime
> >     :/
> >
> >
> > On Mon, Jun 15, 2020 at 5:33 PM Eugen Block <eblock@xxxxxx> wrote:
> >
> >> We're using autofs with CephFS since a couple of years now, what
> >> exactly doesn't work, can you share more details?
> >>
> >>
> >> Zitat von Derrick Lin <klin938@xxxxxxxxx>:
> >>
> >> > Hi guys,
> >> >
> >> > I can mount my cephfs via mount command and access it without any
> >> problem.
> >> >
> >> > Now I want to integrate it in autofs which is used on our cluster.
> >> >
> >> > It seems this is not a popular approach and I found only this link:
> >> >
> >> > https://drupal.star.bnl.gov/STAR/blog/mpoat/how-mount-cephfs
> >> >
> >> > I followed the link but could not get it to work. I am wondering if
> this
> >> is
> >> > possible at all?
> >> >
> >> > We are using CentOS 7.8 and the ceph cluster is running nautilus
> 14.2.9
> >> >
> >> > Regards,
> >> > Derrick
> >> > _______________________________________________
> >> > ceph-users mailing list -- ceph-users@xxxxxxx
> >> > To unsubscribe send an email to ceph-users-leave@xxxxxxx
> >>
> >>
> >> _______________________________________________
> >> ceph-users mailing list -- ceph-users@xxxxxxx
> >> To unsubscribe send an email to ceph-users-leave@xxxxxxx
> >>
>
>
>
>
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



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


  Powered by Linux