From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wPXkN+R7TGMWnAAAbAwnHQ (envelope-from ) for ; Sun, 16 Oct 2022 23:47:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id +BQBOOR7TGPsGgEA9RJhRA (envelope-from ) for ; Sun, 16 Oct 2022 23:47:16 +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 5B3D030AE0 for ; Sun, 16 Oct 2022 23:47:16 +0200 (CEST) Received: from localhost ([::1]:35574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okBTX-0003bU-0g for larch@yhetil.org; Sun, 16 Oct 2022 17:47:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okBT3-0003b6-NL for help-guix@gnu.org; Sun, 16 Oct 2022 17:46:45 -0400 Received: from mout02.posteo.de ([185.67.36.66]:46645) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okBT1-00045f-Ki for help-guix@gnu.org; Sun, 16 Oct 2022 17:46:45 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 3CA6F240105 for ; Sun, 16 Oct 2022 23:46:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1665956796; bh=6RS0Bq53TiJwgsNuscRy0JwXq4VDz+U3NvtP17tdTb0=; h=From:To:Subject:Date:From; b=MK7Cg7RhfRsQuaHqjM1g5coN5wVJ1Ts6Hl58bsK5dQHDpLupN+J+mr0ilGWE/bsMz qGGWW2whuBzPJmmEwlnk5ksOnr8llU2DnK/va9OS3uqVvD5RIpB/vaQZH4W3Qm8odS B0btvDCLgbd6W2rY382fARc3IQYu3chA8H8mfJn7Er4IYMx2BTO4EGxGPSOFx0boS9 gRLw8cI+ah3H9xOcVnkxOfav00NFbhJxtkKJo8APqR4/XTVvpo+gDV6dX4VYd2D3j+ /ELaRSVO+E0mL8wavoVtawQSOsREQf12m/t8Hbo+FoS9+CxX97wx22hQnegNb5HzoY 3VMm0pg7bLk5A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MrDGc39b0z6tmN for ; Sun, 16 Oct 2022 23:46:32 +0200 (CEST) From: Fredrik Salomonsson To: help-guix Subject: Trouble with nfs mount Date: Sun, 16 Oct 2022 21:46:29 +0000 Message-ID: <87k04ze91m.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=plattfot@posteo.net; helo=mout02.posteo.de 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_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665956836; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qCWvLv7OYGX40hU6OH+mqwMdyDPD1jbaYwe4avrGILY=; b=Oka6DlGv7D3HXZN4L+dZg3vfDmghUQ1voD1/uRZMxtOAMPagrSbMYZFrmDhHBCwZIuFzu2 TLxthkcozoTh2QRf3ozP71sm4DShwN4gaW76ixO0vwxczoHL40SBfF4J8RnG79BxoYcSnm pP/K7w33Kg3p2fvfNSI6TrjbIInBpwErFSiwYSi7X+kAqxYUSbbRVLxJDeaC/wNssqotqk 2ip/eHZw1AQUfxtqmghcgWFi/YcH6mk/U/Y+dUxKqGrsMvZX+xIThkPBHQlg1+XJQA969N PLu43psNmD0orP0HuiyiXo2z6Rtr6P8bhdyNheKpExzH9DTtjnxTx4HxrVoUbA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665956836; a=rsa-sha256; cv=none; b=KTncpLRpQgayokxr0p5J1iYDA1Mm2Dp5uiF4x1i4HO6obzdyGfUI5k3erK357uil6Wm4Xe BJwEo7N0y6ayRB4CeejxEjdWbUy3m9VhZraZVvHFEv4j9qth/d5Z3s0zAOxtnxGpdFLPsy 3kaY29nlgShsSyJDTznWZRlsLMTg6HtpIZZJYdsPe4yPJvr99pFcLyPMlhcGMluv+bEcb1 J1wtRWA2uupOvSJv3HU3EHJnKMcirregbkoPmVBhxCzvNHCvAMqcf42rSyi6f7gxoQXkK/ hASbJwTdGUp7EiLU1XNK7Y1NH1DzO3LQSStOXK/caKWLN8bwyO7G6gmGzVCURQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MK7Cg7Rh; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=MK7Cg7Rh; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5B3D030AE0 X-Spam-Score: -6.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: rqv73p7chMOC Hi Guix, I'm having some issues with my nfs storage on Guix System. Here is the part of my configuration that deals with mounting the nfs device. (define nfs-valhalla (file-system (device "fafner:/srv/nfs4/Valhalla") (mount-point "/media/Valhalla") (options "auto,_netdev,timeo=3D10") (type "nfs4") (mount? #f) (check? #f))) (operating-system ;; =E2=80=A6 (file-systems (cons* ;; =E2=80=A6 nfs-valhalla %base-file-systems))) cat /etc/fstab: ---=E2=9C=82---------------------------------------------------------------= ------------- =E2=80=A6 fafner:/srv/nfs4/Valhalla /media/Valhalla nfs4 auto,_netdev,timeo=3D10=09 ---------------------------------------------------------------------------= ----- As you can see Guix creates it just fine in /etc/fstab. I can manually mount it. But if it's mounted when I'm shutting down the system it will block. Sheperd will wait for some process to finish (which I assume is the nfs mount). It works fine if I manually unmount it before shutting down. If I set it to mount on boot, it wont reach the tty prompt. Instead it will get stuck somewhere along the boot process (grub menu to the rescue). I do see shepherd failing to mount it after I've run guix system reconfigure. ---=E2=9C=82---------------------------------------------------------------= ------------- =E2=80=A6 shepherd: Evaluating user expression (and (defined? (quote transient?)) (ma= p (# ?) ?)). 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 =E2=80=A6 ---------------------------------------------------------------------------= ----- 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? Thanks! --=20 s/Fred[re]+i[ck]+/Fredrik/g