[Ocfs2-users] where can i find shared-du and shared-filefrag ?

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Thu Aug 15 14:28:08 PDT 2019


----- Am 15. Aug 2019 um 20:26 schrieb herbert van den bergh herbert.van.den.bergh at oracle.com:

>>
>> Some more questions:
>> The reflink (greensql.raw.snap) does not change, that means it's like a snapshot
>> ?
> That's correct. Any change to an extent shared by the original file and
> the reflink will cause a copy to be made of the extent. The file which
> was changed will get the new modified extent, the other file keeps the
> original extent.
>> But if i delete the reflinked file (greensql.raw) my snapshot is lost because it
>> shares extents ?
> No, the reflink still contains all extents, both the ones that used to
> be shared and the ones that are unique to the reflinked file.
>> If i delete the reflink, nothing happens beside that my snapshot is gone ?
> Correct, except that extents that were modified since the reflink was
> created which are no longer shared will be freed.
>> That means i can delete it easily if i don't need it any longer ?
> Yes.
>> And if i need the current file i just use the reflinked file, i don't have to do
>> s.th like merging oder blockcommitting ?
> 
> I'm not sure what you're asking. If an application continues to
> read/write the original file, then it will be the "current" file, it has
> the most up to date data. The reflink will have the data as of the time
> it was created. So if you need the "old" version of the file from the
> time the snapshot was created, you use the reflink. If you need the
> "new" version of the file, you use the original. Think of the reflink as
> a backup which is still sharing extents that haven't been modified yet
> with the original.
> 

Hi Herbert,

i think i got it.

Thanks.

Bernd
 

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.helmholtz-2Dmuenchen.de&d=DwICaQ&c=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=wXmkJNAUtutY0U9inuQWCbzSSRji5zLpyR0a_Mek4jM&m=wNr1P20N8ugrvQKtoVM9chPJIwLDLHZORsiDJJ9TzJk&s=yYW5nVOJykorbYyx5vPajBXZmSUaCftJ98UpadrfO-g&e= 
Aufsichtsratsvorsitzende: MinDir'in Prof. Dr. Veronika von Messling
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Heinrich Bassler, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671




More information about the Ocfs2-users mailing list