Nilesh Govindrajan
2014-Jul-11 13:30 UTC
[Gluster-users] Unable to remove/replace dead brick
sto1 ~ # gluster volume remove-brick www-common replica 1 sto2:/data/gluster/www-common Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y volume remove-brick commit force: failed: Incorrect brick sto2:/data/gluster/www-common for volume www-common sto1 ~ # gluster volume replace-brick www-common sto2:/data/gluster/www-common sto2:/data/gluster/www-common commit force volume replace-brick: failed: brick: sto2:/data/gluster/www-common does not exist in volume: www-common The real objective was to change hostname, but this messed up somehow.
Nilesh Govindrajan
2014-Jul-12 01:50 UTC
[Gluster-users] Unable to remove/replace dead brick
On Fri, 2014-07-11 at 19:00 +0530, Nilesh Govindrajan wrote:> sto1 ~ # gluster volume remove-brick www-common replica 1 > sto2:/data/gluster/www-common > Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y > volume remove-brick commit force: failed: Incorrect brick > sto2:/data/gluster/www-common for volume www-common > > sto1 ~ # gluster volume replace-brick www-common > sto2:/data/gluster/www-common sto2:/data/gluster/www-common commit > force > volume replace-brick: failed: brick: sto2:/data/gluster/www-common > does not exist in volume: www-common > > > The real objective was to change hostname, but this messed up somehow.Never mind, I managed to fix it by editing files manually in /var/lib/glusterd.
On 07/11/2014 07:00 PM, Nilesh Govindrajan wrote:> sto1 ~ # gluster volume remove-brick www-common replica 1 > sto2:/data/gluster/www-common > Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y > volume remove-brick commit force: failed: Incorrect brick > sto2:/data/gluster/www-common for volume www-commonCan you please paste gluster volume info output? ~Atin> > sto1 ~ # gluster volume replace-brick www-common > sto2:/data/gluster/www-common sto2:/data/gluster/www-common commit > force > volume replace-brick: failed: brick: sto2:/data/gluster/www-common > does not exist in volume: www-common > > > The real objective was to change hostname, but this messed up somehow. > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users >