How to completely delete a GlusterFS volume
<p>I have some GlusterFS(Version 3.7.11) volumes created and started, after some test, I stopped hand deleted the volumes, but they are still remain in the GlusterFS servers.</p>

<p>For example, I have 3 servers, and bricks saved under /gfs:</p>

<pre><code>[vagrant@gfs-server-2 ~]$ sudo gluster volume create test-vol gfs-server-1:/gfs/test-vol gfs-server-2:/gfs/test-vol gfs-server-3:/gfs/test-vol force
volume create: test-vol: success: please start the volume to access data
[vagrant@gfs-server-2 ~]$ sudo gluster volume start test-vol
volume start: test-vol: success
[vagrant@gfs-server-2 ~]$ mkdir /tmp/test

[vagrant@gfs-server-2 ~]$ sudo mount -t glusterfs gfs-server-1:/test-vol /tmp/test

[vagrant@gfs-server-2 ~]$ sudo touch /tmp/test/`date +%s`.txt
[vagrant@gfs-server-2 ~]$ sudo touch /tmp/test/`date +%s`.txt
[vagrant@gfs-server-2 ~]$ sudo touch /tmp/test/`date +%s`.txt
[vagrant@gfs-server-2 ~]$ sudo touch /tmp/test/`date +%s`.txt

[vagrant@gfs-server-2 ~]$ sudo ls /tmp/test/
1469617442.txt    1469617446.txt    1469617447.txt    1469617449.txt
[vagrant@gfs-server-2 ~]$ ls /gfs/test-vol/
1469617449.txt
[vagrant@gfs-server-2 ~]$ sudo umount /tmp/test
</code></pre>

<p>After delete the volume, I can still see the files remain in the GlusterFS servers:</p>

<pre><code>[vagrant@gfs-server-2 ~]$ sudo gluster volume stop test-vol
Stopping volume will make its data inaccessible. Do you want to continue? (y/n) y
volume stop: test-vol: success

[vagrant@gfs-server-2 ~]$ sudo gluster volume delete test-vol
Deleting volume will erase all information about the volume. Do you want to continue? (y/n) y
volume delete: test-vol: success

[vagrant@gfs-server-2 ~]$ ls /gfs/test-vol/
1469617449.txt
</code></pre>