gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] brick stops responding


From: Emmanuel Dreyfus
Subject: Re: [Gluster-devel] brick stops responding
Date: Sun, 19 Jan 2014 05:08:22 +0100
User-agent: MacSOUP/2.7 (unregistered for 2556 days)

Emmanuel Dreyfus <address@hidden> 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
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]