[Gluster-devel] help to check correctness

Amar S. Tumballi amar at zresearch.com
Wed May 28 06:31:58 UTC 2008


That result is correct.

GlusterFS keeps the files as is on the backend (hence /home/cfs{0,1} has
exactly one entries, alternatively, (because you use rr scheduler)), a
namespace contains a entry for every file and directory created, (or say it
will have complete unified view of the filesystem at one place).

Of course your glusterfs mount shows all the files created over it.

hope you got the basic design?

I think, it is working. At least, log file contains no any error
> records and when I try to create files in the mounted folder, the
> server mapped folders receive copy of these files. But I cannot
> understand - should the maped and namespace folders contain all files
> too?
>
> touch ./glusterfs/file{0,1,2,3,4,5,6,7,8}
> find /home/cfs[0-3] -type f
>
> /home/cfs0/file7
> /home/cfs0/file1
> /home/cfs0/file5
> /home/cfs0/file3
> /home/cfs1/file6
> /home/cfs1/file2
> /home/cfs1/file4
> /home/cfs1/file0
> /home/cfs1/file8
> /home/cfs2/file6
> /home/cfs2/file2
> /home/cfs2/file4
> /home/cfs2/file7
> /home/cfs2/file0
> /home/cfs2/file1
> /home/cfs2/file5
> /home/cfs2/file8
> /home/cfs2/file3
> /home/glusterfs/file6
> /home/glusterfs/file2
> /home/glusterfs/file4
> /home/glusterfs/file7
> /home/glusterfs/file0
> /home/glusterfs/file1
> /home/glusterfs/file5
> /home/glusterfs/file8
> /home/glusterfs/file3
>
> Please help me to understand correctness of test result.
>
> TIA,
>
> Simon
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>



-- 
Amar Tumballi
Gluster/GlusterFS Hacker
[bulde on #gluster/irc.gnu.org]
http://www.zresearch.com - Commoditizing Super Storage!



More information about the Gluster-devel mailing list