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.
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
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