I seem to have hit glusterbug 991084
I try solution:
(vol=machines; brick=/export/sdb1/brick; setfattr -n trusted.glusterfs.volume-id -v 0x$(grep volume-id /var/lib/glusterd/vols/$vol/info | cut -d= -f2 | sed 's/-//g') $brick) grep: /var/lib/glusterd/vols/machines/info: No such file or directory
And then this :
root@cluster1:/home/admincit# gluster volume start gv0 force volume start: gv0: failed: Volume id mismatch for brick 192.168.100.170:/export/sdb1/brick. Expected volume id e9e31a9d-e194-4cbb-851c-a837ebc753d0, volume id 00000000-0000-0000-0000-000000000000 found
This has come about because I replaced the HD the brick was on.
Is there another solution I can try or does anyone know what I have to tweak in the above commands to get this volume id thing sorted ?
Thanks for the help,