Re: Copy on write of unmodified data

2016-05-25 Thread Henk Slager
On Wed, May 25, 2016 at 10:58 AM, H. Peter Anvin wrote: > Hi, > > I'm looking at using a btrfs with snapshots to implement a generational > backup capacity. However, doing it the naïve way would have the side > effect that for a file that has been partially modified, after > snapshotting the file

Re: Copy on write of unmodified data

2016-05-25 Thread Dmitry Katsubo
On 2016-05-25 11:29, Hugo Mills wrote: On Wed, May 25, 2016 at 01:58:15AM -0700, H. Peter Anvin wrote: Hi, I'm looking at using a btrfs with snapshots to implement a generational backup capacity. However, doing it the naïve way would have the side effect that for a file that has been partial

Re: Copy on write of unmodified data

2016-05-25 Thread Hugo Mills
On Wed, May 25, 2016 at 07:45:23AM -0400, Austin S. Hemmelgarn wrote: > On 2016-05-25 04:58, H. Peter Anvin wrote: > >Hi, > > > >I'm looking at using a btrfs with snapshots to implement a generational > >backup capacity. However, doing it the naïve way would have the side > >effect that for a file

Re: Copy on write of unmodified data

2016-05-25 Thread Austin S. Hemmelgarn
On 2016-05-25 07:07, Hugo Mills wrote: On Wed, May 25, 2016 at 04:00:00AM -0700, H. Peter Anvin wrote: On 05/25/16 02:29, Hugo Mills wrote: On Wed, May 25, 2016 at 01:58:15AM -0700, H. Peter Anvin wrote: Hi, I'm looking at using a btrfs with snapshots to implement a generational backup capaci

Re: Copy on write of unmodified data

2016-05-25 Thread Austin S. Hemmelgarn
On 2016-05-25 04:58, H. Peter Anvin wrote: Hi, I'm looking at using a btrfs with snapshots to implement a generational backup capacity. However, doing it the naïve way would have the side effect that for a file that has been partially modified, after snapshotting the file would be written with

Re: Copy on write of unmodified data

2016-05-25 Thread Hugo Mills
On Wed, May 25, 2016 at 04:00:00AM -0700, H. Peter Anvin wrote: > On 05/25/16 02:29, Hugo Mills wrote: > > On Wed, May 25, 2016 at 01:58:15AM -0700, H. Peter Anvin wrote: > >> Hi, > >> > >> I'm looking at using a btrfs with snapshots to implement a generational > >> backup capacity. However, doing

Re: Copy on write of unmodified data

2016-05-25 Thread H. Peter Anvin
On 05/25/16 02:29, Hugo Mills wrote: > On Wed, May 25, 2016 at 01:58:15AM -0700, H. Peter Anvin wrote: >> Hi, >> >> I'm looking at using a btrfs with snapshots to implement a generational >> backup capacity. However, doing it the naïve way would have the side >> effect that for a file that has bee

Re: Copy on write of unmodified data

2016-05-25 Thread Hugo Mills
On Wed, May 25, 2016 at 01:58:15AM -0700, H. Peter Anvin wrote: > Hi, > > I'm looking at using a btrfs with snapshots to implement a generational > backup capacity. However, doing it the naïve way would have the side > effect that for a file that has been partially modified, after > snapshotting