D&C GLug - Home Page

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

Re: [LUG] Systemd NFS mount via fstab.

 

On 22/07/18 00:06, mr meowski wrote:
On 21/07/18 21:20, Julian Hall wrote:
Still not persisting. It stays /enabled/ through a reboot - I assume the
symlink did that - but will only /load/ if I manually start the mount
with systemctl.
Hmm, are you sure? Does 'ls -alh /media/julian/DEMETER' really return
nothing after a reboot?
julian@Cerce ~ $ ls -alh /media/julian/DEMETER
total 8.0K
drwxr-xr-x 2 root root 4.0K Jul 21 21:15 .
drwxr-xr-x 6 root root 4.0K Jul 21 21:15 ..
julian@Cerce ~ $
If it doesn't, then there are other issues we'll have to track down and
fix which doesn't particularly surprise me...

What does 'systemctl --failed' get you after you've rebooted, tested to
see if the NFS mount responds to ls but BEFORE you manually run the unit
file?
julian@Cerce ~ $ systemctl --failed
  UNIT                         LOAD   ACTIVE SUB    DESCRIPTION
● media-julian-DEMETER.mount   loaded failed failed DEMETER
● systemd-modules-load.service loaded failed failed Load Kernel Modules

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

2 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use 'systemctl list-unit-files'.
julian@Cerce ~ $

I assume the Active and Sub FAILED entries are the problem - I'm quick like that! :)
I'll get to the bottom of this if it kills me this time :|

Cheers
Kind regards,

Julian

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