[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble with nfs mount

From: Maxim Cournoyer
Subject: Re: Trouble with nfs mount
Date: Sun, 16 Oct 2022 21:46:42 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)


Fredrik Salomonsson <> writes:


> ---✂----------------------------------------------------------------------------
> shepherd: Evaluating user expression (and (defined? (quote transient?)) (map 
> (# ?) ?)).
> guix system: warning: exception caught while executing 'start' on service 
> 'file-system-/media/Valhalla':
> In procedure mount: mount "fafner:/srv/nfs4/Valhalla" on "///media/Valhalla": 
> Invalid argument
> guix system: warning: some services could not be upgraded
> --------------------------------------------------------------------------------
> So that's probably what's happening during boot.
> I have no idea how it transforms the mount-point from "/media/Valhalla"
> to "///media/Valhalla" and if that's a red herring.
> Any ideas what I'm doing wrong?

Nothing; mounting an NFS file system at boot is not supported currently
with Guix System; see the related issue #47706.

My current ugly workaround is to define the mount points with "(mount?
#f)" and mount them via a script post boot, e.g.:

--8<---------------cut here---------------start------------->8---
  (device "jami-buildmachine-04:/srv/nfs/jami")
  (mount-point "/var/cache/jami")
  (create-mount-point? #t)
  (type "nfs")
  (mount? #f)
  (options "soft,user"))
--8<---------------cut here---------------end--------------->8---


reply via email to

[Prev in Thread] Current Thread [Next in Thread]