All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Swâmi Petaramesh" <swami@petaramesh.org>
To: "BTRFS, Linux" <linux-btrfs@vger.kernel.org>
Subject: Another defrag question
Date: Thu, 21 Feb 2013 16:46:14 +0100	[thread overview]
Message-ID: <51264146.3070504@petaramesh.org> (raw)

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 
deduplicated  your  data  or  made  copies with cp --reflink. »

I use :
# uname -r
3.5.0-24-generic

...So should I expect that defraging my BTRFS will be smart enough not
to uncow my snapshots ? Is it actually able to defrag both the file and
its snapshots altogether, keeping all this as a single physical copy of
the defragged data ?

TIA.

-- 
Swâmi Petaramesh <swami@petaramesh.org> http://petaramesh.org PGP 9076E32E
Ne cherchez pas : Je ne suis pas sur Facebook.


             reply	other threads:[~2013-02-21 15:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-21 15:46 Swâmi Petaramesh [this message]
2013-02-21 15:50 ` Another defrag question Liu Bo
2013-02-21 15:55   ` Swâmi Petaramesh
2013-02-21 15:54 ` Calvin Walton
2013-02-21 16:01   ` Swâmi Petaramesh
2013-02-21 16:09     ` Blair Zajac
2013-02-21 16:38     ` Hugo Mills
2013-02-21 17:03       ` Swâmi Petaramesh
2013-02-21 17:25         ` Hugo Mills
2013-02-21 17:47           ` Swâmi Petaramesh
2013-02-21 20:46             ` Hugo Mills
2013-02-21 20:58             ` Bardur Arantsson
2013-02-21 21:56               ` David Sterba
2013-02-22  5:55                 ` Bardur Arantsson
2013-02-21 21:31             ` Johannes Hirte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51264146.3070504@petaramesh.org \
    --to=swami@petaramesh.org \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.