[Gluster-devel] BUG Report: (unify) adding more servers to the cluster may result in inaccessible directory

Amar S. Tumballi amar at zresearch.com
Tue Feb 6 19:50:29 UTC 2007


Hey,
 Nice notice. But I think we have said about it in our document that the underlying
rule for glusterFS is that directories are created in every server. This is known 
bug for us. Sure, this problem is not handled in unify, and 'fsck' should solve
the probelm. 

 Thanks for mailing us the bug, please wait till our next release (refer roadmaps) 
to solve this issue.

Happy hacking,
- bulde

On Tue, Feb 06, 2007 at 05:29:16PM -0200, Daniel van Ham Colchete wrote:
> Hi everyone!
> 
> With help from bulde, I brought up a very small GlusterFS cluster. It
> has 3 servers with 101GB (64 + 28 + 9).
> 
> I think I may have found a bug in the system. At least I think I did
> the right thing.
> 
> Steps to reproduce:
> 
> 1 - Start the cluster with two servers.
> 2 - Mount it.
> 3 - Create a directory and add a few files on it.
> 4 - Unmount it and stop the cluster's servers.
> 5 - Reconfigure the cluster adding one more server.
> 6 - Start the cluster with three servers and mount it.
> 7 - Try to access the directory you created.
> 
> Result:
> 152 ~ # find /mnt/gluster/
> /mnt/gluster/
> /mnt/gluster/Test01
> find: /mnt/gluster/Test01: No such file or directory
> /mnt/gluster/lost+found
> 
> Work arround: create the Test01 directory at the third server export
> dir. After doing this, without restarting/reconfiguring anything, I
> had the correct result:
> 152 ~ # find /mnt/gluster/
> /mnt/gluster/
> /mnt/gluster/Test01
> /mnt/gluster/Test01/file005
> /mnt/gluster/Test01/file004
> /mnt/gluster/Test01/file003
> /mnt/gluster/Test01/file002
> /mnt/gluster/Test01/file001
> /mnt/gluster/lost+found
> 152 ~ #
> 
> 
> I think this is the kind of thing that the fsck will correct when it's
> available, but shouldn't I have the access?
> 
> My config files:
> http://download2.mav.com.br/gluster/server-151.vol (first)
> http://download2.mav.com.br/gluster/server-152.vol (second)
> http://download2.mav.com.br/gluster/server-154.vol (third server)
> http://download2.mav.com.br/gluster/client.vol
> 
> Version information:
> GlusterFS: 1.2.3
> Kernel: 2.6.19-gentoo-r5
> FUSE: 2.6.1
> 
> Best regards,
> Daniel Colchete
> 
> 
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
> 





More information about the Gluster-devel mailing list