Re: Infernalis => Jewel: ceph-fuse regression concerning the automatic mount at boot?

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

 



Hi,

On 02/06/2016 04:44, Francois Lafont wrote:

> ~# grep ceph /etc/fstab
> id=cephfs,keyring=/etc/ceph/ceph.client.cephfs.keyring,client_mountpoint=/ /mnt/ fuse.ceph noatime,nonempty,defaults,_netdev 0 0

[...]

> And I have rebooted. After the reboot, big surprise with this:
> 
> ~# cat /tmp/mount.fuse.ceph.log 
> arguments are id=cephfs,keyring=/etc/ceph/ceph.client.cephfs.keyring,client_mountpoint= /mnt -o rw,_netdev,noatime,nonempty
> ceph-fuse --id=cephfs --keyring=/etc/ceph/ceph.client.cephfs.keyring --client_mountpoint= /mnt -o rw,noatime,nonempty
> 
> Yes, this is not a misprint, there is no "/" after "client_mountpoint=".

[...]

> Now, my question is: which program gives the arguments to /sbin/mount.fuse.ceph?
> Is it the init program (upstart in my case)? Or does it concern a Ceph programs?

I have definitely found the culprit. In fact, this is not Upstart. It's "/sbin/mountall"
(from the "mountall" package) which is used by Upstart to mount filesystems in fstab.
In the source code "src/mountall.c", there is a line which removes wrongly the trailing
"/" in my valid fstab line:

    id=cephfs,keyring=/etc/ceph/ceph.client.cephfs.keyring,client_mountpoint=/ /mnt/ fuse.ceph ...

I have made a bug report here where all is explained:
https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/1588594

It could be good to know it (I lost 1/2 day with this bug ;)).

-- 
François Lafont
_______________________________________________
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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux