<div dir="ltr"><div class="gmail_extra"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>On Sun, Nov 13, 2016 at 6:35 PM, Lindsay Mathieson <span dir="ltr">&lt;<a href="mailto:lindsay.mathieson@gmail.com" target="_blank">lindsay.mathieson@gmail.com</a>&gt;</span> wrote:<br></div></div></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">As discussed recently, it is way to easy to make destructive changes<br>
to a volume,e.g change shard size. This can corrupt the data with no<br>
warnings and its all to easy to make a typo or access the wrong volume<br>
when doing 3am maintenance ...<br>
<br>
So I&#39;d like to suggest something like the following:<br>
<br>
  gluster volume lock &lt;volname&gt;<br>
<br>
Setting this would fail all:<br>
- setting changes<br>
- add bricks<br>
- remove bricks<br>
- delete volume<br>
<br>
  gluster volume unlock &lt;volname&gt;<br>
<br>
would allow all changes to be made.<br>
<br>
Just a thought, open to alternate suggestions.<br>
<br>
Thanks<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div>+</div><div>sounds handy </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">
--<br>
Lindsay<br>
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br>
</font></span></blockquote></div><br></div></div>