Re: [PATCH] BTRFS-PROG: recursively subvolume snapshot and delete

2013-11-29 Thread Goffredo Baroncelli
On 2013-11-29 19:07, David Sterba wrote: > On Thu, Nov 28, 2013 at 08:23:13PM +0100, Goffredo Baroncelli wrote: >> Definetely you are right. In fact this is true also for other tools like >> tar: they complaint if you remove/move/rename a file during the copy. We >> can work to increase the robustn

Re: [PATCH] BTRFS-PROG: recursively subvolume snapshot and delete

2013-11-29 Thread David Sterba
On Thu, Nov 28, 2013 at 08:23:13PM +0100, Goffredo Baroncelli wrote: > Definetely you are right. In fact this is true also for other tools like > tar: they complaint if you remove/move/rename a file during the copy. We > can work to increase the robustness of the process, to avoid strange > behavio

Re: [PATCH] BTRFS-PROG: recursively subvolume snapshot and delete

2013-11-28 Thread Goffredo Baroncelli
Hi David, On 2013-11-28 19:31, David Sterba wrote: > On Sat, Nov 16, 2013 at 06:09:00PM +0100, Goffredo Baroncelli wrote: >> the following patches implement the recursively snapshotting and >> deleting of a subvolume. > > Nice feature, but can we try to make the snapshot creation atomic? This > w

Re: [PATCH] BTRFS-PROG: recursively subvolume snapshot and delete

2013-11-28 Thread David Sterba
On Sat, Nov 16, 2013 at 06:09:00PM +0100, Goffredo Baroncelli wrote: > the following patches implement the recursively snapshotting and > deleting of a subvolume. Nice feature, but can we try to make the snapshot creation atomic? This would need support from kernel of course. I'm worried about t

Re: [PATCH] BTRFS-PROG: recursively subvolume snapshot and delete

2013-11-27 Thread Goffredo Baroncelli
On 2013-11-27 10:15, Konstantinos Skarlatos wrote: > On 26/11/2013 7:44 μμ, Goffredo Baroncelli wrote: >> On 2013-11-26 16:12, Konstantinos Skarlatos wrote: >>> On 25/11/2013 11:23 μμ, Goffredo Baroncelli wrote: Hi all, nobody is interested in these new features ? >>> Is this ZFS-sty

Re: [PATCH] BTRFS-PROG: recursively subvolume snapshot and delete

2013-11-27 Thread Konstantinos Skarlatos
On 26/11/2013 7:44 μμ, Goffredo Baroncelli wrote: On 2013-11-26 16:12, Konstantinos Skarlatos wrote: On 25/11/2013 11:23 μμ, Goffredo Baroncelli wrote: Hi all, nobody is interested in these new features ? Is this ZFS-style recursive snapshotting? If yes, i am interested, and thanks for your g

Re: [PATCH] BTRFS-PROG: recursively subvolume snapshot and delete

2013-11-26 Thread Goffredo Baroncelli
On 2013-11-26 16:12, Konstantinos Skarlatos wrote: > On 25/11/2013 11:23 μμ, Goffredo Baroncelli wrote: >> Hi all, >> >> nobody is interested in these new features ? > Is this ZFS-style recursive snapshotting? If yes, i am interested, and > thanks for your great work :) No it is not equal. My recu

Re: [PATCH] BTRFS-PROG: recursively subvolume snapshot and delete

2013-11-26 Thread Konstantinos Skarlatos
On 25/11/2013 11:23 μμ, Goffredo Baroncelli wrote: Hi all, nobody is interested in these new features ? Is this ZFS-style recursive snapshotting? If yes, i am interested, and thanks for your great work :) On 2013-11-16 18:09, Goffredo Baroncelli wrote: Hi All, the following patches implemen

Re: [PATCH] BTRFS-PROG: recursively subvolume snapshot and delete

2013-11-25 Thread Goffredo Baroncelli
Hi all, nobody is interested in these new features ? On 2013-11-16 18:09, Goffredo Baroncelli wrote: > Hi All, > > the following patches implement the recursively snapshotting and > deleting of a subvolume. > > To snapshot recursively you must pass the -R switch: > > # btrfs subvolume create

[PATCH] BTRFS-PROG: recursively subvolume snapshot and delete

2013-11-16 Thread Goffredo Baroncelli
Hi All, the following patches implement the recursively snapshotting and deleting of a subvolume. To snapshot recursively you must pass the -R switch: # btrfs subvolume create sub1 Create subvolume './sub1' # btrfs subvolume create sub1/sub2 Create subvolume 'sub1/sub2' # btrfs subvolume snaps