D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Merry Christmas All.. automount problem with kernel 4.13 on Mint 18.3

 

On 29/12/17 21:44, Julian Hall wrote:
> On 29/12/17 19:10, Julian Hall wrote:
>> julian@Cerce ~ $ sudo dpkg -i | grep autofs
>> [sudo] password for julian:
>> dpkg: error: --install needs at least one package archive file argument
>>
>> That doesn't seem to want to play.

Whoops - sorry that was me being dumb. Should have been:

dpkg -l | grep autofs

But I don't think that's going to be installed anyway, or if it is, it's
a red herring.

> Very quick update.. just come back in and started the computer.. now I
> have two CASSIOPEIAs on the desktop, a drive icon and a network share
> icon as in my earlier screenshots.

Ok, I think we've established that the problem is a cosmetic one at this
point, rather than a functional one. After rebooting your machine is now
clearly doing what it's supposed to be doing and is successfully
mounting CASSIOPEIA during boot via systemd. You can see it in your
copy/paste:

>> â media-julian-CASSIOPEIA.mount - /media/julian/CASSIOPEIA
>>    Loaded: loaded (/etc/fstab; bad; vendor preset: enabled)
>>    Active: active (mounted) since Fri 2017-12-29 19:03:08 GMT; 20s ago
>>     Where: /media/julian/CASSIOPEIA
>>      What: 192.168.1.3:/volume1/CASSIOPEIA
>>      Docs: man:fstab(5)
>>            man:systemd-fstab-generator(8)
>>   Process: 2969 ExecMount=/bin/mount 192.168.1.3:/volume1/CASSIOPEIA
>> /media/juli
>>
>> Dec 29 19:03:08 Cerce systemd[1]: Mounting /media/julian/CASSIOPEIA...
>> Dec 29 19:03:08 Cerce systemd[1]: Mounted /media/julian/CASSIOPEIA.

You don't need to manually start or restart the unit file now, systemd
will take care of it as needed. After a fresh boot do:

systemctl status mnt-nfs.mount
ls -alh /media/julian/CASSIOPEIA
systemctl status mnt-nfs.mount

You should have both a mounted NFS filesystem as expected and clear
success information from systemctl. If not, there might still be a
conflicting unit file we need to track down and kill off.

The problem seems not so much to be that the NFS mount isn't happening
now - although you do still need to confirm that - but that your desktop
environment is doing something weird. You're using Cinnamon on Mint
right? Is it not the case that you've manually created shortcut icons on
your desktop for your three NFS mounts and you've also turned on
something like the "show network" and "show mounted filesystems" options
in the Cinnamon control panel? It sounds suspiciously like you're just
getting automatically generated hot plug type icons for some reason. How
did your original three desktop NFS share icons get there then - what
does this say:

ls -alh ~/Desktop

Cheers
-- 
The Mailing List for the Devon & Cornwall LUG
https://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq