Nfs share suddenly not mounted anymore | mnt: No such device

Hello!
since the dawn of time i have mounted my nfs share with this fstab entry:

192.168.178.222:/mnt/user/videos /mnt nfs x-systemd.automount,noauto,user,rw 0 0

yesterday i have rebooted my vero4k and now i can’t access the mounted files… well, they aren’t there anymore:

osmc@osmc:/$ cd mnt
-bash: cd: mnt: No such device
osmc@osmc:/$ mount -f
devtmpfs on /dev type devtmpfs (rw,relatime,size=1014148k,nr_inodes=253537,mode=755)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /run type tmpfs (rw,relatime)
/dev/mapper/vero--nand-root on / type ext4 (rw,relatime,stripe=1024,data=ordered)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10695)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
sunrpc on /run/rpc_pipefs type rpc_pipefs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
systemd-1 on /mnt type autofs (rw,relatime,fd=48,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=10917)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=203588k,nr_inodes=50897,mode=700,uid=1000,gid=1000)
osmc@osmc:/$ ls -l
total 64
lrwxrwxrwx   1 root root     7 Jan  1  2017 bin -> usr/bin
drwxr-xr-x   2 root root  4096 Sep 19 19:57 boot
drwxr-xr-x  16 root root  6960 Oct 27 20:56 dev
drwxr-xr-x  80 root root  4096 Oct 27 21:08 etc
drwxr-xr-x   3 root root  4096 Jan  1  2017 home
lrwxrwxrwx   1 root root     7 Jan  1  2017 lib -> usr/lib
drwxr-xr-x   2 root root  4096 Aug 16  2021 lib64
drwx------   2 root root 16384 Jan  1  2017 lost+found
drwxr-xr-x   2 root root  4096 Sep 19 19:56 media
drwxr-xr-x   2 root root     0 Oct 27 20:56 mnt
drwxr-xr-x   4 root root  4096 Jan  1  2017 opt
dr-xr-xr-x 180 root root     0 Jan  1  1970 proc
drwx------   3 root root  4096 Apr 13  2022 root
drwxrwxrwt  25 root root   800 Oct 27 21:15 run
lrwxrwxrwx   1 root root     8 Jan  1  2017 sbin -> usr/sbin
drwxr-xr-x   2 root root  4096 Aug 16  2021 selinux
drwxr-xr-x   2 root root  4096 Oct  6  2021 srv
dr-xr-xr-x  13 root root     0 Oct 27 20:55 sys
drwxrwxrwt  10 root root  4096 Oct 27 21:13 tmp
drwxr-xr-x  14 root root  4096 Sep 19 19:57 usr
drwxr-xr-x  11 root root  4096 Jan  1  2017 var
-rw-r--r--   1 osmc osmc     0 Apr  9  2022 walkthrough_completed
osmc@osmc:/$ ls -l /mnt
ls: cannot open directory '/mnt': No such device
osmc@osmc:/$

what happened?

Hi,

Please provide the output of:

showmount -e 192.168.178.222

&

sudo mount -v /mnt

Thanks Tom.

osmc@osmc:~$ sudo mount -v /mnt
mount.nfs: timeout set for Thu Oct 27 23:10:57 2022
mount.nfs: trying text-based options 'vers=4.2,addr=192.168.178.222,clientaddr=192.168.178.94'
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 192.168.178.222:/mnt/user/videos

hmm. couldn’t find anything on the server. so what to do? exactly: reboot server.
works angain :grimacing: :zipper_mouth_face:

sorry for the trouble…

1 Like