<html><body><div style="font-family: lucida console,sans-serif; font-size: 12pt; color: #000000"><div>Bit of a delay on this one (on hols), but +1 from me<br></div><div><br></div><div>I use the force parameter in gluster-deploy - specifically for enabling snapshot support by provisioning thin LV's.<br></div><div><br></div><div>PC<br></div><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"James" &lt;purpleidea@gmail.com&gt;<br><b>To: </b>"Gluster Devel" &lt;gluster-devel@nongnu.org&gt;<br><b>Sent: </b>Saturday, 11 January, 2014 6:50:50 PM<br><b>Subject: </b>[Gluster-devel] Force issue<br><div><br></div>I came across this issue while working on Puppet Gluster...<br><div><br></div>volume create: puppet: failed: The brick<br>annex1.example.com:/var/lib/puppet/tmp/gluster/data/puppet is is being<br>created in the root partition. It is recommended that you don't use<br>the system's root partition for storage backend. Or use 'force' at the<br>end of the command if you want to override this behavior.<br><div><br></div>For automation purposes, this is a problem, because while I'm happy to<br>add in the 'force' argument for all commands to avoid the above error,<br>if a different type of error that can be overrided by force occurs,<br>then I'll be unknowingly allowing it.<br><div><br></div>For this reason, it probably makes sense to add in an alternate<br>syntax, such as --allow-root-storage or similar... One for each<br>possible override.<br><div><br></div>Also:<br><div><br></div>As a side note, I would _LOVE_ to see an --allow-reusing-prefix to<br>forcibly clear the prefixes if they are empty and create the volume.<br>The problem is failed gluster volume create commands make folders on<br>all the hosts, and cause you to hit the prefix problem.<br><div><br></div>Cheers,<br>James<br><div><br></div>_______________________________________________<br>Gluster-devel mailing list<br>Gluster-devel@nongnu.org<br>https://lists.nongnu.org/mailman/listinfo/gluster-devel<br></blockquote><div><br></div></div></body></html>