From: Michael Kofler <michael@kofler.info>
To: linux-btrfs@vger.kernel.org
Subject: make snapshot main volume, delete all others?
Date: Tue, 03 Aug 2010 20:22:38 +0200 [thread overview]
Message-ID: <4C585E6E.3060704@kofler.info> (raw)
Fedora provides yum-fs-snapshot. If installed, on each package
installation or update a snapshot of all btrfs filesystems is taken, so
it is possible to revert the installation/update.
Suppose an update failed and I want to get back: with
# btrfs subvolume set-default yum-snapshot-whatever /
I define which snapshot to use at the next boot.
After rebooting I decide I really want to stay with this snapshot. I can
delete all other snapshots, but can I also delete my previous main
volume, thus defining the current default snapshot as my new base. (If
not, a growing part of the filesystem is wasted for old data I don't
need anymore.)
Any insight is appreciated!
Michael Kofler
next reply other threads:[~2010-08-03 18:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-03 18:22 Michael Kofler [this message]
2010-08-03 18:46 ` make snapshot main volume, delete all others? Goffredo Baroncelli
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=4C585E6E.3060704@kofler.info \
--to=michael@kofler.info \
--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;
as well as URLs for NNTP newsgroup(s).