I’ve been playing with RedHat storage server which runs GlusterFS under the hood and cloned the nodes from a single master but got an error about “overlapping export directories from the same peer” when creating a new volume on GlusterFS.

Turns out if you have cloned the nodes then you need to make sure you have updated the UUID in /etc/glusterd/glusterd.info to actually be unique again.

Quick cheat is to do:

service glusterd stop
echo "UUID=$(uuidgen)" > /etc/glusterd/glusterd.info
service glusterd start