[Gluster-devel] Rehashing because st_nlink less than dentry maps

Yann Dupont Yann.Dupont at univ-nantes.fr
Tue Apr 15 16:01:26 UTC 2008


Hello eveybody.
I'm experimenting glusterfs which seems very promising.

BUT i'm facing some problems.

I'm trying to setup  some X11/nomchaine/nx servers, all accesing a large 
and global filesystem.

The system itself is on a local filesystem, but /home is a glusterfs.

Connection whith nx client hangs, and here are the errors on the client

2008-04-15 17:30:08 W [fuse-bridge.c:402:fuse_entry_cbk] glusterfs-fuse: 
27570: (34) /comptes/dupont-y/.Xauthority => 8432041 Rehashing because 
st_nlink less than dentry maps
2008-04-15 17:30:09 W [fuse-bridge.c:681:fuse_fd_cbk] glusterfs-fuse: 
open() got EINTR

On server I got nothing special.


I'vre tried very recent version of glusterfs :

pulteney:~# glusterfs --version
glusterfs 1.3.8 built on Apr 11 2008 17:05:00
Repository revision: glusterfs--mainline--2.5--patch-739

and I simplified at maximum the config (without any performance enhancement)

server side :
##-----------------------

volume brick1
   type storage/posix
   option directory /GLUSTER/1
end-volume

##

volume brick2
   type storage/posix
   option directory /GLUSTER/2
end-volume

##

volume brick3
   type storage/posix
   option directory /GLUSTER/3
end-volume

##

volume brick4
   type storage/posix
   option directory /GLUSTER/4
end-volume


##
volume ns
   type storage/posix
   option directory /GLUSTER/NS/1
end-volume


##
volume ns2
   type storage/posix
   option directory /GLUSTER/NS/2
end-volume

volume server
   type protocol/server
   option transport-type tcp/server
   option auth.ip.brick1.allow XX
   option auth.ip.brick2.allow XX
   option auth.ip.ns.allow XX
   option auth.ip.brick3.allow YY
   option auth.ip.brick4.allow YY
   option auth.ip.ns2.allow YY
   option window-size 2097152
   subvolumes brick1 brick2 brick3 brick4 ns ns2
end-volume

## client side :


# file: /etc/glusterfs/glusterfs-client.vol

## 1er groupe.

volume remote1a
   type protocol/client
   option transport-type tcp/client
   option remote-host gluster1.univ-nantes.prive
#  option window-size 2097152
   option remote-subvolume brick3
end-volume

volume remote1b
   type protocol/client
   option transport-type tcp/client
   option remote-host gluster2.univ-nantes.prive
#  option window-size 2097152
   option remote-subvolume brick3
end-volume

volume mirror1
   type cluster/afr
   subvolumes remote1a remote1b
end-volume

#### 2eme groupe.

volume remote2a
   type protocol/client
   option transport-type tcp/client
   option remote-host gluster1.univ-nantes.prive
#  option window-size 2097152
   option remote-subvolume brick4
end-volume

volume remote2b
   type protocol/client
   option transport-type tcp/client
   option remote-host gluster3.univ-nantes.prive
#  option window-size 2097152
   option remote-subvolume brick3
end-volume

volume mirror2
   type cluster/afr
   subvolumes remote2a remote2b
end-volume


volume remote3a
   type protocol/client
   option transport-type tcp/client
   option remote-host gluster3.univ-nantes.prive
#  option window-size 2097152
   option remote-subvolume brick4
end-volume

volume remote3b
   type protocol/client
   option transport-type tcp/client
   option remote-host gluster2.univ-nantes.prive
#  option window-size 2097152
   option remote-subvolume brick4
end-volume

volume mirror3
   type cluster/afr
   subvolumes remote3a remote3b
end-volume

### Assemblage avec unify.


volume remote-ns
   type protocol/client
   option transport-type tcp/client
   option remote-host gluster1.univ-nantes.prive
   option remote-subvolume ns2
end-volume

volume unify0
   type cluster/unify
   option scheduler rr # round robin
   option namespace remote-ns
   subvolumes mirror1 mirror2 mirror3
end-volume


Regards,

-- 
Yann Dupont - Service IRTS, DSI Université de Nantes
Tel : 02.51.12.53.91 - Mail/Jabber : Yann.Dupont at univ-nantes.fr






More information about the Gluster-devel mailing list