Herbert Van Den Bergh
2021-Jan-15 17:47 UTC
[Ocfs2-users] is it possible to have several reflinks of one file ?
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.> > Thanks. > > > Bernd > > -- > > Bernd Lentes > Head of Systemadministration > Institute for Metabolism and Cell Death (MCD) > Building 25 - office 122 > HelmholtzZentrum M?nchen > bernd.lentes at helmholtz-muenchen.de > phone: +49 89 3187 1241 > phone: +49 89 3187 3827 > fax: +49 89 3187 2294 > http://www.helmholtz-muenchen.de/mcd > 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 > > > _______________________________________________ > Ocfs2-users mailing list > Ocfs2-users at oss.oracle.com > https://oss.oracle.com/mailman/listinfo/ocfs2-users
Lentes, Bernd
2021-Jan-21 16:39 UTC
[Ocfs2-users] is it possible to have several reflinks of one file ?
----- 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