<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>I think it is worth to implement a lock option.</p>
    <p>+1</p>
    <p><br>
    </p>
    <p>Rafi KC<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 11/14/2016 06:12 AM, David Gossage
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJXeYEV+D2hT5aK0EzBdXwdZga3EewiW+oB74okw1qRF+Q47TQ@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
                      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'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 moz-do-not-send="true"
                    href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
                  <a moz-do-not-send="true"
                    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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Gluster-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a class="moz-txt-link-freetext" href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>