David Hill
2015-Jul-07 22:06 UTC
[Gluster-users] question about 'create volume' force option
We are testing with 2 different version of glusterfs, 3.3.0-2 and 3.7.2-3. Somewhere between these 2, the command line option of 'force' was added to the "create volume" command. Since we have a script that calls the "create volume" command and we want it in root, that means I need to use the 'force' (no pun intended) starting at a version and higher. So trying to find out which version was implemented. Thanks... -- ------------------ David Hill -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150707/c3f93fa6/attachment.html>
Atin Mukherjee
2015-Jul-08 04:37 UTC
[Gluster-users] question about 'create volume' force option
On 07/08/2015 03:36 AM, David Hill wrote:> We are testing with 2 different version of glusterfs, 3.3.0-2 and 3.7.2-3. > Somewhere between these 2, the command line option of 'force' was added to > the "create volume" command. > > Since we have a script that calls the "create volume" command and we want > it in root, that means I need to use the 'force' (no pun intended) > starting at a version and higher. So trying to find out which version was > implemented.3.3 is quite old and I would recommend you not to use it, the latest versions (3.6 onwards) should have force flavor in place.> > Thanks... > > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://www.gluster.org/mailman/listinfo/gluster-users >-- ~Atin
Vijay Bellur
2015-Jul-08 11:57 UTC
[Gluster-users] question about 'create volume' force option
On Wednesday 08 July 2015 03:36 AM, David Hill wrote:> We are testing with 2 different version of glusterfs, 3.3.0-2 and > 3.7.2-3. Somewhere between these 2, the command line option of 'force' > was added to the "create volume" command. > > Since we have a script that calls the "create volume" command and we > want it in root, that means I need to use the 'force' (no pun intended) > starting at a version and higher. So trying to find out which version > was implemented. >A quick git grep indicates that this validation was added in 3.4.x. Regards, Vijay