[Gluster-users] Mac / NFS problems

David Lloyd david.lloyd at v-consultants.co.uk
Thu Mar 3 09:01:55 UTC 2011


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


More information about the Gluster-users mailing list