gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] Force issue


From: James
Subject: [Gluster-devel] Force issue
Date: Sat, 11 Jan 2014 00:50:50 -0500

I came across this issue while working on Puppet Gluster...

volume create: puppet: failed: The brick
annex1.example.com:/var/lib/puppet/tmp/gluster/data/puppet is is being
created in the root partition. It is recommended that you don't use
the system's root partition for storage backend. Or use 'force' at the
end of the command if you want to override this behavior.

For automation purposes, this is a problem, because while I'm happy to
add in the 'force' argument for all commands to avoid the above error,
if a different type of error that can be overrided by force occurs,
then I'll be unknowingly allowing it.

For this reason, it probably makes sense to add in an alternate
syntax, such as --allow-root-storage or similar... One for each
possible override.

Also:

As a side note, I would _LOVE_ to see an --allow-reusing-prefix to
forcibly clear the prefixes if they are empty and create the volume.
The problem is failed gluster volume create commands make folders on
all the hosts, and cause you to hit the prefix problem.

Cheers,
James



reply via email to

[Prev in Thread] Current Thread [Next in Thread]