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?
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.
1 2 3 |
setfattr -x trusted.glusterfs.volume-id </path/to/brick> setfattr -x trusted.gfid </path/to/brick> rm -rf </path/to/brick>/.glusterfs |
The Best Tutorials & Tips to Speedup Your DevOps Workflow.
Created by Bibin Wilson.