Purging GlusterFS from Proxmox

To remove GlusterFS do the following:

gluster volume stop $gluster_vol
systemctl stop glusterd

After that you can remove all the dependencies and attributes in the local gluster data brick.

apt-get remove --purge glusterfs-server -y
setfattr -x trusted.glusterfs.volume-id /data/gluster/brick`hostname|cut -b 5`
setfattr -x trusted.gfid /data/gluster/brick`hostname|cut -b 5`
rm -rf /data/gluster/brick1/.glusterfs