since upgrade to pve 6.1 (it was working fine with 6.0) we've the problem that nfs mounts are using random source ip/interfaces and not the one in the same vlan.
our current config looks like this:
and here is the mount output:
as you can see first mount (sto-nas-01_pvmfs) is working as expected and uses the correct int/ip for the same vlan.
the second one although not - it us using the int/ip of the bridge interface although it has an interface sitting in the same vlan.
we've multiple pve servers with the same network config and accessing the same storage, and with some it is exactly the other way around, or all mounts are correct, or all aren't correct - totally random.
there's a nfs4 mount option
does anybody have the same problem or know a workaround to this ?
our current config looks like this:
pve-manager/6.1-7/13e58d5e (running kernel: 5.0.21-5-pve)
Code:
# /etc/pve/storage.cfg
nfs: sto-nas-02_pvmfs
server 10.0.11.2
export /mnt/tank/pvmfs
path /mnt/pve/sto-nas-02_pvmfs
content images, vztmpl, rootdir, backup
maxfiles 1
options noatime,noacl,sync
nfs: sto-nas-01_pvmfs
server 10.0.11.1
export /mnt/tank/pvmfs
path /mnt/pve/sto-nas-01_pvmfs
content images, vztmpl, rootdir, backup
maxfiles 1
options noatime,noacl,sync
Code:
# /etc/network/interfaces
## STORAGE
auto enp9s0.11
iface enp9s0.11 inet static
address 10.0.11.3
netmask 255.255.255.128
## MGMT
iface enp9s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 10.0.100.33
netmask 255.255.255.0
gateway 10.0.100.254
bridge_vlan_aware yes
bridge_ports enp9s0
bridge_stp off
bridge_fd 0
and here is the mount output:
Code:
10.0.11.1:/mnt/tank/pvmfs on /mnt/pve/sto-nas-01_pvmfs type nfs4 (rw,noatime,sync,vers=4.1,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.11.3,local_lock=none,addr=10.0.11.1)
10.0.11.2:/mnt/tank/pvmfs on /mnt/pve/sto-nas-02_pvmfs type nfs4 (rw,noatime,sync,vers=4.1,rsize=131072,wsize=131072,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=10.0.100.33,local_lock=none,addr=10.0.10.20)
as you can see first mount (sto-nas-01_pvmfs) is working as expected and uses the correct int/ip for the same vlan.
the second one although not - it us using the int/ip of the bridge interface although it has an interface sitting in the same vlan.
we've multiple pve servers with the same network config and accessing the same storage, and with some it is exactly the other way around, or all mounts are correct, or all aren't correct - totally random.
there's a nfs4 mount option
clientaddr
which I think could solve the problem but as the storage.cfg is a clusterwide file I can't put node specific ip address as a mount option.does anybody have the same problem or know a workaround to this ?