From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: Re: guix system init with mounted btrfs Date: Mon, 24 Jun 2019 14:49:24 +0300 Message-ID: <20190624114924.GA1163@macbook41> References: <87r27lginz.fsf@gmail.com> <87v9wwscbm.fsf@nckx> <87v9wwhusn.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38208) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hfNTk-0002AH-Jl for help-guix@gnu.org; Mon, 24 Jun 2019 07:49:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hfNTh-0003fQ-5s for help-guix@gnu.org; Mon, 24 Jun 2019 07:49:44 -0400 Received: from flashner.co.il ([178.62.234.194]:36828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hfNTd-0003PQ-52 for help-guix@gnu.org; Mon, 24 Jun 2019 07:49:37 -0400 Content-Disposition: inline In-Reply-To: <87v9wwhusn.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Matt Huszagh Cc: help-guix@gnu.org --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 23, 2019 at 02:10:48PM -0700, Matt Huszagh wrote: > Tobias Geerinckx-Rice writes: >=20 > Matt Huszagh writes: > > Ok, so I've simplified the subvolume layout somewhat: > > mount -t btrfs -o compress=3Dlzo LABEL=3Dbtrfs /mnt > > btrfs subvolume create /mnt/@guixsd > > btrfs subvolume create /mnt/@home > > btrfs subvolume create /mnt/@snapshots > > umount /mnt > > o_btrfs=3Ddefaults,X-mount.mkdir,compress=3Dlzo,ssd,noatime > > > > mount -o subvol=3D@guixsd,$o_btrfs LABEL=3Dbtrfs /mnt > > mount -o subvol=3D@home,$o_btrfs LABEL=3Dbtrfs /mnt/home > > mount -o subvol=3D@snapshots,$o_btrfs LABEL=3Dbtrfs /mnt/.snapshots > > mount -o X-mount.mkdir /dev/nvme0n1p1 /mnt/boot/efi >=20 > I think I was a bit hasty in saying this worked. Another possible reason > is guix system init doesn't try to do anything with these directories > anyway so maybe the fact that these subvolumes are "supported" is a > false positive. >=20 > I've tried an even simpler layout: no subvolumes, just >=20 > mount -t btrfs -o defaults,compress=3Dlzo,ssd,noatime LABEL=3Dbtrfs /mnt > mount -o X-mount.mkdir /dev/nvme0n1p1 /mnt/boot/efi >=20 > However, I'm experiencing the same decryption error with this setup. >=20 I spent some time yesterday with the arch wiki and I have an idea. assuming you're using %desktop-services, inside services: (modify-services %desktop-services (udev-service-type config =3D> (udev-configuration (inherit config) (rules (list lvm2 fuse alsa-utils crda btrfs))))) Perhaps adding the udev rules for btrfs will force it to run 'btrfs device scan' or whatever the magic is that it apparently isn't running now. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAl0QuL8ACgkQQarn3Mo9 g1G1Zw//VpKXmzr3/gYdxZNB5IS0ROCNJx4JwpmRdryObdIorsF43EM8kKP+BXAa q9GsL3su4zqLgE8BVaEChReiaGzuFo17/hoYYPTmw04JEEstkKG1feBWm0nN+/nB pGuhbvHZOFN45oYK6A58pVypglsGsSfgcnZqgjhqMoCx9I1N4FVAoZ4XrkXpXWax Es8yPrIrk1backuLJhaelD/aGYix0wVnxaOkUCLOAcposJDzkqlSlDaQMNAPxQlR 6tK2D0JES7hTfI6FLPLhJwMEqMyCAj7aAk2Wut5bR/8e5/xAZGrwkZLGRWYV4MeX ugp5xZEl1dNIA9FV9epDbTvR/0E+MjP1NIxZbdftJ1q5qJiwRl7rOHIGFwb9zuFa O92jC5KDF+GRW/MoKp1EEl6sBtGtMRWJIVTjfVk2IyL9eZVlH1QKp2Ym+UfZhuab hyKK8UxR2GI4BV0G9qzb8v8K2kKLCtDG/xvQTaFxWCBlksP7pUuzXt7mcaH16cGl pt09qsYTtMNnYMhTzK/QaO8lgQ6z2T6Nw9GitTj6G1xpUFpAvfAwh5LcnOpgOMFU gX8i48aDlfOhKBQouhlfPgYzxCLEfNUYDCZayXkUPTm6eAQ8iBJL9IagMX5CCvS3 UYVTEpbE6qaUZhnnlcTu7Xv+AjnPPZnZd7M4cts/LniEV6loza0= =vejb -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--