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">&lt;<a href="mailto:manu@netbsd.org" target="_blank">manu@netbsd.org</a>&gt;</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 &lt;<a href="mailto:vbellur@redhat.com">vbellur@redhat.com</a>&gt; wrote:<br>
<br>
&gt; Not really. You could start with a custom volume file like:<br>
&gt;<br>
&gt; volume foo-posix<br>
&gt;      type storage/posix<br>
&gt;      option directory /tmp/foo1<br>
&gt;      option volume-id 3103a755-72fb-4d0d-8cd4-89845592ad98<br>
&gt; 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-&gt;gfid)) { \<br>
                gf_log (this-&gt;name, GF_LOG_ERROR, \<br>
                        &quot;null gfid for path %s&quot;, loc-&gt;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>