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

Xavier Hernandez xhernandez at datalab.es
Fri Jun 16 07:55:42 UTC 2017


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


More information about the Gluster-devel mailing list