From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Biscuolo Subject: Re: support for btrfs multiple devices? Date: Tue, 25 Jun 2019 15:57:39 +0200 Message-ID: <87blyl6a3w.fsf@roquette.mug.biscuolo.net> References: 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]:37468) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hflxW-0005iE-Qd for help-guix@gnu.org; Tue, 25 Jun 2019 09:58:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hflxV-000128-CV for help-guix@gnu.org; Tue, 25 Jun 2019 09:58:06 -0400 Received: from ns13.heimat.it ([46.4.214.66]:34138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hflxV-0000xp-06 for help-guix@gnu.org; Tue, 25 Jun 2019 09:58:05 -0400 In-Reply-To: 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 , help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello Matt, Matt Huszagh writes: > I'm unable to get even a basic guix system init working with btrfs on 2 > partitions. I setup the btrfs filesystem with: > > mkfs.btrfs -L btrfs -m raid1 -d raid0 /dev/nvme0n1p2 /dev/sda1 Please can you specify how did you then installed Guix on your system? > and in my config: > > (define fs-root > (file-system > (mount-point "/") > (type "btrfs") > (device (file-system-label "btrfs")) Can you please try using uuid instead of file-system-label? > (options "defaults,compress=3Dlzo,ssd,noatime") > (needed-for-boot? #t))) > > (define fs-boot > (file-system > (mount-point "/boot/efi") > (type "vfat") > (device (uuid "68C5-A2D1" 'fat)))) ^^^^ fat32 ? :-) > > (file-systems (append > (list > fs-root > fs-boot) > %base-file-systems)) [...] > Has anyone gotten btrfs working with any sort of multi-device raid > capability? Yes, I did it on milano-guix-1 build machine (and I'm almost sure I'm not the only one around): That machine configuration is here: http://git.savannah.gnu.org/cgit/guix/maintenance.git/tree/hydra/milano-gui= x-1.scm I initially installed on a RAID1 (both data and metadata) btrfs volume using two disk partitions, with manual installation method, and it worked; lately I added 4 more disks (whole disks) and converted the volume to RAID10 > Any pointers would be greatly appreciated! I've now devoted 4 full > days and still can't get past the guix system init phase - I'm pretty > close to giving up... Can you please provide a step-by-step report of what you are doing when installing, maybe a review could reveal something wrong... or probably a Guix bug :-) Thanks for reporting! Happy Guix! Gio'. =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEERcxjuFJYydVfNLI5030Op87MORIFAl0SKFQACgkQ030Op87M ORICeQ/+JROGCCqjjeJofBSXQqWfy3i0V3OCYHI53SOKFdQxsnOC0ZI3r35Y2gR7 y3Q4wfiUyX8KTHy2FvuJFwSJuax8VfTh1ipUsQBIj3D2LC4aAaZEvNuUkCzHtf/w ajC05qSBzIUbyDVVkzMT2Rw7qTPMqXfZPCVE6gdfy24pRvgYmDw+LzU3RT2+dfG/ yeGl0wpUKtUvdKGPIAqA8GYsVi0H9NI7MxDFKLovCZXwQMxm95KiRLjVX4LHv+M/ 5xsT013jsB4zl5RvYsPsAzBANKqwQ9OVO5n34phueo7IDSZJemiHBQ9Bl9shmpMq gA8hZwVuDS7m0AhEIDv5mos+AtAPfJOLEHlOo9yD+6q/oVA6/oSFCG+QeBxruhDs DSyhS3DZP7K9NcjRf3TGrojktQv7Ao0Ct/9hBvXB4cIIcGJosg59ykNgmy1OgI74 jkHd4oBQgf8ZKnI98aGBjld+Nvsx3N2iIVb2FHLWcAZyCI3XNu4yicxdJ0u+/VC6 4DRHeCBXZulkS3QI8TgjsEq0uPmgmrxod9MR32hpyn6YplbZ+h78HTEETc+Hxn4/ 50qN8ZOJMuIKRFfJtHc7BVC1MEDj14/hqZEcaz4CL8SagsP7pVnoxFAFeLn09owE wekpsqPSDV6fPa9+Rjs4mj0RUDwCy6eaUt0SNMqiE6cb0UBpn7Y= =ZLvo -----END PGP SIGNATURE----- --=-=-=--