Re: GlusterFS AFR mirror exclusions

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

 



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





[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux