[Gluster-devel] GlusterFS AFR mirror exclusions

Gerry Reno greno at verizon.net
Sat Jul 7 03:37:15 UTC 2007


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?

Regards,
Gerry







More information about the Gluster-devel mailing list