Re: Re-Add Distributed Volume Volume

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

 



I searched the net but found any needfull, which helped. After one Brick OS is complete crushing, to reinstall the os and glusterfs and try to reuse the vol1.Readd the volume didnt work, so i decided to migrate to a new working distributed vol2.

No i mounted new distributed vol2 on both server, so gluster can handle it. Than i copy files and folders on the same server to the mountpoint of vol2. Yes thats 2 servers with one brick. Thats are the same server with the death vol1. 

Am 17.11.2021 11:33:29, schrieb Diego Zuccato:
> Please stop and think before acting :)
> What I like most of Gluster is its safety, but better not to abuse it...
> 
> IIUC you moved data from brick to brick, not using the mounted volume. 
> That makes your data invisible in the volume.
> But I find your terminology confusing. Do you have two servers with one 
> brick (exported folder) each? Or do they export multiple bricks?
> Could you post output of "gluster vol info" ?
> 
> Il 17/11/2021 10:22, Taste-Of-IT ha scritto:
> > Hi,
> > 
> > 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
> > 
> > Taste
> > 
> > Am 17.11.2021 09:03:27, schrieb Diego Zuccato:
> >> Hi.
> >>
> >> 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@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
> > 
> 
> -- 
> 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




[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