Destroy gluster brick

If you wish to destroy or recreate a Gluster brick, it leaves some traces behind on the filesystem. This is the procedure to blat it:

gluster volume stop gv0
gluster volume delete gv0
attr -lq /data/gv0/brick1
setfattr -x trusted.glusterfs.volume-id /data/gv0/brick1/
setfattr -x trusted.gfid /data/gv0/brick1/
rm –rf /data/gv0/brick1/.glusterfs
/etc/init.d/glusterd restart

You can leave a response, or trackback from your own site.

Leave a Reply