unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Alexandre Oliva <lxoliva@fsfla.org>
To: Giovanni Biscuolo <g@xelera.eu>
Cc: guix-devel@gnu.org
Subject: Re: BTRFS, LVM, LUKS
Date: Sat, 06 Jul 2019 16:23:02 -0300	[thread overview]
Message-ID: <orwogvj7c9.fsf@lxoliva.fsfla.org> (raw)
In-Reply-To: <87r274xt7e.fsf@roquette.mug.biscuolo.net> (Giovanni Biscuolo's message of "Fri, 05 Jul 2019 19:54:45 +0200")

On Jul  5, 2019, Giovanni Biscuolo <g@xelera.eu> wrote:

> With BTRFS multi device activation is built in the Linux kernel AFAIU,

I'm pretty sure btrfs dev scan or similar must introduce each of the
filesystem components to the kernel before the kernel will use them.

> I cannot help much with mdraid since I still had not the chance to
> study how device-mapper devices are activated

There used to be in-kernel scanning in mdraid, but I recall the plan as
of 15+ years ago was to phase that out and take care of it all in
userland.

>> and any recursive combinations of mdraid, dmcrypt, etc?

> Recursive? Do you mean LUKS on mdraid on LUKS?

Well, LUKS doesn't make much sense to duplicate indeed, though there's
no reason to prohibit it (say, one could be mirroring a fully-encrypted
disk onto a logical volume that's fully encrypted itself), but building
volume groups or raid components out of logical volumes is occasionally
useful, even when the logical volumes are backed by other raid devices.

> Filesystems can have dependencies on other filesystems or mapped-devices
> (see "dependencies" member of file-system)

> I hope this clarifies how Guix assemble its filesystems.

To some extent.  I meant to ask about the dynamics during boot-up rather
than the static description in the configuration, but that's very useful
information to get me going in a not too distant future.

(I'll be too busy with other stuff, like finishing a new lecture to be
delivered by the end of the month, to jump into this right away; I
wanted to, in order to use guix to deliver the speech, but I doubt I'm
going to be able to make the jump in time ;-(

-- 
Alexandre Oliva, freedom fighter  he/him   https://FSFLA.org/blogs/lxo
Be the change, be Free!                 FSF Latin America board member
GNU Toolchain Engineer                        Free Software Evangelist
Hay que enGNUrecerse, pero sin perder la terGNUra jamás - Che GNUevara

  reply	other threads:[~2019-07-06 19:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-30  1:13 BTRFS, LVM, LUKS Alexandre Oliva
2019-06-30 10:38 ` Giovanni Biscuolo
2019-07-04 19:20   ` Alexandre Oliva
2019-07-05 17:54     ` Giovanni Biscuolo
2019-07-06 19:23       ` Alexandre Oliva [this message]
2019-07-05 20:52     ` Ludovic Courtès
2019-07-06 19:25       ` Alexandre Oliva
2019-07-07 14:40         ` Ludovic Courtès
2019-06-30 12:37 ` David Larsson
2019-07-04 19:28   ` Alexandre Oliva
2019-07-01  3:27 ` Christopher Lemmer Webber
2019-07-05 20:47   ` Ludovic Courtès

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=orwogvj7c9.fsf@lxoliva.fsfla.org \
    --to=lxoliva@fsfla.org \
    --cc=g@xelera.eu \
    --cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).