Re: [ceph-users] cephfs not mounting on boot
On Tue, 3 Feb 2015 05:24:19 PM Daniel Schneller wrote: > Now I think on it, that might just be it - I seem to recall a similar > problem > > with cifs mounts, despite having the _netdev option. I had to issue a > > mount in /etc/network/if-up.d/ > > > > > > > > I'll test than and get back to you > > We had similar issues. Thanks for your reply Daniel, I only just noticed it. > As you don't say which version you are using, Giant - 0.87 > this is > what should be in /sbin/mount.fuse.ceph: > > # strip out '_netdev' option; libfuse doesn't like it > opts=`echo $opts | sed 's/,_netdev//' | sed 's/_netdev,//' It was already there unfortunately. For now I am making do with an init script. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] cephfs not mounting on boot
In the absence of other clues, you might want to try checking that the network is coming up before ceph tries to mount. Now I think on it, that might just be it - I seem to recall a similar problem with cifs mounts, despite having the _netdev option. I had to issue a mount in /etc/network/if-up.d/ I'll test than and get back to you We had similar issues. As you don't say which version you are using, this is what should be in /sbin/mount.fuse.ceph: # strip out '_netdev' option; libfuse doesn't like it opts=`echo $opts | sed 's/,_netdev//' | sed 's/_netdev,//' It used to be missing in some earlier version (we are currently on 0.80.7) and we made sure to patch it in during our Ansible setup, if it is not present. This is where the patch comes from: https://github.com/ceph/ceph/commit/9ac264a856dc68090f9ecf0fb23319429490f829#diff-d4afd4fceb081fb97b3bc47aab999381 Hope that helps! Daniel ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] cephfs not mounting on boot
On Wed, 17 Dec 2014 02:02:52 PM John Spray wrote: > Can you tell us more about how they fail? Error messages on console, > anything in syslog? Not quite sure what to look for, but I did a quick scan on ceph through dmesg & syslog, nothing stood out > > In the absence of other clues, you might want to try checking that the > network is coming up before ceph tries to mount. Now I think on it, that might just be it - I seem to recall a similar problem with cifs mounts, despite having the _netdev option. I had to issue a mount in /etc/network/if-up.d/ I'll test than and get back to you -- Lindsay signature.asc Description: This is a digitally signed message part. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
Re: [ceph-users] cephfs not mounting on boot
Can you tell us more about how they fail? Error messages on console, anything in syslog? In the absence of other clues, you might want to try checking that the network is coming up before ceph tries to mount. John On Wed, Dec 17, 2014 at 1:34 PM, Lindsay Mathieson wrote: > Both fuse and kernel module fail to mount, > > > > The mons & mds are on two other nodes, so they are available when this node > is booting. > > > > They can be mounted manually after boot. > > > > my fstab: > > > > id=admin /mnt/cephfs fuse.ceph defaults,nonempty,_netdev 0 0 > > vnb.proxmox.softlog,vng.proxmox.softlog,vnt.proxmox.softlog:/ /mnt/test ceph > _netdev,defaults,name=admin,secretfile=/etc/pve/priv/admin.secret 0 0 > > -- > > Lindsay > > > ___ > ceph-users mailing list > ceph-users@lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com > ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
[ceph-users] cephfs not mounting on boot
Both fuse and kernel module fail to mount, The mons & mds are on two other nodes, so they are available when this node is booting. They can be mounted manually after boot. my fstab: idmin /mnt/cephfs fuse.ceph defaults,nonempty,_netdev 0 0 vnb.proxmox.softlog,vng.proxmox.softlog,vnt.proxmox.softlog:/ /mnt/test ceph_netdev,defaults,namemin,secretfile=/etc/pve/priv/admin.secret 0 0 -- Lindsay signature.asc Description: This is a digitally signed message part. ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com