[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

Other Interesting Blogs

Leave a Comment

Omg... this sale is crazy!

Days
Hours
Minutes
Seconds

60% OFF Udacity Nanodegree Programs using code CYBER60.

0 Shares
Share via
Copy link
Powered by Social Snap