trouble combining nufa, distribute and replicate

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/06/2010 11:19 AM, Matthias Munnich wrote:
> 
> Hi!
> 
> I am trying to combine nufa, distribute and replicate but am running in to 
> messages like
> 
> ls: cannot open directory .: Stale NFS file handle
> 
> When I try to list in the mounted directory.  I don't use NFS at all and am
> puzzled as to what is going on.  Attached you find my client config file.  
> The comments marked "ok" are setups which work. However, more than
> one disk is local which let me to use 3 layers:
> 1: replicate, 2: distribute: 3: nufa
> but somehow this is not working. Does anybody spot what is wrong?
> Any help is appreciated. 

First, you can pretty much ignore the reference to NFS.  It's just a bad
errno-to-string conversion.

Second, it seems like there are several places where we treat ESTALE
specially, but only one in the I/O path where we generate it.  That one
is in dht-common.c, which is shared between distribute and nufa.  The
function is dht_revalidate_cbk, and the ESTALE comes from detecting that
the dht "layout" structure is inconsistent.  This leads me to wonder
whether the problem has to do with the fact that distribute/nufa both
use this code and the same set of extended attributes, and might be
stepping on each other.  In general, having explored in some depth how
these translators work, the idea of stacking nufa/distribute on top of
one another (or themselves) makes me a bit queasy.



[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux