Re: ceph-fuse unable to run through "screen" ?

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

 



Hi,

I come back with this problem because it persists even after upgrading
to Hammer.

Why mouuting CephFS Fuse is not like any other FS mounting ?

When I want to mount NFS with Ansible, I use "mount" command and it
works 100% of time.

With CephFS, it does not work, and the only workaround I found does not
work 100% of time :

shell: bash -c "mountpoint /var/www/sites/default/files || rm -Rf
/var/www/sites/default/files/{*,*.*,.*}; screen -d -m -S cephfs-drupal
mount /var/www/sites/default/files"

Sometimes it mounts, sometimes not... that's really weird.

My mount point is configured with daemonize=false, because if I set it
to true, it never works !

I really does not understand what the problem is.

What Ceph-fuse needs to mount correctly 100% of times ??

Thank you.

On 03/18/2015 10:42 AM, Florent B wrote:
> In fact, my problem is not related to Ansible.
>
> For example, make a bash script :
>
> #! /bin/bash
> mountpoint /mnt/cephfs || mount /mnt/cephfs
>
>
> And run it with "screen" : screen mount-me.sh
>
> Directory is not mounted !
>
> What is this ? :D
>
> If you run the script without screen, all works fine !
>
> Is there any kind of particular return system with ceph-fuse ?
> _______________________________________________
> 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