[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation
From: |
Emmanuel Dreyfus |
Subject: |
Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation |
Date: |
Sat, 20 Oct 2012 06:24:40 +0200 |
User-agent: |
MacSOUP/2.7 (unregistered for 2100 days) |
Vijay Bellur <address@hidden> wrote:
> Not really. You could start with a custom volume file like:
>
> volume foo-posix
> type storage/posix
> option directory /tmp/foo1
> option volume-id 3103a755-72fb-4d0d-8cd4-89845592ad98
> end-volume
I changed volume-id to glusterd-uuid to shut up a warning.
After a few tests, I am now conviced the protocol error is a consequence
of an earlier bug. On a fresh volume that contains nothing, ls -l on an
unexisting file at volume root causes a crash in lookup code.
[posix.c:129:posix_lookup] 0-foo-posix: null gfid for path /x
[posix.c:154:posix_lookup] 0-foo-posix: lstat on (null) failed:
Undefined error: 0
This is where it comes from:
#define MAKE_INODE_HANDLE(rpath, this, loc, iatt_p) do { \
if (uuid_is_null (loc->gfid)) { \
gf_log (this->name, GF_LOG_ERROR, \
"null gfid for path %s", loc->path); \
break; \
} \
Is it something sane?
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
address@hidden
- [Gluster-devel] 3.4.0qa1: protocol error on node creation, Emmanuel Dreyfus, 2012/10/18
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Niels de Vos, 2012/10/18
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Emmanuel Dreyfus, 2012/10/18
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Emmanuel Dreyfus, 2012/10/18
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Vijay Bellur, 2012/10/18
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Emmanuel Dreyfus, 2012/10/18
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Vijay Bellur, 2012/10/18
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Emmanuel Dreyfus, 2012/10/18
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation,
Emmanuel Dreyfus <=
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Anand Avati, 2012/10/20
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Emmanuel Dreyfus, 2012/10/20
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Emmanuel Dreyfus, 2012/10/20
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Emmanuel Dreyfus, 2012/10/20
- Re: [Gluster-devel] 3.4.0qa1: protocol error on node creation, Vijay Bellur, 2012/10/18