Gluster:{path} or a prefix of it is already part of a volume
Posted: Wed Mar 26, 2014 12:51 pm
[PROBLEM]
I've set up a new glusterfs node and wanted to re-use disks which previously already contained a glusterfs volume.
When trying to create the gluster volume on the new setup, I was (of course) confronted with the following error message:
Now, the "volume create" command should complete successfully
I've set up a new glusterfs node and wanted to re-use disks which previously already contained a glusterfs volume.
When trying to create the gluster volume on the new setup, I was (of course) confronted with the following error message:
According to Joe Julian's blog, an existing gluster volume data folder can be "freed" to be reused, by removing some file attributes and the .glusterfs folder:volume create: dlp-storage: failed: /exports/brick1/data or a prefix of it is already part of a volume
Code: Select all
setfattr -x trusted.glusterfs.volume-id $brick_path
setfattr -x trusted.gfid $brick_path
rm -rf $brick_path/.glusterfs