From: "Stefan G. Weichinger" <lists@xunil.at>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] btrfs conversion: first impressions
Date: Mon, 12 May 2014 20:28:27 +0200 [thread overview]
Message-ID: <537112CB.7050408@xunil.at> (raw)
In-Reply-To: <20140512163049.4f605ff0@marcec>
Am 12.05.2014 16:30, schrieb Marc Joliet:
> 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.
Yes. I will maybe look into your link sometimes ...
What I want to research:
systemd is now able to "detect" / and /home (and swap) via the GPT-IDs
... I wonder if I could get rid of fstab or at least the entries for /
Right now when I test my rollbacks I edit (a) the subvolid in the
kernel-line of grub.cfg and (b) in /etc/fstab on the "target" subvol.
Maybe the second part is redundant, I don't know?
I think of generating something like a daily "last known good rootfs"
and a related entry in grub2 :-)
Just playing here so far, but interesting options.
(2nd thought: the subvol would then need to get that GPT-ID?)
>> 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).
So far I run one btrfs on a partition (/dev/sdc3) of an SSD (containing
my active /, /home and some data I want to have mounted with speedy
performance) and a second btrfs on a 1TB-HDD.
I decided to degrade my mdadm RAID1 and dedicate one of the hdds (sdd)
completely to btrfs ... then migrated the old LVs into subvols today.
Looking good so far (right now I have no more active LVs here ...).
Next steps:
* see if things work :-)
* migrate my other, faster and bigger SSD to the new and shiny root-fs.
I boot from the EFI partition there ... but root and stuff is on the 2nd
SSD.
* decide if to get rid of the old Win7-partition (on sdb) that wasn't
booted for years (?) now ... if I don't do that I don't have a second
hdd with the same size for mirroring the btrfs ...
a) sdd = sdb
b) size of sdd > (size of sdb minus partition-win7)
So more to consider here.
But the btrfs contains mostly pics and music and test-vms ... all backed
up via amanda to tape nearly daily, so no specific need for mirroring.
> I'm glad I motivated some people to try btrfs themselves :) .
Thanks for the reminder .. it fits into my cleaning up here ;-)
Now for some scrubbing, backups and watching TV in the meantime.
Greets, Stefan
next prev parent reply other threads:[~2014-05-12 18:28 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
2014-05-12 18:28 ` Stefan G. Weichinger [this message]
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=537112CB.7050408@xunil.at \
--to=lists@xunil.at \
--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