[Gluster-devel] Allow ":" as brick path

Gandalf Corvotempesta gandalf.corvotempesta at gmail.com
Sat Oct 29 11:07:33 UTC 2016

Would be possible to add support for ":" in brick path?

i'm trying to use the following command:

# gluster volume replace-brick gv0 commit force
wrong brick type:,
use <HOSTNAME>:<export-dir-abs-path>
Usage: volume replace-brick <VOLNAME> <SOURCE-BRICK> <NEW-BRICK> {commit force}

but the new brick name is not reconized, probably because there are
too many ":" in the argument.

As the hostname (or the IP address) can't have ":", you should get the
hostname/ip up to the first occurence of ":" and leaving the rest as
brick name/path

More information about the Gluster-devel mailing list