I desperately need some assistance from some experts here to help me with NFS configuration.
I have OMV running on a dedicated server and now I'm setting up a separate Proxmox VE server and wanted to mount a dedicated folder from OMV on Proxmox (primarily for backup purposes).
Here's a brief description of the relevant areas of my network setup:
- All relevant devices are on the same subnet:
- OMV server ("piano") on 192.168.1.10
- Proxmox VE host ("violin") on 192.168.1.11
- My own PC on the same subnet (192.168.1.0/24)
- Router (also acting as DNS) on 192.168.1.1
- All devices connected through an HPE OfficeConnect switch, no filtering on ports applied
Here's what I did in OMV:
- Created a shared folder in OMV ("violin"), on a dedicated disk / EXT4 file system.
- Set permissions to 777.
- Enabled NFS service
- Created an NFS share with default parameters
Now, my problems started when I tried to do showmount -e 192.168.1.10 from Proxmox VE shell. Eventually it did return the shares, but it took ~5 mins to do so. When I tried to mount anything, it just timed out.
Since I only have access to Proxmox as a Linux client, I've installed NFS Client Services on my own Win11 PC, for debugging purposes. Then I tried showmount -e 192.168.1.10 from the Windows terminal, and voila, it immediately returned the shares:
However, when I try to mount with mount -o anon \\192.168.1.10\export\violin y:, it timeouts with Network error 53 (The network path was not found) after ~2 mins of trying.
Here's what I've tried so far to fix this, unfortunately none of them worked:
- Reset permissions on the shared folder (777)
- Disable / re-enable NFS service (rebooting OMV in between)
- Disabling different flavors of NFS (3, 4.x etc.), rebooting OMV between changes
- Adding a dedicated user with UID=1010 GID=100, explicitly giving this user access to the shared folder, and using all_squash / anonuid / anongid options in the NFS share parameters to map any user to this specific uid.
As far as I can tell, everything seems to be working from OMV side, but unfortunately I'm no expert...
Anyhow, here are the (hopefully) relevant dumps from OMV:
~# cat /etc/exports
# This file is auto-generated by openmediavault (https://www.openmediavault.org)
# WARNING: Do not edit this file, your changes will get lost.
# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/export/violin *(fsid=076d9aa1-321a-4049-a9a4-88763d95b877,rw,subtree_check,insecure)
# NFSv4 - pseudo filesystem root
/export *(ro,fsid=0,root_squash,no_subtree_check,hide)
~# rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 42036 status
100024 1 tcp 34143 status
100005 3 udp 51470 mountd
100005 3 tcp 56375 mountd
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 3 tcp 2049
100003 3 udp 2049 nfs
100227 3 udp 2049
100021 1 udp 60678 nlockmgr
100021 3 udp 60678 nlockmgr
100021 4 udp 60678 nlockmgr
100021 1 tcp 44345 nlockmgr
100021 3 tcp 44345 nlockmgr
100021 4 tcp 44345 nlockmgr
Display More
~# sudo systemctl status nfs-server.service
● nfs-server.service - NFS server and services
Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor preset: enabled)
Active: active (exited) since Sat 2023-10-21 16:19:09 CEST; 27min ago
Main PID: 22359 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 38274)
Memory: 0B
CPU: 0
CGroup: /system.slice/nfs-server.service
Oct 21 16:19:08 piano systemd[1]: Starting NFS server and services...
Oct 21 16:19:09 piano systemd[1]: Finished NFS server and services.
Display More
What am I doing wrong?
Any help would be greatly appreciated.