Please check <a href="http://review.gluster.org/#change,4114">http://review.gluster.org/#change,4114</a><div><br></div><div>Avati<br><br><div class="gmail_quote">On Fri, Oct 19, 2012 at 9:24 PM, Emmanuel Dreyfus <span dir="ltr"><<a href="mailto:manu@netbsd.org" target="_blank">manu@netbsd.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Vijay Bellur <<a href="mailto:vbellur@redhat.com">vbellur@redhat.com</a>> wrote:<br>
<br>
> Not really. You could start with a custom volume file like:<br>
><br>
> volume foo-posix<br>
> type storage/posix<br>
> option directory /tmp/foo1<br>
> option volume-id 3103a755-72fb-4d0d-8cd4-89845592ad98<br>
> end-volume<br>
<br>
</div>I changed volume-id to glusterd-uuid to shut up a warning.<br>
<br>
After a few tests, I am now conviced the protocol error is a consequence<br>
of an earlier bug. On a fresh volume that contains nothing, ls -l on an<br>
unexisting file at volume root causes a crash in lookup code.<br>
<br>
[posix.c:129:posix_lookup] 0-foo-posix: null gfid for path /x<br>
[posix.c:154:posix_lookup] 0-foo-posix: lstat on (null) failed:<br>
Undefined error: 0<br>
<br>
This is where it comes from:<br>
<br>
#define MAKE_INODE_HANDLE(rpath, this, loc, iatt_p) do { \<br>
if (uuid_is_null (loc->gfid)) { \<br>
gf_log (this->name, GF_LOG_ERROR, \<br>
"null gfid for path %s", loc->path); \<br>
break; \<br>
} \<br>
<br>
Is it something sane?<br>
<div class="im HOEnZb"><br>
--<br>
Emmanuel Dreyfus<br>
<a href="http://hcpnet.free.fr/pubz" target="_blank">http://hcpnet.free.fr/pubz</a><br>
<a href="mailto:manu@netbsd.org">manu@netbsd.org</a><br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org">Gluster-devel@nongnu.org</a><br>
<a href="https://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">https://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</div></div></blockquote></div><br></div>