NFS shares mounted on some hosts but not others

arcaeus

Member
Apr 20, 2022
12
2
8
Hello,

Currently, I have 5 NFS shares from an Unraid host being shared to my Proxmox cluster. These shares are AppData, Archives, Backups, ISOs, and VM-Datastore. All hosts run 24/7 with a UPS backup in my rack.

For some reason, the shares are mounted to some hosts but not others (see attached). All shares were connected to all hosts with no problem last night, but the disconnected shares are now giving me this error:

Code:
unable to activate storage 'VM-Datastore' - directory '/mnt/pve/VM-Datastore' does not exist or is unreachable (500)

I added these shares via the GUI last night and confirmed that they could read and write data to the share. All Proxmox hosts are running PVE 7.1-12 and should have all the latest updates that the GUI updater sees.

On Unraid, the share is set to Private, with this rule: 192.168.2.50(sec=sys,rw) 192.168.2.51(sec=sys,rw) 192.168.2.52(sec=sys,rw) 192.168.2.53(sec=sys,rw)

Possibly related: My servers have multiple ethernet cables connected to them through multiport NICs. These multiple interfaces are set up in a bond on each respective host (the config below I got from TechnoTIm's Proxmox setup video on YouTube). All hosts have a nearly identical config file, with the only difference being the extra network ports included in the bond should the host have more.

I set up my Ubiquiti USW-Pro-48 switch with link aggregation on the respective ports and this has otherwise been working great. Unfortunately, I had to RMA the switch and am waiting on the replacement to arrive this coming Monday 4/25. Until then, I had to use my backup switch, which is a Quanta LB4A 48-port. I currently haven't set up any link aggregation on that, so not sure if that is interfering here or not. I have no problem connecting via the webGUI or SSH.

Also possibly related: I have a physical disk in Prox-1 that I'm using for local backups. In the Datacenter > Storage tab, I have the "localbackup" directory set to shared=yes and enabled=yes, but it is still unreachable from the other hosts.

Currently there is nothing in /etc/fstab/. I would like to mount these shares "permanently" so that they reconnect automatically should I need to restart the hosts. All hosts are set to static IPs, and will not need to be changed. Advice or links to a walkthrough on the best way to set this up would be appreciated.


Any ideas why these shares are not connecting? I did see this post about setting a cron job to reconnect the shares if they stall out:
https://forum.proxmox.com/threads/n...-turn-on-or-restart-the-nas.29900/post-190524
Is this the best way to do this, or what is the preferred method?


Here is the
Code:
/etc/network/interfaces
file:

Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

iface bond0 inet manual
        bond-slaves eno1 eno2
        bond-miimon 100
        bond-mode 802.3ad
        bond-xmit-hash-policy layer2+3

auto vmbr0
iface vmbr0 inet static
       address 192.168.2.50/24
       gateway 192.168.2.1
       bridge-ports bond0
       bridge-stp off
       bridge-fd 0
       bridge-vlan-aware yes
       bridge-vids 2-4094

#auto vmbr0
#iface vmbr0 inet static
#       address 192.168.2.50/24
#       gateway 192.168.2.1
#       bridge-ports eno1
#       bridge-stp off
#       bridge-fd 0
#       bridge-vlan-aware yes
#       bridge-vids 2-4094



Please let me know what other information you need or what I have left out. I'm still new to Proxmox but want to learn more about it.
 

Attachments

  • NFS shares not connecting.png
    NFS shares not connecting.png
    40.8 KB · Views: 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!