Re: [Gluster-users] Re-adding an existing brick to a volume

2018-02-25 Thread Vlad Kopylov
Do something like this after reconnecting the brick without attrs and .glusterfs to those cd BRICKPATH sudo find . -path ./.glusterfs -prune -o -exec stat 'MUNTPATH/{}' \; if runs stat for each filename in the brick through mountpoint, excluding .glusterfs folder On Sun, Feb 25, 2018 at 3:16

Re: [Gluster-users] Re-adding an existing brick to a volume

2018-02-25 Thread Vlad Kopylov
.gluster and attr already in that folder so it would not connect it as a brick I don't think there is option to "reconnect brick back" what I did many times - delete .gluster and reset attr on the folder, connect the brick and then update those attr. with stat commands example here

[Gluster-users] Re-adding an existing brick to a volume

2018-02-25 Thread Mitja Mihelič
Hi! I am running a replica 3 volume. On server2 I wanted to move the brick to a new disk. I removed the brick from the volume: gluster volume remove-brick VOLUME rep 2 server2:/gluster/VOLUME/brick0/brick force I unmounted the old brick and mounted the new disk to the same location. I added