[Gluster-devel] Self-heal on read-only volumes

Pranith Kumar Karampuri pkarampu at redhat.com
Fri Jun 16 10:56:06 UTC 2017


I remember either Kotresh/Karthik recently sent patches to do something
similar. Adding them to check if the know something about this

On Fri, Jun 16, 2017 at 1:25 PM, Xavier Hernandez <xhernandez at datalab.es>
wrote:

> Hi,
>
> currently it seems that a read-only replica 2 volume cannot be healed
> because all attempts to make changes by the self-heal daemon on the damaged
> brick will fail with EROFS.
>
> It's true that no regular writes are allowed, so there's no possibility to
> cause damage by partial writes or similar things. However a read-only brick
> can still fail because of disk errors and some files could get corrupted or
> the entire disk will need to be replaced.
>
> Is this a bug or the only way to solve this problem is to make the volume
> read-write until self-heal finishes ?
>
> Thanks,
>
> Xavi
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-devel
>



-- 
Pranith
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-devel/attachments/20170616/c569beee/attachment.html>


More information about the Gluster-devel mailing list