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: Niels de Vos
Subject: Re: [Gluster-devel] brick stops responding
Date: Mon, 20 Jan 2014 10:02:48 +0100
User-agent: Mutt/1.5.20 (2009-12-10)

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

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

Thanks,
Niels



reply via email to

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