Devin Carlen
2011-Jul-01 18:12 UTC
[Gluster-users] Problems auto-mounting volume under Ubuntu 10.10
Hey all, I'm having problems getting a gluster volume to auto-mount on boot in an Ubuntu 10.10 environment. I can mount it manually just fine. Strangely I see nothing in the gluster logs or /var/log/messages relating to gluster. My fstab looks like: 192.168.1.202:/test-volume /mnt/test-volume glusterfs defaults,_netdev 0 0 Anyone have any ideas? Best, Devin
Whit Blauvelt
2011-Jul-01 18:48 UTC
[Gluster-users] Problems auto-mounting volume under Ubuntu 10.10
On Fri, Jul 01, 2011 at 11:12:03AM -0700, Devin Carlen wrote:> Hey all, I'm having problems getting a gluster volume to auto-mount on > boot in an Ubuntu 10.10 environment. I can mount it manually just fine. > > Strangely I see nothing in the gluster logs or /var/log/messages relating > to gluster. My fstab looks like: > > 192.168.1.202:/test-volume /mnt/test-volume glusterfs defaults,_netdev 0 0I had better success with autofs, instead of fstab. It's generally more resiliant too, for mounting anything other than native local disks. Whit
Anand Avati
2011-Jul-08 13:23 UTC
[Gluster-users] Problems auto-mounting volume under Ubuntu 10.10
On Fri, Jul 1, 2011 at 11:42 PM, Devin Carlen <devin.carlen at gmail.com>wrote:> Hey all, I'm having problems getting a gluster volume to auto-mount on boot > in an Ubuntu 10.10 environment. I can mount it manually just fine. > > Strangely I see nothing in the gluster logs or /var/log/messages relating > to gluster. My fstab looks like: > > 192.168.1.202:/test-volume /mnt/test-volume glusterfs defaults,_netdev 0 0 > >How did you try to mount? Have you tried mounting without fstab entry like "mount -t glusterfs 192.168.1.22:/test-volume /mnt/test-volume" at the command line? If there is nothing in the gluster logs, then glusterfs was never executed (or /sbin/mount.glusterfs was not executed/not doing the right thing). Adding a couple of 'echo's in /sbin/mountglusterfs should help. Avati -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20110708/2fed7cc3/attachment.html>