[Gluster-users] Re-Add Distributed Volume Volume
kontakt at taste-of-it.de
Wed Nov 17 09:22:45 UTC 2021
now i am a bit confused and dont know what to do?!
Situation: brocken distributed vol1 with two servers/bricks. I cant start the volume, but i have access at the storage in which the files are.
Situation2: i created a new distributed vol2 over same two servers/bricks. i mounted the new vol2 on both bricks and moved manually files and folders from old vol1 directory. The problem, the free diskspace is free up and the storage runs full.
What now? delete .glusterfs direcoties, which will free up and i can manually move files and folders from old vol1 furhter?
thanks for your help
Am 17.11.2021 09:03:27, schrieb Diego Zuccato:
> If you can still move files from the broken *volume*, you don't have to
> touch .glusterfs folder: it's managed by gluster itself and that's the
> preferred way to recover (more like a transfer between two volumes that
> only accidentally share the filesystem on the bricks).
> But if the vol was really broken (wouldn't start at all), the only way
> to recover would be to read the files *from the bricks*.
> Those are quite different scenarios that require different recovery
> methods. Recovering from the briks is slightly more complicated, since
> you have to manually handle duplicate files, checking if they're
> actually identical or if there are differences.
> Il 16/11/2021 11:14, Taste-Of-IT ha scritto:
> > Hi Diego,
> > i noticed, when i move files from broken volume to new mounted gf volume, the folder and files are also deleted from .glusterfs directory. Thats ok right, because there are the hardlilnks of the files, right? You wrote, that you delete the .glusterfs Folder first and than move. I didnt try it because iam afraid of loosing all files, if these are the hardlings. I also noticed, if i moved files and the folder and files are also deleted in .glusterfs, the disk size didnt change.
> > => i read about hardlink and it seems that there is a remaining part of them, thats why the free space rises, right? So i have to delete the .glusterfs directory right and no "real" files are deleted. Thats what i understand now by reading about hardlinks.
> > What do you think
> > thx
> 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 at gluster.org
More information about the Gluster-users