Re: Recovering from remove-brick where shards did not rebalance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The data should be recoverable by concatenating the main file with all shards. Then you can copy the data back via the FUSE mount point.

I think that some users reported that add-brick with the force option allows to 'undo' the situation and 're-add' the data, but I have never tried that and I cannot guarantee that it will even work.

The simplest way is to recover from a recent backup , but sometimes this leads to a data loss.

Best Regards,
Strahil Nikolov

On Tue, Sep 7, 2021 at 9:29, Anthony Hoppe
<anthony@xxxxxxxx> wrote:
Hello,

I did a bad thing and did a remove-brick on a set of bricks in a distributed-replicate volume where rebalancing did not successfully rebalance all files.  In sleuthing around the various bricks on the 3 node pool, it appears that a number of the files within the volume may have been stored as shards.  With that, I'm unsure how to proceed with recovery.

Is it possible to re-add the removed bricks somehow and then do a heal?  Or is there a way to recover data from shards somehow?

Thanks!
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://meet.google.com/cpu-eiue-hvk
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux