<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=6561&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Shutdown fails due to NFS mounts failing to unmount (resolved: autofs)]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=6561</link>
		<description><![CDATA[The most recent posts in [SOLVED] Shutdown fails due to NFS mounts failing to unmount (resolved: autofs).]]></description>
		<lastBuildDate>Fri, 26 Apr 2024 12:04:26 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Shutdown fails due to NFS mounts failing to unmount (resolved: autofs)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=49704#p49704</link>
			<description><![CDATA[<p>thanks @fsmithred !</p><p>Using <span class="bbc">autofs</span> worked well.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenant)]]></author>
			<pubDate>Fri, 26 Apr 2024 12:04:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=49704#p49704</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Shutdown fails due to NFS mounts failing to unmount (resolved: autofs)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=49578#p49578</link>
			<description><![CDATA[<p>There is no fstab entry for this.</p><p>auotfs is installed on the client machine. nfs-kernel-server is iinstalled on the server machine and the exports are defined there.,</p><p>I added this line to /etc/auto.master</p><div class="codebox"><pre><code>/mnt	/etc/auto.nfs</code></pre></div><p>I created /etc/auto.nfs</p><div class="codebox"><pre><code>filestore    remote-hostname:/home/user/data-to-share</code></pre></div><p>Where filestore is just a name for the mountpoint that will be automatically created under /mnt when you access the share, and remote-hostname:/home/user/data-to-share corresponds to an actual nfs share on remote-hostname. </p><p>I usually make a symbolic link in my home dir that points to the mountpoint.</p><div class="codebox"><pre><code>ln -s /mnt/filestore /home/user/my-shared-files</code></pre></div><p>Restart autofs after making any changes.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 20 Apr 2024 17:30:57 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=49578#p49578</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Shutdown fails due to NFS mounts failing to unmount (resolved: autofs)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=49565#p49565</link>
			<description><![CDATA[<p>@fsmithred that sounds like a likely fix.</p><p>Would you mind posting an example of one of your fstab mounts - just to make sure the <span class="bbc">autofs</span> option is the only one needed!</p><p>Thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (greenant)]]></author>
			<pubDate>Fri, 19 Apr 2024 04:42:35 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=49565#p49565</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Shutdown fails due to NFS mounts failing to unmount (resolved: autofs)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=49548#p49548</link>
			<description><![CDATA[<p>Fantastic! Thank you very much, fsmithred.<br />I will use it.....<br />Have a good evening (or a good day, depending where you live...)</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 17 Apr 2024 15:01:44 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=49548#p49548</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Shutdown fails due to NFS mounts failing to unmount (resolved: autofs)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=49546#p49546</link>
			<description><![CDATA[<p>I have NFS mounts on my laptop using wifi and network-manager, and I have no problems shutting down with the nfs mounts. Maybe it works for me because I use autofs to control the nfs mounts. The share gets mounted whenever I access it, and those mounts get cleaned up before networking shuts down. It&#039;s near the top of the list in /etc/rc6.d</p><div class="codebox"><pre><code>K01autofs </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 17 Apr 2024 10:49:58 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=49546#p49546</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Shutdown fails due to NFS mounts failing to unmount (resolved: autofs)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=49545#p49545</link>
			<description><![CDATA[<p>thanks @Andre4freedom, good to know I&#039;m not the only one experiencing this issue.</p><p>I guess the reason you may be seeing this with WLAN only may be that your ethernet connection is set in <span class="bbc">/etc/network/interfaces</span>.&#160; Interfaces defined there will no longer be managed by Network Manager.</p><p>Unmounting NFS shares manually certainly works, but I have a bad habit of forgetting this, and I&#039;m sure it will be possible to solve with the right sysvinit script tweaks...</p>]]></description>
			<author><![CDATA[dummy@example.com (greenant)]]></author>
			<pubDate>Wed, 17 Apr 2024 07:51:28 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=49545#p49545</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Shutdown fails due to NFS mounts failing to unmount (resolved: autofs)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=49544#p49544</link>
			<description><![CDATA[<p>@greenant:<br />This happened to me all time, with every version of Devuan, but only when my laptop was/is connected by wifi (wlan).<br />I always use OpenRC and Cinnamon, and now I&#039;m on Daedalus.<br />It happens when you mount your NFS resources over a wifi link. IT DOES NOT HAPPEN WHEN YOU ARE CONNECTED BY LAN (Ethernet).<br />So typically you will encounter the problem with laptops.</p><p>My solution is simple: On a laptop, I unmount all NFS resources before shutdown.<br />BTW: I&#039;m very fond of Daedalus, or Devuan in general.</p>]]></description>
			<author><![CDATA[dummy@example.com (Andre4freedom)]]></author>
			<pubDate>Wed, 17 Apr 2024 07:45:01 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=49544#p49544</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] Shutdown fails due to NFS mounts failing to unmount (resolved: autofs)]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=49543#p49543</link>
			<description><![CDATA[<p>When I have NFS shares mounted, shutdown hangs (last message from rsyslog).</p><p>This is with Devuan Daedalus on Lenovo Thinkpad P14s (AMD edition).</p><p>I believe this is related to the order of events at shutdown (using sysvinit).</p><p>See <span class="bbc">ls /etc/rc6.d</span></p><div class="codebox"><pre><code>K01alsa-utils	   K01lightdm			   K01vboxballoonctrl-service  K06umountnfs.sh
K01bluetooth	   K01openvpn			   K01vboxweb-service	       K07nfs-common
K01brightness	   K01pcscd			   K02avahi-daemon	       K07rpcbind
K01cups-browsed    K01pulseaudio-enable-autospawn  K02libvirtd		       K08hwclock.sh
K01docker	   K01saned			   K02network-manager	       K08networking
K01elogind	   K01speech-dispatcher		   K02vboxdrv		       K09umountfs
K01eudev	   K01tlp			   K03virtlogd		       K10umountroot
K01glances	   K01urandom			   K04sendsigs		       K11reboot
K01libvirt-guests  K01vboxautostart-service	   K05rsyslog		       README</code></pre></div><p>I tried moving network manager to later in the shutdown sequence as I think the NFS umount is failing due to having network stopped first.</p><div class="codebox"><pre><code>mv K02network-manager K07network-manager</code></pre></div><p>That helps, now shutdown does complete, but there is a long delay if an NFS share is mounted.</p><p>I have tried changing the <span class="bbc">timeo</span> property in the mount (from <span class="bbc">/etc/fstab</span>):</p><div class="codebox"><pre><code>nfserver:/data/media/video                        /mnt/media/video        nfs     defaults,soft,timeo=5,rw,_netdev        0       0</code></pre></div><p>but the timeout doesn&#039;t seem to change the shutdown delay.</p><p>So 2 questions:</p><p>1. should the Devuan <span class="bbc">nfs-client</span> package be updated to make sure nfsumount happens before network manager shutdown?<br />2. is there a way to control the NFS umount wait time so that the shutdown delay is not so long</p><p>p.s. just reporting back here too, Devuan runs very well on this laptop with a few little tweaks, thanks for all the great work maintainers!</p>]]></description>
			<author><![CDATA[dummy@example.com (greenant)]]></author>
			<pubDate>Wed, 17 Apr 2024 04:59:32 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=49543#p49543</guid>
		</item>
	</channel>
</rss>
