From unknown Thu Aug 14 12:23:21 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#79181 <79181@debbugs.gnu.org> To: bug#79181 <79181@debbugs.gnu.org> Subject: Status: Guix file-system error error with mergerfs Reply-To: bug#79181 <79181@debbugs.gnu.org> Date: Thu, 14 Aug 2025 19:23:21 +0000 retitle 79181 Guix file-system error error with mergerfs reassign 79181 guix submitter 79181 Distopico severity 79181 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 05 19:23:06 2025 Received: (at submit) by debbugs.gnu.org; 5 Aug 2025 23:23:06 +0000 Received: from localhost ([127.0.0.1]:57280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ujQzp-0004A7-Ur for submit@debbugs.gnu.org; Tue, 05 Aug 2025 19:23:06 -0400 Received: from lists.gnu.org ([2001:470:142::17]:51260) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ujQzn-00049H-Dv for submit@debbugs.gnu.org; Tue, 05 Aug 2025 19:23:04 -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 1ujQzg-0002eT-Ok for bug-guix@gnu.org; Tue, 05 Aug 2025 19:22:56 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ujQzc-00014X-O6 for bug-guix@gnu.org; Tue, 05 Aug 2025 19:22:55 -0400 Received: from fews03-sea.riseup.net (fews03-sea-pn.riseup.net [10.0.1.153]) (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 4bxTwz580ZzDryr for ; Tue, 5 Aug 2025 23:22:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1754436163; bh=0lvgdvWOo3itMd0e1YNRW4weJQ5Pw1NMLsyP/t+JzqM=; h=From:To:Subject:Date:From; b=sCMawvoftNN4UHFsZsgDGGVCOybkj4TklTBzDKpsR1gEK7XUoVjr0Jg96w20/gg/X DUevGG3W9w5ezNi4+ZJzYQwjtDMtCP6Bi7+Dn5+OCRFE3tse566Z2Q0csxAIQmhRs3 s2P5an/E+dGAveWpo0Od/wnodmi3tA7oa1Jn+QF0= X-Riseup-User-ID: 4447647CCB9901F1B7BADA259076C5DAAE9C9DE0BA239594618293441BD9467B Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews03-sea.riseup.net (Postfix) with ESMTPSA id 4bxTwz1Tfwz1ytv for ; Tue, 5 Aug 2025 23:22:42 +0000 (UTC) From: Distopico To: bug-guix@gnu.org Subject: Guix file-system error error with mergerfs Date: Tue, 05 Aug 2025 18:22:40 -0500 Message-ID: <878qjxxsjj.fsf@riseup.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.129; envelope-from=distopico@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I'm trying to setup Mergerfs in Guix, Mergefs works with normal fstab configuration like: https://trapexit.github.io/mergerfs/quickstart/#usage --8<---------------cut here---------------start------------->8--- UUID=30393ca8-.......... /mnt/media1 ext4 defaults /mnt/media1 /mnt/raid/ mergerfs defaults,cache.files=partial,dropcacheonclose=true,category.create=pfrd --8<---------------cut here---------------end--------------->8--- But also support glob --8<---------------cut here---------------start------------->8--- /mnt/media* /mnt/raid/ mergerfs defaults,... --8<---------------cut here---------------end--------------->8--- and Guix is adding the fstab configuration fine (after reconfigure), but I get an error in `guix reconfigure` and is not mounting it. --8<---------------cut here---------------start------------->8--- guix system: warning: exception caught while executing 'start' on service 'file-system-/mnt/raid': In procedure mount: mount "/mnt/media1" on "///mnt/raid": No such device --8<---------------cut here---------------end--------------->8--- `herd status`: --8<---------------cut here---------------start------------->8--- Failed to start: ! file-system-/mnt/raid --8<---------------cut here---------------end--------------->8--- this is my file-system configuration --8<---------------cut here---------------start------------->8--- (define margerfs-mapped-device (list (file-system (mount-point "/mnt/media1") (device (uuid "30393ca8-..." 'ext4)) (type "ext4")))) --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- (file-systems (cons* ;; more disks... ;; mergerfs (file-system (device "/mnt/media1") (mount-point "/mnt/raid") (dependencies margerfs-mapped-device) (options "defaults,cache.files=partial,dropcacheonclose=true,category.create=pfrd") (type "mergerfs") ;(mount-may-fail? #t) ;(create-mount-point? #t) (check? #f)) (append margerfs-mapped-device %base-file-systems))) --8<---------------cut here---------------end--------------->8--- Right now I'm just mapping one disk "/mnt/media1/", with "/mnt/media*" or "/mnt/media1:/mnt/media2" does not work either (and I expected to not work with that custom mergefs way), mounting manually works fine, or after the reconfigure with `sudo mount -a` I guess this is a perfect use case for mapping-devices but mergerfs is not implemented for mapping in guix yet. Why the most simple use case that should work is not working?