Hi all,
I have OMV running on RPI4. I have LUKS HDD connected to it. I have configured SMB and NFS shares (HDD root dir for both).
On Ubuntu clients (two very similar laptops) I occasionally have had issues with accessing NFS share after OMV restart. I think it was something to do with a cache or something as it usually came back after 48 hours or so.
Last time it didn't, so I need your help please.
OMV is IP 192.168.1.140 and hostname "rpi4". On my client machine an NFS part of /etc/fstab looks like that:
192.168.1.140:/export/shared /mnt/shared nfs auto,defaults,noatime,nodiratime,nolock,intr,tcp,actimeo=1800,_netdev,retry=3,nfsvers=3,rsize=65536,wsize=65536 0 0
Tried also with nfsvers=4
Or manually:
sudo mount -t nfs rpi4:/export/shared /mnt/shared
then
df -h
I can see a line:
192.168.1.140:/export/shared 30G 2.2G 26G 8% /mnt/shared
which looks like OMV root fs (2.2GB used of 32GB card), not my HDD with data.
Obviously /mnt/shared exists on both laptops.
The below command:
rpcinfo -p rpi4| grep nfs
give me below result:
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100003 3 udp 2049 nfs
showmount -e rpi4
gives me:
Export list for rpi4:
/export 192.168.1.0/24
/export/shared 192.168.1.0/24
Also this:
showmount -a rpi4
gives me the result as below:
All mount points on rpi4:
192.168.1.111:/export/shared/backups/moode
192.168.1.111:/export/shared/mp3
192.168.1.196:/export/shared
192.168.1.63:/export/shared
Ubuntu laptops are IPs ...1.196 and ...1.63.
IP ...1.111 is my moOde RPI player (mp3 / online radio, etc), but it's down at the moment (SD card failed).
The SMB share works fine on Windows and Linux on two similar laptops
Any ideas how to make NFS to work too?
EDIT:
Managed to restore mo0de from a recent backup to a new SD card. It also has problems to connect to an NFS share with music.
I can see this in mo0de logs:
20220817 232028 sourceMount(): Mount error: (mount.nfs: mounting 192.168.1.140:/export/shared/mp3 failed, reason given by server: No such file or directory)
20220817 232028 sourceMount(): Mount error: (mount.nfs: mounting 192.168.1.140:/export/shared/backups/moode/ failed, reason given by server: No such file or directory)
EDIT 2:
Forgot to mention that currently I use latest OMV v6 (upgraded from v5, not a fresh install), but previously had the same issue with v5 as well if that helps.