Re: Quick way to fix stale gfids?

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

 



Any issues reported in /var/log/glusterfs/glfsheal-*.log ?

The easiest way to identify the affected entries is to run:
find /FULL/PATH/TO/BRICK/ -samefile /FULL/PATH/TO/BRICK/.glusterfs/57/e4/57e428c7-6bed-4eb3-b9bd-02ca4c46657a


Best Regards,
Strahil Nikolov


В вторник, 31 януари 2023 г., 11:58:24 ч. Гринуич+2, Diego Zuccato <diego.zuccato@xxxxxxxx> написа:


Hello all.

I've had one of the 3 nodes serving a "replica 3 arbiter 1" down for
some days (apparently RAM issues, but actually failing mobo).
The other nodes have had some issues (RAM exhaustion, old problem
already ticketed but still no solution) and some brick processes
coredumped. Restarting the processes allowed the cluster to continue
working. Mostly.

After the third server got fixed I started a heal, but files didn't get
healed and count (by "ls -l
/srv/bricks/*/d/.glusterfs/indices/xattrop/|grep ^-|wc -l") did not
decrease over 2 days. So, to recover I copied files from bricks to temp
storage (keeping both copies of conflicting files with different
contents), removed files on bricks and arbiters, and finally copied back
from temp storage to the volume.

Now the files are accessible but I still see lots of entries like
<gfid:57e428c7-6bed-4eb3-b9bd-02ca4c46657a>

IIUC that's due to a mismatch between .glusterfs/ contents and normal
hierarchy. Is there some tool to speed up the cleanup?

Tks.

--
Diego Zuccato
DIFA - Dip. di Fisica e Astronomia
Servizi Informatici
Alma Mater Studiorum - Università di Bologna
V.le Berti-Pichat 6/2 - 40127 Bologna - Italy
tel.: +39 051 20 95786
________



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