[Gluster-devel] brick stops responding

Emmanuel Dreyfus manu at netbsd.org
Sun Jan 19 04:08:22 UTC 2014


Emmanuel Dreyfus <manu at netbsd.org> wrote:

> # gluster volume statedump gfs35b1 all 
> volume statedump: failed: Commit failed on debacle. Please check log file
for details.

I found why. The log message is meaningless, it fails because
/var/run/gluster does not exist. Would the fix below be reasonable?

Now the statedump command completes, but since I restarted the daemons
in the meantime, the bug is not there anymore. I will restart my tests.


diff --git a/cli/src/Makefile.am b/cli/src/Makefile.am
index 6370c22..043ea97 100644
--- a/cli/src/Makefile.am
+++ b/cli/src/Makefile.am
@@ -27,3 +27,6 @@ CLEANFILES =
 
 $(top_builddir)/libglusterfs/src/libglusterfs.la:
        $(MAKE) -C $(top_builddir)/libglusterfs/src/ all
+
+install-data-hook:
+       $(mkdir_p) $(localstatedir)/run/gluster


-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org




More information about the Gluster-devel mailing list