Proxmox NFS

dsexton18

Member
Jul 3, 2023
34
1
8
I am having no luck adding an NFS share from my snology nas. I am able to mount the nfs share from the command line on both 2 nodes my cluster, but not from the web console. Any suggestions?
 
I see this in the logs.
ug 31 18:13:29 pve1 pvestatd[1009]: storage 'nfs_1' is not online
Aug 31 18:13:29 pve1 pvestatd[1009]: status update time (10.419 seconds)
 
You need to provide more information for anyone to be able to assist:
- context of /etc/pve/storage.cfg
- output of : pvesm status
- output of : showmount -e synology_ip
- output of: showmount -a synology_ip
- output of: rpcinfo synology_ip
- command line used to mount manually and resulting output of "mount"
- exact options and steps used in GUI, or corresponding "pvesm" attempt to add the share
- output of "journalctl -f" during addition of the share via PVE interface

this is just to start.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
You need to provide more information for anyone to be able to assist:
- context of /etc/pve/storage.cfg
nfs: nfs_1
export /volume1/pmox
path /mnt/pve/nfs_1
server 192.168.1.18
content backup,rootdir,snippets,vztmpl,images
options vers=4
prune-backups keep-all=1
- output of : pvesm status
nfs_1 nfs active 5616835072 3273485824 2343349248 58.28%
- output of : showmount -e synology_ip
showmount -e 192.168.1.18

rpc mount export: RPC: Timed out

- output of: showmount -a synology_ip
showmount -a 192.168.1.18
rpc mount dump: RPC: Timed out

- output of: rpcinfo synology_ip
100003 2 tcp 0.0.0.0.8.1 nfs superuser
100003 3 tcp 0.0.0.0.8.1 nfs superuser
100003 4 tcp 0.0.0.0.8.1 nfs superuser
100003 2 udp 0.0.0.0.8.1 nfs superuser
100003 3 udp 0.0.0.0.8.1 nfs superuser
100003 2 tcp6 ::.8.1 nfs superuser
100003 3 tcp6 ::.8.1 nfs superuser
100003 4 tcp6 ::.8.1 nfs superuser
100003 2 udp6 ::.8.1 nfs superuser
100003 3 udp6 ::.8.1 nfs superuser

- command line used to mount manually and resulting output of "mount"
mount -t nfs 192.168.1.18:/volume1/pmox /mnt/pve/nfs_1/
root@pve1:~# ls -al /mnt/pve/nfs_1/
total 4
drwxrwxrwx 1 root root 94 Aug 31 16:44 .
drwxr-xr-x 7 root root 4096 Aug 31 18:16 ..
drwxrwxrwx 1 root root 0 Aug 31 16:44 dump
drwxrwxrwx 1 root root 0 Aug 31 16:44 images
drwxrwxrwx 1 root root 0 Aug 31 16:44 private
drwxrwxrwx 1 root root 22 Jul 15 06:59 '#recycle'
drwxrwxrwx 1 root root 0 Aug 31 16:44 snippets
drwxrwxrwx 1 root root 10 Aug 31 16:44 template

- exact options and steps used in GUI, or corresponding "pvesm" attempt to add the share
Datacenter>Storage>ADD>NFS see for other details.
1693658529748.png
1693658566045.png
- output of "journalctl -f" during addition of the share via PVE interface

this is just to start.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
I ran journalctl from one of the nodes.
journalctl -f
Sep 02 07:39:14 pve1 systemd-logind[664]: Session 55 logged out. Waiting for processes to exit.
Sep 02 07:39:14 pve1 systemd-logind[664]: Removed session 55.
Sep 02 07:39:14 pve1 pvedaemon[1053]: <root@pam> end task UPID:pve1:00074182:00CB86E5:64F32C3D:vncshell::root@pam: OK
Sep 02 07:39:24 pve1 pvestatd[1023]: status update time (10.493 seconds)
Sep 02 07:39:34 pve1 pvestatd[1023]: status update time (10.443 seconds)
Sep 02 07:39:45 pve1 pvestatd[1023]: status update time (10.472 seconds)
Sep 02 07:39:55 pve1 pvestatd[1023]: status update time (10.484 seconds)
Sep 02 07:40:06 pve1 pvestatd[1023]: status update time (10.459 seconds)
Sep 02 07:40:16 pve1 pvestatd[1023]: status update time (10.459 seconds)
Sep 02 07:40:27 pve1 pvestatd[1023]: status update time (10.459 seconds)
 
I also the the below on my synology
showmount -e 192.168.1.18
Export list for 192.168.1.18:
/volume1/pmox (everyone)
 
I believe my issue is resolved. I had to check the Allow users to access mounted subfolders box on my synology nas. After that I disabled and enabled NFS and it worked. It seems slow after i click on the NFS share and click VM disk it takes 12 seconds or show to list any VM disks. Is that Normal? Sam for the Summary and other tabs under the NFS share. I am however limited to a 1G connection. Not planning to store vm disk on the NFS share except for slow storage needs.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!