[Gluster-devel] brick stops responding

Niels de Vos ndevos at redhat.com
Mon Jan 20 09:02:48 UTC 2014


On Sun, Jan 19, 2014 at 05:08:22AM +0100, Emmanuel Dreyfus wrote:
> 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
> 
> 

Yes, this is reasonable. The RPMs contain this directory, but it would 
be nicer to have it created during 'make install'.

Thanks,
Niels




More information about the Gluster-devel mailing list