Re: Selfheal is not working?

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

 



Martin,
If you are modifying backend directly, you shouldn't do it.
Krishna

On Thu, Jul 17, 2008 at 9:15 PM, Martin Fick <mogulguy@xxxxxxxxx> wrote:
> --- On Thu, 7/17/08, Tomáš Siegl <tomas.siegl@xxxxxxxxx> wrote:
>
>> Step1: Client1:  cp test_file.txt /mnt/gluster/
>> Step2: Brick1 and Brick4: has test_file.txt in
>> /mnt/gluster/ directory
>> Sept3: Client1: ls /mnt/gluster - test_file.txt is present
>>
>> Step4: Brick1: rm /mnt/gluster/test_file.txt
>> Step5. Client1: cat /mnt/gluster/test_file.txt -> we
>> will get contents
>> of file from brick4
>>
>> Step6. Brick1 ls /home/export is empty. Selfheal not
>> recovered file.
>
> I suspect that this is normal, you are not suppose to modify
> the bricks manually from underneath AFR.  AFR uses extended
> attributes to keep file version metadata.  When you manually
> deleted the file in step4 the directory version metadata should
> not have been updated so I suspect that caused the mismatch
> to go undetected.  The self heal would have occurred if the
> brick node were down and the file was deleted by client and
> then the brick node returned to operation.
>
> -Martin
>
>
>
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel@xxxxxxxxxx
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>




[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