[systemd-devel] [PATCH] util: always consider glusterfs as a network filesystem

Lukáš Nykrýn lnykryn at redhat.com
Mon Mar 24 10:03:16 PDT 2014


Po 24. březen 2014, 17:48:53 CET, Lennart Poettering napsal:
> On Mon, 24.03.14 17:38, Lukáš Nykrýn (lnykryn at redhat.com) wrote:
>
>>
>> Po 24. březen 2014, 17:12:30 CET, Lennart Poettering napsal:
>>> On Mon, 24.03.14 15:55, Lukas Nykryn (lnykryn at redhat.com) wrote:
>>>
>>> Are you sure this does what you think it does? I mean, AFAIR glusterfs
>>> is a fuse FS, and hence will nevershow up like this in fstab nor
>>> /proc/self/mountinfo... Or am I missing something?
>>>
>> Reason for this was
>> https://bugzilla.redhat.com/show_bug.cgi?id=974626 , it is probably
>> not accessible so in shortcut: In rhel 6 someone is using
>> glusterfs,_netdev in fstab and they want me to patch rc.sysinit to
>> recognize glusterfs as a network fs by default (so no need for
>> _netdev). I don't want to introduce such change in rhel6 and that
>> have a regression in rhel7 with systemd.
>
> Well, but how exactly do those lines look in fstab? Are you sure they
> have "glusterfs" in the fstype field? And not "fuse.glusterfs" or so?
>
>
> Lennart
>

 From RH Knowledgebase (again sorry not a public link) 
https://access.redhat.com/site/solutions/204443

Update /etc/fstab and add the _netdev option to the glusterfs mount 
points like this:
HOSTNAME-OR-IPADDRESS:/VOLNAME MOUNTDIR glusterfs defaults,_netdev 0 0
For example:
server1:/test-volume /mnt/glusterfs glusterfs defaults,_netdev 0 0

Lukas


More information about the systemd-devel mailing list