Lindsay Mathieson
2016-Nov-14 00:35 UTC
[Gluster-users] Feature Request: Lock Volume Settings
As discussed recently, it is way to easy to make destructive changes to a volume,e.g change shard size. This can corrupt the data with no warnings and its all to easy to make a typo or access the wrong volume when doing 3am maintenance ... So I'd like to suggest something like the following: gluster volume lock <volname> Setting this would fail all: - setting changes - add bricks - remove bricks - delete volume gluster volume unlock <volname> would allow all changes to be made. Just a thought, open to alternate suggestions. Thanks -- Lindsay
On Sun, Nov 13, 2016 at 6:35 PM, Lindsay Mathieson < lindsay.mathieson at gmail.com> wrote:> As discussed recently, it is way to easy to make destructive changes > to a volume,e.g change shard size. This can corrupt the data with no > warnings and its all to easy to make a typo or access the wrong volume > when doing 3am maintenance ... > > So I'd like to suggest something like the following: > > gluster volume lock <volname> > > Setting this would fail all: > - setting changes > - add bricks > - remove bricks > - delete volume > > gluster volume unlock <volname> > > would allow all changes to be made. > > Just a thought, open to alternate suggestions. > > Thanks > > +sounds handy> -- > Lindsay > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20161113/fdbcaea3/attachment.html>