Re: ceph-fuse on Jessie not mounted at boot

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

 



I don't understand why systemctl calls /bin/mount like this :

$ systemctl status mnt-cephfs.mount -l
* mnt-cephfs.mount - /mnt/cephfs
   Loaded: loaded (/etc/fstab)
   Active: failed (Result: exit-code) since Tue 2016-01-19 12:53:11 CET; 2s ago
    Where: /mnt/cephfs
     What: id=my_user,mon_host=my_monitor.company.com,keyring=/etc/ceph-keyring.conf,client_mountpoint=/my_directory/
     Docs: man:fstab(5)
           man:systemd-fstab-generator(8)
  Process: 1132 ExecMount=/bin/mount -n id=my_user,mon_host=my_monitor.company.com,keyring=/etc/ceph-keyring.conf,client_mountpoint=/my_directory/ /mnt/cephfs -t fuse.ceph -o noatime,defaults,_netdev (code=exited, status=1/FAILURE)

Jan 19 12:53:11 wordpress-dev mount[1132]: error parsing '-o': expected string of the form TYPE.ID, valid types are: auth, mon, osd, mds, client
Jan 19 12:53:11 wordpress-dev systemd[1]: mnt-cephfs.mount mount process exited, code=exited status=1
Jan 19 12:53:11 wordpress-dev systemd[1]: Failed to mount /mnt/cephfs.
Jan 19 12:53:11 wordpress-dev systemd[1]: Unit mnt-cephfs.mount entered failed state.


I tried a few combinations of -o options, without success... I don't understand what Ceph is trying to parse...

It worked very well on Hammer under Wheezy, does not work on Infernalis on Jessie


On 01/19/2016 12:21 PM, Florent B wrote:
Hi Gregory and thank you.

What do you call "daemonize arguments" ? with or without "daemonize" = same problem. With or without id=client. = same problem.
What do I have to set in fstab to get mounted on boot ? Saying that my method works on Wheezy.

On 01/14/2016 06:25 PM, Gregory Farnum wrote:
Try using "id=client.my_user". It's not taking daemonize arguments because auto-mount in fstab requires the use of CLI arguments (of which daemonize isn't a member), IIRC.
-Greg

On Wednesday, January 6, 2016, Florent B <florent@xxxxxxxxxxx> wrote:
Hi everyone,

I have a problem with ceph-fuse on Debian Jessie.

I have this in my fstab :

id=my_user,daemonize=false,mon_host=my_monitor.company.com,keyring=/etc/ceph-keyring.conf,client_mountpoint=/my_directory/
/mnt/cephfs fuse.ceph noatime,_netdev 0 0

"mount /mnt/cephfs" is working fine when I run it.

But on system boot, mount if failing, I can see in systemctl log :

mount[340]: error parsing '-o': expected string of the form TYPE.ID,
valid types are: auth, mon, osd, mds, client
systemd[1]: mnt-cephfs.mount mount process exited, code=exited status=1
systemd[1]: Failed to mount /mnt/cephfs.

"daemonize=false" or "daemonize" is the same.

What is the problem ?

Thank you.


_______________________________________________
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

_______________________________________________
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