[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble with nfs mount
From: |
Fredrik Salomonsson |
Subject: |
Re: Trouble with nfs mount |
Date: |
Mon, 17 Oct 2022 16:49:18 +0000 |
Hi,
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
> Hi,
>
> Fredrik Salomonsson <plattfot@posteo.net> 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.
Ah, ok. Thanks for the info.
> 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---
> (file-system
> (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---
Yeah, I think I'll just add a shepherd service to my home configuration
that mounts and unmounts my NFS device until this is resolved.
--
s/Fred[re]+i[ck]+/Fredrik/g
Re: Trouble with nfs mount, Maxim Cournoyer, 2022/10/16
- Re: Trouble with nfs mount,
Fredrik Salomonsson <=