[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] AFR replication
From: |
Matt Paine |
Subject: |
Re: [Gluster-devel] AFR replication |
Date: |
Sat, 21 Jul 2007 14:50:03 +1000 |
> > I have the following lines in client AFR translator in a test setup:
> >
> > option replicate /var/appl/*:2
> > option replicate /var/appl/*/logs/*:1
> even if I make it like this:
> option replicate /var/appl/*:2
> option replicate /var/appl/2.7/logs/*:1
Hi Gerry
Try switching the rules around, I believe the first match will be the
one it uses. In this case /var/appl/* matches
your /var/appl/2.7/logs/some.log so it applies the *:2 rule to it.
Switching them around will enable the *:1 rule to match your file before
it hits the *:2 rule
Also, i am not 100% certain, but i believe all the rules need to be on
the one line, comma sepparated...... i.e.....
option replicate /var/appl/2.7/logs/*:1,/var/appl/*:2
Although i may be incorrect on that one.
Hope this helps
Matt.
- [Gluster-devel] AFR replication, Gerry Reno, 2007/07/20
- Re: [Gluster-devel] AFR replication, Gerry Reno, 2007/07/20
- Re: [Gluster-devel] AFR replication,
Matt Paine <=
- Re: [Gluster-devel] AFR replication, Krishna Srinivas, 2007/07/21
- Re: [Gluster-devel] AFR replication, Amar S. Tumballi, 2007/07/21
- Re: [Gluster-devel] AFR replication, Gerry Reno, 2007/07/21
- Re: [Gluster-devel] AFR replication, Gerry Reno, 2007/07/21
- Re: [Gluster-devel] AFR replication, Gerry Reno, 2007/07/21
- Re: [Gluster-devel] AFR replication, Gerry Reno, 2007/07/21
- Re: [Gluster-devel] AFR replication, Krishna Srinivas, 2007/07/23