[Gluster-users] read only feature only works after the volume is restarted?
amukherj at redhat.com
Mon Feb 16 04:28:29 UTC 2015
On 02/13/2015 02:05 PM, Feng Wang wrote:
> Hi all,
> If we set the read-only feature using the following command in the cli to a volume in service, it will not work until the volume is restarted.
That's the correct functionality. http://review.gluster.org/#/c/8571/
should address it, however it hasn't been taken yet.
> gluster volume set vol-name features.readonly on
> It means that the service must be stopped temporarily. Does this make sense?
> An alternative method is re-mounting the glusterfs using the "-o ro" option. So both of them need the service to be interrupted . Could we have the method to make the volume read-only after flushing the requests on the fly without stopping the service?
> Best Regards,
> Fang Huang
> Gluster-users mailing list
> Gluster-users at gluster.org
More information about the Gluster-users