From: K Richard Pixley <rpixley@graphitesystems.com>
To: Hugo Mills <hugo@carfax.org.uk>,
Chris Murphy <lists@colorremedies.com>,
Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: syntax for deleting subvolumes?
Date: Wed, 18 Mar 2015 16:01:07 -0700 [thread overview]
Message-ID: <550A03B3.8020005@graphitesystems.com> (raw)
In-Reply-To: <20150318215512.GC31762@carfax.org.uk>
On 3/18/15 14:55 , Hugo Mills wrote:
> On Wed, Mar 18, 2015 at 02:39:26PM -0700, K Richard Pixley wrote:
>> On 3/18/15 14:06 , Chris Murphy wrote:
>>> The Fedora/RHEL/CentOS installer creates two subvolumes: root and
>>> home. If you check out fstab, those subvolumes are mounted at /
>>> and /home. Therefore the top level subvolume (id 5) is not mounted
>>> by default, so there's no way to delete subvolumes in the top
>>> level.
>> Ah! Thank you. That's the piece I was missing.
>>
>> IMO, someone needs to take a clue-by-four to the heads of the
>> Fedora/RHEL/CentOS installer folks. I see no reason for this with
>> btrfs.
> Actually, it's the recommended approach.
>
> We've found over time that nesting subvolumes inside each other is,
> in general, more trouble than it's worth. It makes it harder to do
> things like take snapshots and then replace the original with a
> snapshot (e.g. rollback to an earlier state).
>
> Arranging the subvolumes with the top level (subvolid=0) as nothing
> but a store for subvolumes means that you don't get the subvolumes
> tangled up with each other, so it's much easier to manage them in
> general.
>
> There's a few cases where nesting subvolumes is helpful, but that's
> more to do with preventing snapshots being taken of some pieces of the
> filesystem.
Yes, I understand about the flat arrangement. It's been that way for
years now.
My complaint is a) about multiple subvols and b) about an unnecessary
and redundant subvol for the top level file system.
The redundancy should be obvious. And the problem with multiple subvols
is that they aren't needed and make snapshotting an entire system more
difficult than it needs to be. I want to be able to snapshot and
chroot. The traditional reason for partitioning a disk was to isolate
errors and to firewall "out of space" usage. Neither of those really
apply to btrfs as far as I can see.
I would much rather the installer simply create a single file system and
mount the partition directly rather than through a superfluous subvol.
I've never seen it done any other way as you might guess from my
confusion above.
--rich
next prev parent reply other threads:[~2015-03-18 23:01 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 [this message]
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
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=550A03B3.8020005@graphitesystems.com \
--to=rpixley@graphitesystems.com \
--cc=hugo@carfax.org.uk \
--cc=linux-btrfs@vger.kernel.org \
--cc=lists@colorremedies.com \
/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.