[Gluster-devel] Idea: gluster volume "clear" command for xattrs?

Justin Clift jclift at redhat.com
Thu Mar 28 05:26:01 UTC 2013


Had a quick thought.  Would a gluster volume command to
remove all of the xattr's from a brick be useful?

e.g. "sudo gluster volume clear /path/mybrick1"

It would remove all Gluster xattr's on the brick, letting it
be used in a new volume.

Pretty much exactly what we're giving people manual
directions for, with setfattr -x [xattrs here] /path/mybrick1.

Except people commonly have problems with the setfattr
approach, so we end up having to step them through it
manually on IRC until it works.

Worthwhile?  (note, "clear" was a first idea for a
reasonable name, can be anything. :>)

Regards and best wishes,

Justin Clift

--
Open Source and Standards @ Red Hat

twitter.com/realjustinclift





More information about the Gluster-devel mailing list