gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] GlusterFS AFR mirror exclusions


From: Steffen Grunewald
Subject: Re: [Gluster-devel] GlusterFS AFR mirror exclusions
Date: Mon, 9 Jul 2007 08:29:33 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Jul 06, 2007 at 11:37:15PM -0400, Gerry Reno wrote:
> Krishna Srinivas wrote:
> >Hi Gerry,
> >
> >In the next release this can be done. i.e you can say
> >
> >option replicate /usr/src/linux/*:1,/usr/src/*:2,*:3
> >i.e we can specify full path.
> >So all the files under the directory /usr/src/linux will be replicated
> >only once.
> >All the files under /usr/src except for the ones in "linux" will be
> >replicated twice.
> >Rest of the files will be replicated thrice.
> Krishna,
>  Would it be possible to have exclude option like this:
> 
>  option replicate /var/*:3
>  option exclude /var/log/*:3
> 
> so that everything under /var would be replicated except for /var/log 
> which would contain local copy only to each client?

option replicate /var/log/*:1,/var/*:3

assuming that there's a typo in your request
o basically you'd specify all the "exclusions" first, followed by the rest,
and the first match is what counts

S





reply via email to

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