Linux, TROUBLESHOOTING

[Solved] Glusterfs already part of a volume Error For Volume Creation

I am trying to create a volume in Glusterfs and  I am getting an error saying “Volume creation Failed: gdata is already part of a volume”. How can i rectify this problem?

Glusterfs: already part of a volume Error

This error normally occurs when traces of metadata and configs are present it the brick you have created. You can execute the following commands to rectify the issue.

Note: /path/to/brick refers to the mount path of Glusterfs volume.

setfattr -x trusted.glusterfs.volume-id </path/to/brick>
setfattr -x trusted.gfid </path/to/brick>
rm -rf </path/to/brick>/.glusterfs




Stay UpToDate With

Latest Tools, Tips and

Tutorials

x