From: Dave <dave@thekilempire.com>
To: linux-btrfs@vger.kernel.org
Subject: COW a file from snapshot
Date: Tue, 20 Dec 2011 10:07:18 -0500 [thread overview]
Message-ID: <20111220150717.GA24891@hendrix.borisch.local> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
So I've got a daily snapshot of my /home subvolume. Due to a fat finger, I've
damaged a rather large file so I'd like to pull if from one of these snapshot
backups. I don't want to simply copy the file since it's many gigs and cp
- --reflink=always doesn't work (produces the error Invalid cross-device link).
Is there a way to recover that file and benefit from COW?
- --
- -=[dave]=-
Entropy isn't what it used to be.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iF4EAREIAAYFAk7wpKUACgkQXM0u5ajNnCgMUQD/Uf0/HygZ9D8StT9Oc6E3+wM/
MBokh6h1iPN2OslJTxgA/RUzFMM2n0+3ORHwvOraJMBJl1P4JfabT31iuemn/BL2
=2cds
-----END PGP SIGNATURE-----
next reply other threads:[~2011-12-20 15:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-20 15:07 Dave [this message]
2011-12-20 17:53 ` COW a file from snapshot Jérôme Poulin
2011-12-21 21:31 ` Jérôme Poulin
2011-12-22 8:12 ` Roman Kapusta
2011-12-22 11:35 ` Chris Samuel
2011-12-22 11:57 ` Gareth Pye
2011-12-22 12:06 ` Chris Samuel
2011-12-22 11:57 ` Sander
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=20111220150717.GA24891@hendrix.borisch.local \
--to=dave@thekilempire.com \
--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.