[ 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 21:38:22 +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=vBj/rsy4s6Twd61QkFrzKAPGhYozKk1KpKwyvZrliZU=; b=jb2Ws7SNfZ08n96LRPt5ByxMnOBv+DDBlnGab3rYwsHpLVnQZo0uTWdGN/1rfv+28UUgZ+m+/7j6r3TlLGbwGqAaGcOxqruJchd2dWMT6pZCJJv+JB4YX4XKtQ1YmK43VfPLycPHR1s09BA4w4vrYMvguuRgO6KU+SjgXS+o/onfaTwUsqWLlwp1NwbHztV5lF5hsfdwWVfy1bkYLkfVb61MKCcGp2ecPkpejJ9wqrD6cqMjaERsCxova7fnTFCZP4Vng5gmEWuDI1nuJgVcfakp3oJTLV1KU7vlG+n/1JWPsF2meKHJMsxrbHVT7QYeMPI21BOcOka/MMA5xuQmeA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZH6LC+SRXUYQODs+/oJwO8qCaqneOyncBWhs+ANTmTH0aVHGW5ffQFgwz4E8lJpbCU0UdyHE5hboTxzYSKiJRumM7nidSLNHlO2hP3xDHorlk2cT6jpsBOjO099JCi5fZgV0B6Qr4D2fAIzOstJ6NvbyLvRREuYzYlhvS+2TUelKERYQQllF9DnI5nJQO0A+z/klSFJrkYsdg+KBbXkK4ZcISu1T3rnwNWFx5IC/GGrYFoZq8uVuq5vh0XYy6YQ+Vznf/bs5/Sx2pXHLKz7eGQqhNIgn85lrgPNjAtECFt3DJed6dAwk00VklTls3Ho3p8ZKoaKNJ3xzwVVf39czog==
- 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=XXQdSwRfcT6qNixZyLAlvQV04qoTsMsl47olgp2AdhY=; b=FiFvKDeMphDq3rnxab0zn/+0m XMauXyapIZE92+Wh1NCKMZGTdpVasNU3L96Q+oPikJcyBGGw4hXNIjsPWLFaF62dMOMI2g0f91N2B DkNopMVAf22RVyvPYTRb3xfgdlSOywRU9pVjiJ5GUGL+i6BSRFH1DRC5ghMkM6eYSIOyE=;
- 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=vBj/rsy4s6Twd61QkFrzKAPGhYozKk1KpKwyvZrliZU=; b=jZdANJ8+J5x9F4MfRJlRmqcGGfLQT58Kpe2GJURlNmYw3zpkuNAR1z7lE00gpfbaG2Lhe+veHnXCC1yaxlkzAj5as/68HTvOt0BX20HB9STds0NHEB/P49od8JTOpHVPw6x6Sf4Ho+Vo2l9ymEO2KkGbuyVqhV6zPlaiM7xRDU1DaA7OeRtUpO7bKR5QTG+OW1rjHyTLKi9vtTAVml80G2IStMQvLMV6n+Ms91aseTXyl24v+4ajoINBG7PneCICBEvamcS9MWJKpCJgXEMvrpWI/vQdPsmzADNpat92i7rpHK8LJ9mHqzLRspTrm9TzLqI3KfsI+bXqSoNfObogJA==
On 16/07/2020 21:27, Julian Hall wrote:
I have since tried adding them to the fstab, which I then added to the
list of methods that don't work. However trying to mount them manually
using 'sudo mount -a' gave an access denied error, which may well be the
root of all the problems, and I have no clue what that's about.
Well if you're copying them verbatim _and_ you want the mount points to
stay the same (/media/julian/BLAH) as on the working system you should
actually be able to just copy them over.
BUT systemd won't know about the changes to it's units until you either
reboot or just call:
sudo systemctl daemon-reload
Don't forget you need to actually enable the new automount units!
sudo systemctl enable BLAH
And then you have to start them:
sudo systemctl start BLAH
After which you should have everything working. Remember you don't need
to manually mount those NFS shares any more, they will be automatically
mounted on demand when you access them in any way.
My guess is you've just missed one of the extra steps listed here but
otherwise everything is ok.
--
The Mailing List for the Devon & Cornwall LUG
https://mailman.dcglug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq