[Gluster-users] Gluster heal script?

difa.csi difa.csi at unibo.it
Tue Oct 24 07:33:30 UTC 2023


Hello all.

Is there a script to help healing files that remain in heal info even 
after a pass with heal full ?

I recently (~august) restarted from scratch our Gluster cluster in 
"replica 3 arbiter 1" but I already found some files that are not 
healing and inaccessible (socket not connected) from the fuse mount.

volume info:
-8<--
Volume Name: cluster_data
Type: Distributed-Replicate
Volume ID: 343f7ca5-2fd3-4897-bc45-e1795661f87f
Status: Started
Snapshot Count: 0
Number of Bricks: 9 x (2 + 1) = 27
Transport-type: tcp
Bricks:
Brick1: clustor00:/gb/00/d
Brick2: clustor01:/gb/00/d
Brick3: clustor02:/gb/04/a00 (arbiter)
Brick4: clustor02:/gb/00/d
Brick5: clustor00:/gb/01/d
Brick6: clustor01:/gb/00/a (arbiter)
Brick7: clustor01:/gb/01/d
Brick8: clustor02:/gb/01/d
Brick9: clustor00:/gb/00/a (arbiter)
Brick10: clustor00:/gb/02/d
Brick11: clustor01:/gb/02/d
Brick12: clustor02:/gb/01/a (arbiter)
Brick13: clustor02:/gb/02/d
Brick14: clustor00:/gb/03/d
Brick15: clustor01:/gb/01/a (arbiter)
Brick16: clustor01:/gb/03/d
Brick17: clustor02:/gb/03/d
Brick18: clustor00:/gb/01/a (arbiter)
Brick19: clustor00:/gb/04/d
Brick20: clustor01:/gb/04/d
Brick21: clustor02:/gb/02/a (arbiter)
Brick22: clustor02:/gb/04/d
Brick23: clustor00:/gb/05/d
Brick24: clustor01:/gb/02/a (arbiter)
Brick25: clustor01:/gb/05/d
Brick26: clustor02:/gb/05/d
Brick27: clustor00:/gb/02/a (arbiter)
Options Reconfigured:
features.quota-deem-statfs: on
features.inode-quota: on
features.quota: on
config.transport: tcp
cluster.granular-entry-heal: enable
storage.fips-mode-rchecksum: on
nfs.disable: on
cluster.self-heal-daemon: enable
cluster.brick-multiplex: on
cluster.daemon-log-level: ERROR
-8<--

 From "heal info summary" I noticed that all values for clustor00 are 
always 0 and values for clustor01 and clustor02 are nonzero. Seems they 
don't correctly interact. But "pool list" says they're all connected
I've already updated to latest Gluster 9 version and rebooted the nodes 
(one at a time...).

What should I do?

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


More information about the Gluster-users mailing list