[Gluster-users] Mac / NFS problems

David Lloyd david.lloyd at v-consultants.co.uk
Thu Mar 10 09:14:42 UTC 2011


Hello,

Thought I'd bring this up again to see if anyone else is having similar
problems with Mac NFS and gluster 3.1.2.

Cheers
David

On 4 March 2011 09:45, David Lloyd <david.lloyd at v-consultants.co.uk> wrote:

> Anyone at Gluster have any insight in to this?
>
> And more generally, is anyone using gluster 3.1.2 to serve nfs up to macs
> sucessfully?
>
> Thanks
> David
>
> On 3 March 2011 12:17, David Lloyd <david.lloyd at v-consultants.co.uk>wrote:
>
>> it's gluster 3.1.2
>>
>>
>>
>> On 3 March 2011 09:01, David Lloyd <david.lloyd at v-consultants.co.uk>wrote:
>>
>>> Hello,
>>>
>>> Were having issues with macs writing to our gluster system.
>>> Gluster vol info at end.
>>>
>>> On a mac, if I make a file in the shell I get the following message:
>>>
>>> smoke:hunter david$ echo hello > test
>>> -bash: test: Operation not permitted
>>>
>>>
>>> And the file is made but is zero size.
>>>
>>> smoke:hunter david$ ls -l test
>>> -rw-r--r--  1 david  realise  0 Mar  3 08:44 test
>>>
>>>
>>> glusterfs/nfslog logs thus:
>>>
>>> [2011-03-03 08:44:10.379188] I [io-stats.c:333:io_stats_dump_fd]
>>> glustervol1: --- fd stats ---
>>>
>>> [2011-03-03 08:44:10.379222] I [io-stats.c:338:io_stats_dump_fd]
>>> glustervol1:       Filename : /production/hunter/test
>>>
>>> Then try to open the file:
>>>
>>> smoke:hunter david$ cat test
>>>
>>> and get the following messages in the log:
>>>
>>> [2011-03-03 08:51:13.957319] I [afr-common.c:716:afr_lookup_done]
>>> glustervol1-replicate-0: background  meta-data self-heal triggered. path:
>>> /production/hunter/test
>>> [2011-03-03 08:51:13.959466] I
>>> [afr-self-heal-common.c:1526:afr_self_heal_completion_cbk]
>>> glustervol1-replicate-0: background  meta-data self-heal completed on
>>> /production/hunter/test
>>>
>>> If I do the same test on a linux machine (nfs) it's fine.
>>>
>>> We get the same issue on all the macs. They are 10.6.6.
>>>
>>> Gluster volume is mounted:
>>> /n/auto/gv1             -rw,hard,tcp,rsize=32768,wsize=32768,intr
>>> gus:/glustervol1
>>> Other nfs mounts on mac (from linux servers) are OK
>>>
>>> We're using LDAP to authenticate on the macs, the gluster servers aren't
>>> bound into the LDAP domain.
>>>
>>> Any ideas?
>>>
>>> Thanks
>>> David
>>>
>>>
>>> g3:/var/log/glusterfs # gluster volume info
>>> Volume Name: glustervol1
>>> Type: Distributed-Replicate
>>> Status: Started
>>> Number of Bricks: 4 x 2 = 8
>>> Transport-type: tcp
>>> Bricks:
>>> Brick1: g1:/mnt/glus1
>>> Brick2: g2:/mnt/glus1
>>> Brick3: g3:/mnt/glus1
>>> Brick4: g4:/mnt/glus1
>>> Brick5: g1:/mnt/glus2
>>> Brick6: g2:/mnt/glus2
>>> Brick7: g3:/mnt/glus2
>>> Brick8: g4:/mnt/glus2
>>> Options Reconfigured:
>>> performance.stat-prefetch: 1
>>> performance.cache-size: 1gb
>>> performance.write-behind-window-size: 1mb
>>> network.ping-timeout: 20
>>> diagnostics.latency-measurement: off
>>> diagnostics.dump-fd-stats: on
>>>
>>>
>>>
>>>
>>>
>>> --
>>> David Lloyd
>>> V Consultants
>>> www.v-consultants.co.uk
>>>
>>>
>>>
>>>
>>
>>
>> --
>> David Lloyd
>> V Consultants
>> www.v-consultants.co.uk
>> tel: +44 7983 816501
>> skype: davidlloyd1243
>>
>>
>
>
> --
> David Lloyd
> V Consultants
> www.v-consultants.co.uk
> tel: +44 7983 816501
> skype: davidlloyd1243
>
>


-- 
David Lloyd
V Consultants
www.v-consultants.co.uk
tel: +44 7983 816501
skype: davidlloyd1243


More information about the Gluster-users mailing list