<html><body><div style="color:#000; background-color:#fff; font-family:Helvetica Neue-Light, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, Sans-Serif;font-size:13px"><div id="yiv8191000171yui_3_16_0_1_1423813924418_3040" dir="ltr" class="" style=""><span id="yiv8191000171yui_3_16_0_1_1423813924418_3118" class="" style="">Hi all,</span></div><div id="yiv8191000171yui_3_16_0_1_1423813924418_3040" dir="ltr" class="" style=""><br class="" style=""></div><div id="yiv8191000171yui_3_16_0_1_1423813924418_3040" dir="ltr" class="" style=""><span id="yiv8191000171yui_3_16_0_1_1423813924418_3142" class="" style="">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.</span></div><div id="yiv8191000171yui_3_16_0_1_1423813924418_3040" dir="ltr" class="" style=""><br class="" style=""></div><div id="yiv8191000171yui_3_16_0_1_1423813924418_3040" dir="ltr" class="" style=""><span id="yui_3_16_0_1_1423813924418_26320" class="" style="">gluster volume set vol-name features.readonly on</span></div><div id="yiv8191000171yui_3_16_0_1_1423813924418_3040" dir="ltr" class="" style=""><br class="" style=""></div><div id="yiv8191000171yui_3_16_0_1_1423813924418_3040" dir="ltr" class="" style=""><span id="yiv8191000171yui_3_16_0_1_1423813924418_3298" class="" style="">It means that the service must be stopped&nbsp;<span class="" id="yiv8191000171yui_3_16_0_1_1423813924418_3223" style="color: rgb(34, 34, 34); font-family: Tahoma; line-height: 18px;">temporarily</span>. Does this make sense?</span></div><div id="yiv8191000171yui_3_16_0_1_1423813924418_3040" dir="ltr" class="" style=""><br class="" style=""></div><div id="yiv8191000171yui_3_16_0_1_1423813924418_3040" dir="ltr" class="" style="">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?&nbsp;</div><div class="" style=""></div><div id="yiv8191000171yui_3_16_0_1_1423813924418_3041" class="" style=""><br></div><div></div><div id="yui_3_16_0_1_1423813924418_27029">&nbsp;</div><div id="yui_3_16_0_1_1423813924418_27031"><div id="yui_3_16_0_1_1423813924418_27030">Best Regards,
<br>Fang Huang</div></div></div></body></html>