[ Date Index ]
[ Thread Index ]
[ <= Previous by date /
thread ]
[ Next by date /
thread => ]
Re: [LUG] Linux Mint 20 and autofs [trying to mount NFS shares on NAS]
- To: list@xxxxxxxxxxxxx
- Subject: Re: [LUG] Linux Mint 20 and autofs [trying to mount NFS shares on NAS]
- From: comrade meowski <mr.meowski@xxxxxxxx>
- Date: Thu, 16 Jul 2020 17:32:47 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/G3vIF2NyhLjiQZvwE4pXo1vR+MZt+E3Vq43KvcUAEc=; b=T/h1N3yyJuK/NkAJoBmwtAGM55jogV0DolvTjhMBxfQeovkCqNz69gLXP7d0/vdMdH8Fml0Ha75eRTykXRKO8icHYAmgV4GRx9wWIKsoCaAIfDTb+dtgAvIgTD0QQTZCQYmFZ1whN3ZavnBxyvVrXiL8UQcMylRMYFR5AbHkjjJP8V1mu+X4uf7ruYU/AavCxu7Htbmy35+MqipUnEsK77D9vfHSxUlSabUM1wigYiV2EPGy1GwKhrUgEsJSGJJgm59D66pTk4S51ZuZyyBgI8EDpCCshbVPo6oi/chP9vuqYkf2Lg4LMUHt9rKbCXm0egVL1FEd0FjALydNLjzMQw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cPHXaMnB70vQ/G01mxCTNAYfc6dJXy000jalAqdgllLaCKDYN0YuVejK/ZghuZS6FhtFzGW10grkBIeDoq+e5swakZ3h7I1BiCXDq7U/ypXTizAS7TJNn8daKbduswZBW7PxzpIAz3to3YMhpMXlUR6TQ6OHrQDx61x8+QyzYZ2SLZ+3YAJ9K3mnswoU5USKq2bxZXv3EOgg36Lxvrz9Zmw7uCQ8ce36bseEdR9djmQOnl27vwyHng78qecVa+Ny68lt+JTTZGeFNz3UrzywVM8MZqpVQ/Qzqpm2yN5Lcu8qTLT8R0B2AC6rRjkTw1m9ha54uMN8vdbJ8PmTbsZHAw==
- Content-language: en-GB
- Delivered-to: dclug@xxxxxxxxxxxxxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dcglug.org.uk; s=1586423162; h=Sender:Content-Type: Content-Transfer-Encoding:Reply-To:List-Subscribe:List-Help:List-Post: List-Unsubscribe:List-Id:Subject:MIME-Version:In-Reply-To:Date:Message-ID: From:References:To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner:List-Archive; bh=fgFsmHq4xII7ZZgPJXZ8mMucOUHhCHSdP0SqLuJP70U=; b=ifq31uHU9jtWeOGOaYHIl8DkX HbvQs944Plo6QMgkzxZdysuB5ri5/czkTkuCz7v6SWMzhRm9uGSl5fx4s3BqlVRuksXCM+/WFhWef 8RbstZ4pDRlyBZwWG7M12NFhg5lMa1ueGpJ3YIF+PYBlqYXLzeQ8begtVrB0hSjraGBkQ=;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/G3vIF2NyhLjiQZvwE4pXo1vR+MZt+E3Vq43KvcUAEc=; b=ESbpu7Kzw8VvhciqCDBpn9UQuAu1lSNAzaOkwb/YkS2mL+I/qjwktCJuvTHHOX4TaW+4hu+9S9RF2zA4JnKhmBnJ81eYgQdOKzbowvWDWS6p1br67dMC4cyqzdgV1a+AeEwFjj05sk4XWlQxYHqYM8j6zHsp+Z4l6oJ+E2gCdQlI2rnkqDHLyDtkjO/gy75ZOtbZPGDmYJIh5isMUuoXFEF6bjQZWYMTPgpO2C+i5Q+6S6XISQ9iDUfkmyaGDlkbnnte5JWhCxslO6VeqEY0gG6sGVZ4jeFd8HSm0pVgtSsV4DA1You9Gabo+HNQYSSxe2dXfwUTArPJw2H8OZM4lw==
On 16/07/2020 12:20, Julian Hall wrote:
The .mount / .automount solution works perfectly on my desktop -
currently Mint 19.3 - so there is no reason - or at least /none I could
see/ which is nowhere near the same thing - for that not to work on the
laptop, which at the time also had Mint 19.3 installed. As it wasn't
working /anyway/ that was when I installed Mint 20 and discovered the
autofs solution, which on paper looks tidier. I even found a YouTube
video of Linux Mint showing how to install autofs. Except as usual - you
know me by now - what works for them doesn't work for me. The way I
/think/ autofs is supposed to work is that auto.master tells it the root
mount point - in my case /media/julian - and auto.nfsdb tells it the
individual mount points such as DEMETER to dynamically create the mount
point(s) /media/julian/DEMETER. In principle that /sounds/ like it
should work.
Unless you particularly want to learn autofs just for the fun of it I'd
back out now, wipe it and go back to copying/adapting the known working
- and preferred - systemd automount way.
To my knowledge the syntax and methodology haven't changed at all so
just repeat what you did last time - or copy the setup instructions from
the Arch wiki, they work perfectly. If you get into problems post a
summary of the information like IPs and mountpoints and include the
systemd units you create. It's probably one tiny thing like forgetting
the systemd units have a super strict naming policy that _must_ match
their mountpoints, accounting for the weird systemd-escape conventions.
For automount to work, you have to disable the normal mount unit you'd
have just written and probably enabled.
The next most likely explanation is that you need to specify an after=
and/or requires= argument in the systemd units, Mint may be firing them
too early in the boot sequence to activate (like before the network is
ready for example).
--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dcglug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq