[Gluster-users] _netdev option.

Jiri Hoogeveen j.hoogeveen at bluebillywig.com
Thu Sep 5 12:04:49 UTC 2013


Hi,

When I take a look at the init script on ubuntu 12.04. The _netdev is only working for   the following network filesystems  nfs|nfs4|smbfs|ncp|ncpfs|cifs|coda|ocfs2|gfs|pvfs|pvfs2|fuse.httpfs|fuse.curlftpfs
I guess when ubuntu adds glusterfs to this list and create a umountglusterfs.sh script like umountnfs.sh, that _netdev will work for glusterfs to.

Grtz, Jiri

On Sep 5, 2013, at 1:52 PM, Tamas Papp <tompos at martos.bme.hu> wrote:

> _netdev is ignored (and you get a warning message about this, if you mount it from cli).
> 
> tamas
> 
> On 09/05/2013 01:47 PM, Bobby Jacob wrote:
>> Ok, now im confused.
>> 1)      What happens if you have the following in fstab. For me even after the server reboots, with df –h I see the mounted volume.
>> a.       /testgfs:/gfsvol                 /mnt/gfsmount                glusterFS             defaults               0 0
>> b.      What exactly gets mounts this time..
>> 2)      What happens if I have this in the fstab.
>> a.       /testgfs:/gfsvol                 /mnt/gfsmount                glusterFS             defaults,_netdev             0 0
>> b.      Even this time, I see the mounted volume. What exactly is mounted then .??
>>  
>> Thanks & Regards,
>> Bobby Jacob
>>  
>> From: gluster-users-bounces at gluster.org [mailto:gluster-users-bounces at gluster.org] On Behalf Of Marcus Bointon
>> Sent: Thursday, September 05, 2013 2:41 PM
>> To: gluster-users at gluster.org List
>> Subject: Re: [Gluster-users] _netdev option.
>>  
>> On 5 Sep 2013, at 13:30, Bobby Jacob <bobby.jacob at alshaya.com> wrote:
>> 
>> 
>> Why do we mention the _netdev option while automatically mounting the glusterFS volume on the client. ?? I don’t know if this has any connection with the below described problem:
>>  
>> It's supposed to make the gluster mount wait until networking is started before trying to mount it. As far as I'm aware it doesn't work. I've still not found a sane, reliable solution to make gluster mount on boot - at             the moment I have an rc.local script that waits for a while before mounting, but it only works about 50% of the time.
>>  
>> No idea if that has any bearing on your issue.
>>  
>> Marcus
>> 
>> 
>> _______________________________________________
>> Gluster-users mailing list
>> Gluster-users at gluster.org
>> http://supercolony.gluster.org/mailman/listinfo/gluster-users
> 
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130905/73b5f92f/attachment.html>


More information about the Gluster-users mailing list