PVESM cannot mount my NFS share

Eric Fossum

Member
Mar 30, 2018
3
0
6
38
I can mount my NFS share using mount, but if I try to use pvesm I get an "is not online" message. This worked before I updated the FreeNAS file server and Proxmox, so it's probably related to that, but I don't know which is broken let alone where.

Code:
root@prox:/mnt/pve# ip addr show vmbr0
6: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 44:1e:a1:04:be:9e brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.3/24 brd 192.168.1.255 scope global vmbr0
       valid_lft forever preferred_lft forever
    inet6 fe80::461e:a1ff:fe04:be9e/64 scope link
       valid_lft forever preferred_lft forever
root@prox:/mnt/pve# umount nfs
umount: nfs: not mounted
root@prox:/mnt/pve# ls nfs
root@prox:/mnt/pve# pvesm add nfs proxmox --server=192.168.1.10 --export=/mnt/storage/proxmox --path=/mnt/pve/test --options="vers=4.1"
create storage failed: error with cfs lock 'file-storage_cfg': storage 'proxmox' is not online
root@prox:/mnt/pve# showmount -e 192.168.1.10
Export list for 192.168.1.10:
/mnt/storage/proxmox 192.168.1.3
/mnt/storage/osmc    (everyone)
/mnt/storage/backups 192.168.1.0
/mnt/storage/main    192.168.1.0
/mnt/storage/dvr     192.168.1.14
root@prox:/mnt/pve# mount -t nfs -v -o vers=4.1 192.168.1.10:/mnt/storage/proxmox /mnt/pve/nfs
mount.nfs: timeout set for Mon Dec 31 07:57:24 2018
mount.nfs: trying text-based options 'vers=4.1,addr=192.168.1.10,clientaddr=192.168.1.3'
root@prox:/mnt/pve# ls nfs
root@prox:/mnt/pve# touch nfs/asd
root@prox:/mnt/pve# ls nfs
asd
root@prox:/mnt/pve# umount nfs
root@prox:/mnt/pve# ls nfs
root@prox:/mnt/pve#

Is there anything I'm missing here? I usually have a hard time with NFS for some reason, but this seems broken to me.

For what it's worth I get the same message when trying to mount CIFS as well.

Kernel Version

Linux 4.15.18-9-pve #1 SMP PVE 4.15.18-30 (Thu, 15 Nov 2018 13:32:46 +0100)

Machine info:
Kernel Version: Linux 4.15.18-9-pve #1 SMP PVE 4.15.18-30 (Thu, 15 Nov 2018 13:32:46 +0100)
PVE Manager Version: pve-manager/5.3-6/37b3c8df
 
Hi,

if you get this message this call does not work.
You have to fix this on the freeNAS side.

Code:
/sbin/showmount --no-headers --exports <server>
 
Hi,

if you get this message this call does not work.
You have to fix this on the freeNAS side.

Code:
/sbin/showmount --no-headers --exports <server>

I'm not sure I fully understood your message. Fix what on the FreeNAS side?

The command you gave is basically what I used to show exports.

ericfoss@prox:~$ /sbin/showmount --no-headers --exports 192.168.1.10
/mnt/storage/proxmox 192.168.1.3
/mnt/storage/osmc (everyone)
/mnt/storage/backups 192.168.1.0
/mnt/storage/main 192.168.1.0
/mnt/storage/dvr 192.168.1.14
ericfoss@prox:~$

Are you seeing some error in this output?
 

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!