From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id WPPOKyZCCGWStAAA9RJhRA:P1 (envelope-from ) for ; Mon, 18 Sep 2023 14:27:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WPPOKyZCCGWStAAA9RJhRA (envelope-from ) for ; Mon, 18 Sep 2023 14:27:18 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A9C985B19C for ; Mon, 18 Sep 2023 14:27:17 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=HqUgF30Z; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695040037; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=WLdN57+NkltF4PdQwnaVeSnWUZG75BwJavWEpiiJQWY=; b=DlIRszBMsKylKd6aiGTRUveDcC0yrqx4MJZjQjAAdOKmxp2ql/NPPEWH1bP2Jb5E37WmqD Xcu4ukiPTqadSrT71blYZ5RC6v/YCJmf21y6eJOOM0PHWOWXHWaTsSnaQeogeWVrsqkCI6 yvIqDrN+y+5UZlAZq3tBb3YX/7kTxSn4MLQZ+fdBJM00myqchBnHI8DJnx3qe17YDj0IC0 mBeztYdZhdhgQWJs8ZhWEPofTwFAohVpkO29CfJsgzz8xAbgIY2FjDpNf/nroVxK04uEmG XedSDADOTmxbIlnyt5M0h/haylmkDQbFQwDgF0lzQZ4cF9tcLASr5VHzomxrCA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=HqUgF30Z; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695040037; a=rsa-sha256; cv=none; b=UbIeQBhEmoFjQ9Kp7OUhME6naLyW/BsTL3qMlE9p8hjlDl+h1oscOe9/UHA9YQP1oND6AD h/XIBQ8cLUCHJck+hCWCuO351tgkDh3ecIZKR9CtaNKVeSrapbGShyGHcZ8s3cne1xCy5V PsFbrTylqu125drwhK6XTYjxtbS9gI5zTJgJpcLBjXubmpcQOfa4gRSaBsw1L0ho9l9GQF tjwqxoSs4vnRh+95CznuGXUIrOHd71/XSsvPS/h5NXJRsigDKgs+YoeTIyiF2ItND7+tdv 02w8R+YDWxg/wQTryPgetF96V0mUw9KBXhBNrr8klBEx7uwNYSYvGOMWtODOcg== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiDL5-00064N-Se; Mon, 18 Sep 2023 08:26:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qiDL4-00063k-GR for bug-guix@gnu.org; Mon, 18 Sep 2023 08:26:54 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qiDL4-0005wM-7T for bug-guix@gnu.org; Mon, 18 Sep 2023 08:26:54 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qiDLC-00080E-D1 for bug-guix@gnu.org; Mon, 18 Sep 2023 08:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#66014: Unable to use UUIDs to construct RAID array in mapped-devices Resent-From: Csepp Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 18 Sep 2023 12:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66014 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Lars Rustand Cc: 66014@debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@gnu.org, 66014@debbugs.gnu.org Received: via spool by 66014-submit@debbugs.gnu.org id=B66014.169504001530727 (code B ref 66014); Mon, 18 Sep 2023 12:27:02 +0000 Received: (at 66014) by debbugs.gnu.org; 18 Sep 2023 12:26:55 +0000 Received: from localhost ([127.0.0.1]:52339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiDL5-0007zX-4o for submit@debbugs.gnu.org; Mon, 18 Sep 2023 08:26:55 -0400 Received: from mx1.riseup.net ([198.252.153.129]:43324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiDL3-0007zD-14 for 66014@debbugs.gnu.org; Mon, 18 Sep 2023 08:26:53 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4Rq3ty5QfQzDqRl; Mon, 18 Sep 2023 12:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1695039999; bh=OrZWE8z5TUA43EQWddcHQdjy7mXplHWIgOglsbuZ6g0=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=HqUgF30Z8wr0I3kwTptw5Z4C1t7Ju44sDiX2jjthZ1hLjj+NJPxKsqqz/1aN6yOHC 3Xm+61ttpLHmVKjH0F+QIsiTFQSHaLG6RpCTZfO9zenyZbYPtHoDiqfWRCkRY3WE9r EImAg81n3GNPuZT9OdkhkEEjRrBznoy3GTUBd61M= X-Riseup-User-ID: DD73D51EB4EEC1A6BF5113C9535F23CE59DCF337B397719E32950CC20219F946 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4Rq3tl0PF4zJnD3; Mon, 18 Sep 2023 12:26:22 +0000 (UTC) References: From: Csepp Date: Mon, 18 Sep 2023 14:24:16 +0200 In-reply-to: Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: -0.41 X-Spam-Score: -0.41 X-Migadu-Queue-Id: A9C985B19C X-TUID: 5up3zTkHT6iZ Lars Rustand writes: > [[PGP Signed Part:Undecided]] > Setting up a RAID array using UUIDs does not work. > > The following mapped-devices block works: > > (mapped-devices > (list > (mapped-device > (source (list "/dev/nvme0n1p2" "/dev/nvme1n1p3")) > (target "/dev/md0") > (type raid-device-mapping)))) > > But this one fails: > > (mapped-devices > (list > (mapped-device > (source (list (uuid "a07c54da-eb61-4135-86b8-8791e863e46a") (uuid "c40026af-ace9-47fc-9d3f-4b8d6a2219cb"))) > (target "/dev/md0") > (type raid-device-mapping)))) > > The error message I get is guix system: error: #< type: dce bv: #vu8(160 124 84 218 235 97 65 53 134 184 135 145 232 99 228 106)>: invalid G-expression input > > [[End of PGP Signed Part]] Would it be possible to use /dev/disk/by-uuid paths instead of uuid objects for these? I think this big "typeof" based dynamic dispatch that we're using in Scheme is erm, not very robust, to put it mildly.