GNU bug report logs - #79181
Guix file-system error error with mergerfs

Previous Next

Package: guix;

Reported by: Distopico <distopico <at> riseup.net>

Date: Tue, 5 Aug 2025 23:24:02 UTC

Severity: normal

To reply to this bug, email your comments to 79181 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#79181; Package guix. (Tue, 05 Aug 2025 23:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Distopico <distopico <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 05 Aug 2025 23:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Distopico <distopico <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: Guix file-system error error with mergerfs
Date: Tue, 05 Aug 2025 18:22:40 -0500
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?




This bug report was last modified 4 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.