[Ocfs2-users] is it possible to have several reflinks of one file ?

Lentes, Bernd bernd.lentes at helmholtz-muenchen.de
Thu Jan 21 08:39:04 PST 2021



----- On Jan 15, 2021, at 6:47 PM, herbert van den bergh HERBERT.VAN.DEN.BERGH at ORACLE.COM wrote:

> On Jan 15, 2021, at 6:00 AM, Lentes, Bernd <bernd.lentes at helmholtz-muenchen.de>
> wrote:
>> 
>> Hi,
>> 
>> is it possible to have several reflinks of one file ?
>> I'd like to create each day one reflink, for one week, thens start to overwrite
>> them from day to day, so that i never have more than 7 reflinks of the file.
>> Is that possible ?
> 
> Absolutely. Not sure what you mean by overwriting them. If you’re doing this to
> get a daily snapshot of your data and only keep the last 7, then you can simply
> delete the earliest one when you create the next one. The reflinked blocks on
> disk will remain because they’re still referenced by the other 7 reflinks.
> 
> Thanks,
> Herbert.
> 

Hi Herbert,

how do i delete the old ones ? Just with rm or do i have to use unlink ?

Bernd
Helmholtz Zentrum München

Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir.in Prof. Dr. Veronika von Messling
Geschaeftsfuehrung: Prof. Dr. med. Dr. h.c. Matthias Tschoep, Kerstin Guenther
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671




More information about the Ocfs2-users mailing list