Re: mount cephfs with autofs

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

 



Hi,

With CentOS 7.8 you can use the systemd autofs options in /etc/fstab.
Here are two examples from our clusters, first with fuse and second
with kernel:

none /cephfs fuse.ceph
ceph.id=admin,ceph.conf=/etc/ceph/dwight.conf,ceph.client_mountpoint=/,x-systemd.device-timeout=30,x-systemd.mount-timeout=30,noatime,_netdev,noauto,x-systemd.automount,x-systemd.idle-timeout=30,ro
0 2

cephflax.cern.ch:6789:/ /cephfs2 ceph
name=admin,secretfile=/etc/ceph/flax.admin.secret,x-systemd.device-timeout=30,x-systemd.mount-timeout=30,noatime,_netdev,noauto,x-systemd.automount,x-systemd.idle-timeout=30,ro
0 2

Cheers, Dan

On Mon, Jun 15, 2020 at 9:27 AM Derrick Lin <klin938@xxxxxxxxx> wrote:
>
> 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



[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