From: Marc Joliet <marcec@gmx.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] btrfs conversion: first impressions
Date: Mon, 12 May 2014 16:30:49 +0200 [thread overview]
Message-ID: <20140512163049.4f605ff0@marcec> (raw)
In-Reply-To: <536FEA92.1080502@xunil.at>
[-- Attachment #1: Type: text/plain, Size: 2989 bytes --]
Am Sun, 11 May 2014 23:24:34 +0200
schrieb "Stefan G. Weichinger" <lists@xunil.at>:
[...]
> ... but it is really nice-to-have the option to snapshot your root-fs,
> do-something-to-it (emerge unstable stuff, delete the wrong files, you
> name it ...), and if you don't like it you simply boot using your
> snapshot ... that is actually really helpful and also rather easy once
> you get your head wrapped around the concepts and the few steps
> necessary (and it's quick: the snapshot is done in a blink ...)
In a presentation by Donny Berkholz at Fosdem this year [0], he mentioned the
distro CoreOS, and that they can do atomic updates. I haven't looked it up in
detail, but they're website says that they use a dual-root scheme where the
update is performed in a second root, which is made the real root after
rebooting or after a kexec [1]. It seems to me that this could be made simpler
and easier with btrfs snapshots.
> As far as I researched btrfs seems to be quite reliable in a not too
> complex (read: multi devices) setup ... and backups never hurt anyway.
Of course, for me one of *the* big features was the capability to automatically
fix corrupted data (the self-healing features of btrfs). This is only possible
when you have redundancy across multiple devices. (I'm running a scrub right
now.)
But even with a single device, you can at least *detect* corruption, I just
want to also be able to have it automatically *corrected*.
> As I do backups all the time I feel quite confident to test my setups
> for the next few days and maybe even completely overhaul my desktop setup.
Ditto :) . As risky as it is, this was also a "test" of my backup, in the
sense that, while I knew the backups looked okay by manual inspection, I
hadn't actually restored from backup yet. Obviously, it worked :) .
> -> 2x 1TB HDDs plus 1x 256GB SSD (plus the one older 80GB SSD for tests
> right now) ... with LVM and stuff (remember my hassles last week with
> the LVMs not activated??) ... I could run one btrfs-pool on the 2 HDDs
> and one on the SSD and cut all of my various filesystems out of that.
>
> Would mixing hdds and the ssd into one pool make sense? I think, no ... ?
I suspect something like bcache would work (except I remember reading that
btrfs does not work with it yet).
> --
>
> I will also test running VMs on btrfs-subvolumes and doing snapshots:
>
> snapshot the underlying subvolume, apply some changes within the VM and
> then rollback to the snapshot.
>
> This would remove LVM-snapshotting out of the way ... etc etc
>
> As mentioned before, looking forward ... and curious!
I'm glad I motivated some people to try btrfs themselves :) .
[0] https://www.youtube.com/watch?v=egjcVGKwnrw
[1] http://coreos.com/using-coreos/updates/ (section "technical details")
--
Marc Joliet
--
"People who think they know everything really annoy those of us who know we
don't" - Bjarne Stroustrup
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2014-05-12 14:31 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-06 10:18 [gentoo-user] planned btrfs conversion: questions Marc Joliet
2014-05-06 18:13 ` [gentoo-user] " James
2014-05-06 23:30 ` Marc Joliet
2014-05-06 22:53 ` [gentoo-user] " Marc Joliet
2014-05-07 15:12 ` Marc Joliet
2014-05-09 21:05 ` Marc Joliet
2014-05-06 22:56 ` William Kenworthy
2014-05-06 23:51 ` Marc Joliet
2014-05-08 11:57 ` William Kenworthy
2014-05-08 18:14 ` Stefan G. Weichinger
2014-05-09 19:59 ` Stefan G. Weichinger
2014-05-10 11:14 ` Stefan G. Weichinger
2014-05-11 12:35 ` Stefan G. Weichinger
2014-05-11 16:17 ` Stefan G. Weichinger
2014-05-11 17:37 ` Peter Humphrey
2014-05-11 21:24 ` [gentoo-user] btrfs conversion: first impressions Stefan G. Weichinger
2014-05-12 14:30 ` Marc Joliet [this message]
2014-05-12 18:28 ` Stefan G. Weichinger
2014-05-13 22:34 ` Stefan G. Weichinger
2014-05-13 23:02 ` Neil Bothwick
2014-05-13 23:09 ` Stefan G. Weichinger
2014-05-14 0:39 ` Neil Bothwick
2014-05-14 8:01 ` Stefan G. Weichinger
2014-05-14 8:42 ` Neil Bothwick
2014-05-14 8:54 ` Stefan G. Weichinger
2014-05-14 9:26 ` Neil Bothwick
2014-05-14 9:30 ` Stefan G. Weichinger
2014-05-15 6:17 ` Stefan G. Weichinger
2014-05-12 11:19 ` [gentoo-user] planned btrfs conversion: questions Stefan G. Weichinger
2014-05-08 20:43 ` Marc Joliet
2014-05-10 9:33 ` William Kenworthy
2014-05-11 8:53 ` Mick
2014-05-11 10:43 ` William Kenworthy
2014-05-11 12:29 ` Peter Humphrey
2014-05-11 15:53 ` Alan McKinnon
2014-05-12 14:08 ` Marc Joliet
2014-05-12 14:39 ` Peter Humphrey
2014-05-12 15:04 ` Marc Joliet
2014-05-12 16:15 ` Dale
2014-05-12 19:12 ` Marc Joliet
2014-05-12 19:28 ` Daniel Frey
2014-05-07 2:33 ` [gentoo-user] " Jonathan Callen
2014-05-16 20:15 ` [gentoo-user] experience thus far (was: planned btrfs conversion: questions) Marc Joliet
2014-05-16 20:43 ` Marc Joliet
2014-05-17 0:08 ` [gentoo-user] experience thus far William Kenworthy
2014-05-17 0:44 ` Marc Joliet
2014-05-17 3:02 ` William Kenworthy
2014-05-17 7:53 ` Mick
2014-05-17 11:41 ` Rich Freeman
2014-05-17 10:07 ` Neil Bothwick
2014-05-17 12:35 ` William Kenworthy
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=20140512163049.4f605ff0@marcec \
--to=marcec@gmx.de \
--cc=gentoo-user@lists.gentoo.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