From: Russell Coker <russell@coker.com.au>
To: linux-btrfs@vger.kernel.org
Subject: Re: syntax for deleting subvolumes?
Date: Sat, 21 Mar 2015 03:20:39 +0000 [thread overview]
Message-ID: <201503210320.39413.russell@coker.com.au> (raw)
In-Reply-To: <m49y4mtfoai.fsf@coffee.modeemi.fi>
On Thu, 19 Mar 2015 07:18:29 AM Erkki Seppala wrote:
> > But as a user level facility, I want to be able to snapshot before
> > making a change to a tree full of source code and (re)building it all
> > over again. I may want to keep my new build, but I may want to flush
> > it and return to known good state.
>
> You may want to check out cp --reflink=always (different from cp
> --link), which creates copy-on-write copy of the data. It isn't quite as
> fast as snapshots to create, but it's still plenty fast and without the
> downsides of subvolumes.
In which situations is --reflink=always expected to fail on BTRFS?
I recently needed to move /home on one system to a subvol (instead of being in
the root subvol) and used cp --reflink=always which gave a few errors when
running with BTRFS on kernel 3.16.7-ckt7-1. I was in a hurry and didn't try
to track down the caue, I just ran it again with --reflink=auto which gave no
errors and completed very quickly (obviously the files which couldn't be
reflinked were small).
--
My Main Blog http://etbe.coker.com.au/
My Documents Blog http://doc.coker.com.au/
next prev parent reply other threads:[~2015-03-21 3:20 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-18 20:42 syntax for deleting subvolumes? K Richard Pixley
2015-03-18 21:06 ` Chris Murphy
2015-03-18 21:39 ` K Richard Pixley
2015-03-18 21:55 ` Hugo Mills
2015-03-18 23:01 ` K Richard Pixley
2015-03-18 23:33 ` Chris Murphy
2015-03-19 0:47 ` Jeff Mahoney
2015-03-19 2:55 ` Chris Murphy
2015-03-18 22:15 ` Chris Murphy
2015-03-18 23:22 ` K Richard Pixley
2015-03-18 23:50 ` Chris Murphy
2015-03-19 7:18 ` Erkki Seppala
2015-03-21 3:20 ` Russell Coker [this message]
2015-03-19 19:09 ` Chris Murphy
2015-03-20 4:18 ` Duncan
2015-03-21 3:17 ` Russell Coker
2015-03-18 21:09 ` Hugo Mills
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=201503210320.39413.russell@coker.com.au \
--to=russell@coker.com.au \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox