[Gluster-devel] afr logic
Kevan Benson
kbenson at a-1networks.com
Wed Oct 17 17:46:27 UTC 2007
Alexey Filin wrote:
> On 10/17/07, Kevan Benson <kbenson at a-1networks.com> wrote:
>
>
>> The rsync case can probably be handled through a separate find of the
>> appropriate attributes on the source and set on the target. A simple
>> bash/perl script could handle this in a few lines.
>>
>> The fsck case is more interesting, but if you could get fsck to report
>> file/directory names that have problems and not fix them, it's easy to
>> pipe that to a script to remove the trusted.afr.version attribute on the
>> files and then the AFR will heal itself.
>>
>
>
> didn't check, may be you know, is the second healthy pair in cluster/stripe
> (if two bricks are used to stripe) in the case to be copied too? (of course
> afr'ed volumes use the same underlying cluster/stripe configuration)
>
It probably has to do with whether you stripe an afr or afr some
stripes. Think RAID 10 compared to RAID 0+1.
--
-Kevan Benson
-A-1 Networks
More information about the Gluster-devel
mailing list