NFS not mounting properly on the Datacentre cluster

Sujith Arangan

Well-Known Member
Jan 15, 2018
39
1
48
37
Hello All,

I have created a cluster of 5 Proxmox VEs together. When I am trying to mount an NFS from another server for live migration between the cluster. It shows not online in the storage. Please help me with this?
 

Attachments

  • Screen Shot 2018-01-30 at 6.39.08 PM.png
    Screen Shot 2018-01-30 at 6.39.08 PM.png
    64.3 KB · Views: 19
I have the exact problem. i tried changing nfs version from 3 to 4, that worked on the master node but not the newly added node. After looking around on the forums i tried what others have such as upgrading the packages, rebooting, all without success. Some assistance with this will be greatly appreciated.

Code:
pveversion -v

proxmox-ve: 5.1-41 (running kernel: 4.13.13-2-pve)
pve-manager: 5.1-46 (running version: 5.1-46/ae8241d4)
pve-kernel-4.13.13-6-pve: 4.13.13-41
pve-kernel-4.13.13-2-pve: 4.13.13-33
corosync: 2.4.2-pve3
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-common-perl: 5.0-28
libpve-guest-common-perl: 2.0-14
libpve-http-server-perl: 2.0-8
libpve-storage-perl: 5.0-17
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 2.1.1-3
lxcfs: 2.0.8-2
novnc-pve: 0.6-4
proxmox-widget-toolkit: 1.0-11
pve-cluster: 5.0-20
pve-container: 2.0-19
pve-docs: 5.1-16
pve-firewall: 3.0-5
pve-firmware: 2.0-3
pve-ha-manager: 2.0-5
pve-i18n: 1.0-4
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.9.1-9
pve-xtermjs: 1.0-2
qemu-server: 5.0-22
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.6-pve1~bpo9


Code:
/etc/pve/storage.cfg

nfs: freenas02-vms
        export /mnt/zfs/vms
        path /mnt/pve/freenas02-vms
        server 192.168.0.42
        content vztmpl,images,iso,rootdir,backup
        maxfiles 5
        nodes node03,node04
        options vers=4


Code:
excerpt from syslog

Mar 06 12:47:02 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
Mar 06 12:47:12 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
Mar 06 12:47:22 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
Mar 06 12:47:32 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
Mar 06 12:47:42 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
Mar 06 12:47:52 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
 
I have the exact problem. i tried changing nfs version from 3 to 4, that worked on the master node but not the newly added node. After looking around on the forums i tried what others have such as upgrading the packages, rebooting, all without success. Some assistance with this will be greatly appreciated.

Code:
pveversion -v

proxmox-ve: 5.1-41 (running kernel: 4.13.13-2-pve)
pve-manager: 5.1-46 (running version: 5.1-46/ae8241d4)
pve-kernel-4.13.13-6-pve: 4.13.13-41
pve-kernel-4.13.13-2-pve: 4.13.13-33
corosync: 2.4.2-pve3
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-common-perl: 5.0-28
libpve-guest-common-perl: 2.0-14
libpve-http-server-perl: 2.0-8
libpve-storage-perl: 5.0-17
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 2.1.1-3
lxcfs: 2.0.8-2
novnc-pve: 0.6-4
proxmox-widget-toolkit: 1.0-11
pve-cluster: 5.0-20
pve-container: 2.0-19
pve-docs: 5.1-16
pve-firewall: 3.0-5
pve-firmware: 2.0-3
pve-ha-manager: 2.0-5
pve-i18n: 1.0-4
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.9.1-9
pve-xtermjs: 1.0-2
qemu-server: 5.0-22
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.6-pve1~bpo9


Code:
/etc/pve/storage.cfg

nfs: freenas02-vms
        export /mnt/zfs/vms
        path /mnt/pve/freenas02-vms
        server 192.168.0.42
        content vztmpl,images,iso,rootdir,backup
        maxfiles 5
        nodes node03,node04
        options vers=4


Code:
excerpt from syslog

Mar 06 12:47:02 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
Mar 06 12:47:12 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
Mar 06 12:47:22 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
Mar 06 12:47:32 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
Mar 06 12:47:42 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported
Mar 06 12:47:52 node04 pvestatd[2035]: mount error: mount.nfs: Protocol not supported


SOLUTION
Got this working. you have to manually configure "/etc/pve/storage.cfg" on all nodes to:
Code:
options vers=3
 

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!