From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: BTRFS, LVM, LUKS Date: Fri, 05 Jul 2019 19:54:45 +0200 Message-ID: <87r274xt7e.fsf@roquette.mug.biscuolo.net> References: <875zon2wac.fsf@roquette.mug.biscuolo.net> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34838) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hjSQr-0002zt-LM for guix-devel@gnu.org; Fri, 05 Jul 2019 13:55:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hjSQn-0003Bn-AT for guix-devel@gnu.org; Fri, 05 Jul 2019 13:55:34 -0400 Received: from ns13.heimat.it ([46.4.214.66]:60054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hjSQg-0002zZ-4z for guix-devel@gnu.org; Fri, 05 Jul 2019 13:55:26 -0400 In-Reply-To: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Alexandre Oliva Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Alexandre Oliva writes: [...] > Anyway, I guess it would make most sense to at least start building up > on existing practice. How does Guix currently bring up multi-device > root filesystems (btrfs, mdraid, ...), With BTRFS multi device activation is built in the Linux kernel AFAIU, so no need to "activate" it, just mount one of the devices of a multi-device BTRFS filesystem (using uuid id more resilient) I cannot help much with mdraid since I still had not the chance to study how device-mapper devices are activated; AFAIU the code is in (gnu system mapped-devices) > and any recursive combinations of mdraid, dmcrypt, etc? Recursive? Do you mean LUKS on mdraid on LUKS? Or mdraid on LUKS on mdraid? AFAIU this kind of *nesting* should be supported but maybe just a complication :-) raid-device-mapping and luks-device-mapping are a type of mapped-devices currently supported, you can combine them as you like to assemble a device to be used for your filesystems 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. [...] Happy Guix! Gio' =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl0fjuUACgkQ030Op87M ORL2mRAAsp40hik2IpufKn2PSJ3iM+74uQNsgjtxvyVFF+sN6EUxbhuIqD/XpCZ4 VnQEHkIXoq0HpkNV+1ScMTLuocc3M8xctAh3IrCrxphMP6ZstPKgfaJ6ctR+brwm fSatpga23uppAtuwKEQreZzrgcOLWZ1EiDpYwNhlMTPgpqkm4mik6SVzOziscyoj 702NXbCnLZe24CsB5L31EJofaum/ysfdxu5IHodEOkK6EvDGBvTsHiEIDNtRy5US JfjzdcFAZrR+WOBBDFH+uaRixze1vBx/UFIQpBfvDnOpQm5NYqGJrwq69dKz4B/9 TkK2hnAE9AbD+S5zBA8S1SXNYKvKoT9UzllPRqtcsaMj+/58iJSBczX3O8DcbeIF 77H5tGMRD4eswxf22hbP8D9eLj0a3Ka+lVOXuvISzT+lRQS3AX1t2hh/HJ+HCtSd OOrm0Z2oR2oKKVPB6+eJ9IToH0aYvGyvqU8RR2SRG0bK9vg4UgStU1upQR9ssSQf Vghd56G7bEezQ7nOK87Nm0tPvJWtCZnJVF8VH+TRkIsCyCoJi5HUJrRGWC6SWwna cD1fuRqBZi6TR88edniD+1ZOODglarFqQRXfdfau0g2sXXnoynBHmJt89QwvvptY KUqFRdmnn4k8lC2Dc1BaZB0HNYFOBeJKHHYJusSYFMEo8ZA/dHw= =X8jL -----END PGP SIGNATURE----- --=-=-=--