Hi, I have a 'fun' question.
I am trying to mount NFS export to a proxmox host. They are both in 'public' (OVH) hosting so I've setup firewall rules on the NFS server to restrict access to NFS server suitably / allow access only to this client /and restrict ports used to simplify firewall rules.
I can manually mount the NFS export on proxmox command line, thus:
I can then manually setup a proxmox 'directory' type storage and use this and it works fine. But this is horribly kludge klunky.
If I try to add it via the Storage>Add>NFS GUI then I proceed, I tell it advance > NFS version 4.2 > and specify all things correctly. And it gives me error, storage is not online (500)
In my CLI I can confirm that things look OK also thus:
I am just wondering if this sounds familiar in any way to anyone.
it is driving me up the wall.
Thanks!
Tim
I am trying to mount NFS export to a proxmox host. They are both in 'public' (OVH) hosting so I've setup firewall rules on the NFS server to restrict access to NFS server suitably / allow access only to this client /and restrict ports used to simplify firewall rules.
I can manually mount the NFS export on proxmox command line, thus:
Code:
(note IP addresses are fuddled to make less obvious my real public IPs involved)
root@proxmox:/etc/pve# mount 158.99.209.99:/export /mnt/pve/nfs-tank2
root@proxmox:/etc/pve# df -h
Filesystem Size Used Avail Use% Mounted on
udev 16G 0 16G 0% /dev
tmpfs 3.2G 345M 2.8G 11% /run
/dev/md1 20G 5.2G 13G 29% /
tmpfs 16G 40M 16G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 16G 0 16G 0% /sys/fs/cgroup
/dev/mapper/pve-data 1.8T 902G 817G 53% /var/lib/vz
/dev/fuse 30M 28K 30M 1% /etc/pve
tmpfs 3.2G 0 3.2G 0% /run/user/0
158.99.209.99:/export 1.6T 76M 1.6T 1% /mnt/pve/nfs-tank2
and also
root@proxmox:/mnt/pve/nfs-tank2# mount
sysfs on /sys type sysfs (rw,relatime)
....
158.99.209.99:/export on /mnt/pve/nfs-tank2 type nfs4 (rw,relatime,vers=4.2,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=199.99.99.99,local_lock=none,addr=158.99.209.99)
I can then manually setup a proxmox 'directory' type storage and use this and it works fine. But this is horribly kludge klunky.
If I try to add it via the Storage>Add>NFS GUI then I proceed, I tell it advance > NFS version 4.2 > and specify all things correctly. And it gives me error, storage is not online (500)
In my CLI I can confirm that things look OK also thus:
Code:
root@proxmox8:/mnt/pve/nfs-tank2# rpcinfo -p 158.99.209.99
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
100005 1 udp 2000 mountd
100005 1 tcp 2000 mountd
100005 2 udp 2000 mountd
100005 2 tcp 2000 mountd
100005 3 udp 2000 mountd
100005 3 tcp 2000 mountd
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100227 3 tcp 2049
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100227 3 udp 2049
100021 1 udp 2002 nlockmgr
100021 3 udp 2002 nlockmgr
100021 4 udp 2002 nlockmgr
100021 1 tcp 2001 nlockmgr
100021 3 tcp 2001 nlockmgr
100021 4 tcp 2001 nlockmgr
root@proxmox:/mnt/pve/nfs-tank2#
I am just wondering if this sounds familiar in any way to anyone.
it is driving me up the wall.
Thanks!
Tim