Another defrag question

2013-02-21 Thread Swâmi Petaramesh
Hi again, Having numerous snapshots, I prefer to ask rather than take the risk of exploding my storage space, better safe than sorry ;-) man btrfs states : « NOTE: defragmenting with kernels up to 2.6.37 will unlink COW-ed copies of data, don't use it if you use snapshots, have

Re: Another defrag question

2013-02-21 Thread Liu Bo
On Thu, Feb 21, 2013 at 04:46:14PM +0100, Swâmi Petaramesh wrote: Hi again, Having numerous snapshots, I prefer to ask rather than take the risk of exploding my storage space, better safe than sorry ;-) man btrfs states : « NOTE: defragmenting with kernels up to 2.6.37 will unlink

Re: Another defrag question

2013-02-21 Thread Calvin Walton
On Thu, 2013-02-21 at 16:46 +0100, Swâmi Petaramesh wrote: Hi again, Having numerous snapshots, I prefer to ask rather than take the risk of exploding my storage space, better safe than sorry ;-) man btrfs states : « NOTE: defragmenting with kernels up to 2.6.37 will unlink COW-ed

Re: Another defrag question

2013-02-21 Thread Swâmi Petaramesh
Le 21/02/2013 16:50, Liu Bo a écrit : Well, there is already a patch which addresses your concern and it's 'snapshot-aware defrag' feature and now in v6, it's not merged yet. thanks, liubo Hi Liu, So should I understand that, even though the manpage states that the issue is for kernels =

Re: Another defrag question

2013-02-21 Thread Swâmi Petaramesh
Le 21/02/2013 16:54, Calvin Walton a écrit : You really should upgrade your kernel, however. 3.5.0 is rather old in btrfs-years! Lots of fixes have gone into newer kernels. Hi Calvin, I expect Ubuntu 13.04 to come with kernel 3.7 in April. Having Ubuntu kernel upgrades every 6 months (and

Re: Another defrag question

2013-02-21 Thread Blair Zajac
On 02/21/2013 08:01 AM, Swâmi Petaramesh wrote: Le 21/02/2013 16:54, Calvin Walton a écrit : You really should upgrade your kernel, however. 3.5.0 is rather old in btrfs-years! Lots of fixes have gone into newer kernels. Hi Calvin, I expect Ubuntu 13.04 to come with kernel 3.7 in April.

Re: Another defrag question

2013-02-21 Thread Hugo Mills
On Thu, Feb 21, 2013 at 05:01:30PM +0100, Swâmi Petaramesh wrote: Le 21/02/2013 16:54, Calvin Walton a écrit : You really should upgrade your kernel, however. 3.5.0 is rather old in btrfs-years! Lots of fixes have gone into newer kernels. Hi Calvin, I expect Ubuntu 13.04 to come with

Re: Another defrag question

2013-02-21 Thread Hugo Mills
On Thu, Feb 21, 2013 at 06:03:17PM +0100, Swâmi Petaramesh wrote: Le 21/02/2013 17:38, Hugo Mills a écrit : Plus, if something does go wrong with your FS, and you're running an older kernel, you'll get limited amounts of sympathy, because quite a lot of the problems people encounter with

Re: Another defrag question

2013-02-21 Thread Swâmi Petaramesh
Le 21/02/2013 17:38, Hugo Mills a écrit : Plus, if something does go wrong with your FS, and you're running an older kernel, you'll get limited amounts of sympathy, because quite a lot of the problems people encounter with older kernels have already been fixed in newer ones. The matter, as

Re: Another defrag question

2013-02-21 Thread Swâmi Petaramesh
Le 21/02/2013 18:25, Hugo Mills a écrit : Correct. But btrfs isn't at that stage yet. It's getting visibly closer, but it's not quite there. Hence the very strong recommendation to keep up with the latest code. Hugo. The matter is that BTRFS had many early adopters just because it is - and

Re: Another defrag question

2013-02-21 Thread Hugo Mills
On Thu, Feb 21, 2013 at 06:47:28PM +0100, Swâmi Petaramesh wrote: Le 21/02/2013 18:25, Hugo Mills a écrit : Correct. But btrfs isn't at that stage yet. It's getting visibly closer, but it's not quite there. Hence the very strong recommendation to keep up with the latest code. Hugo. The

Re: Another defrag question

2013-02-21 Thread Bardur Arantsson
On 02/21/2013 06:47 PM, Swâmi Petaramesh wrote: Le 21/02/2013 18:25, Hugo Mills a écrit : Correct. But btrfs isn't at that stage yet. It's getting visibly closer, but it's not quite there. Hence the very strong recommendation to keep up with the latest code. Hugo. The matter is that BTRFS

Re: Another defrag question

2013-02-21 Thread Johannes Hirte
On Thu, 21 Feb 2013 18:47:28 +0100 Swâmi Petaramesh sw...@petaramesh.org wrote: Le 21/02/2013 18:25, Hugo Mills a écrit : Correct. But btrfs isn't at that stage yet. It's getting visibly closer, but it's not quite there. Hence the very strong recommendation to keep up with the latest code.

Re: Another defrag question

2013-02-21 Thread David Sterba
On Thu, Feb 21, 2013 at 09:58:16PM +0100, Bardur Arantsson wrote: On 02/21/2013 06:47 PM, Swâmi Petaramesh wrote: Le 21/02/2013 18:25, Hugo Mills a écrit : Correct. But btrfs isn't at that stage yet. It's getting visibly closer, but it's not quite there. Hence the very strong recommendation

Re: Another defrag question

2013-02-21 Thread Bardur Arantsson
On 02/21/2013 10:56 PM, David Sterba wrote: On Thu, Feb 21, 2013 at 09:58:16PM +0100, Bardur Arantsson wrote: On 02/21/2013 06:47 PM, Swâmi Petaramesh wrote: Le 21/02/2013 18:25, Hugo Mills a écrit : Correct. But btrfs isn't at that stage yet. It's getting visibly closer, but it's not quite