[Gluster-devel] "Structure needs cleaning" error

Brent A Nelson brent at phys.ufl.edu
Sat Feb 7 00:13:05 UTC 2009


I'm testing 2.0.0rc1 with 16 replicates under a distribute.  I noticed 
that, if you don't first do a lookup on the directory, and you instead go 
straight to writing (tried dd and cp -a), a "Structure needs cleaning" 
error is returned.  dht logs attempts to lookup what I'm trying to create 
(each of which returns "no such file or directory", as it hasn't been 
created yet) before the fuse-bridge returns the "Structure needs cleaning" 
error.

After doing an ls on the mountpoint, you can then write without an error.

I also tested with 2.0.0qa14, which has similar behavior.  However, it 
simply returns "no such file or directory", rather than "Structure needs 
cleaning".

I seem to recall someone mentioning a bug whereby you first need to read 
from the GlusterFS before writing to it, in which case this may already 
be fixed in the repository.

Thanks,

Brent

PS Are some of Filipe Maia's recent patches coming to a release candidate 
soon?





More information about the Gluster-devel mailing list