Proxmox cluster and NFS

pvpaulo

Member
Jun 15, 2022
15
0
6
Good afternoon everyone
I have 2 proxmox in cluster
and a shared storage using nfs
but I have a problem because both servers were mounting the storage correctly but proxmox 01 is ok but proxmox02 is not mounting the nfs storage
Would you know if there are any limitations?
On the storage I am using truenas scale, I checked on truenas and it is enabled correctly as it only stopped mounting on proxmox 02

What I verified in the next step is that the assembly process, example
mount -t nfs <ipserver>



And there are the assembly processes I execute:
ps aux | grep mount


The cluster only starts working again when I kill these assembly processes
Has anyone ever caught this error?
 
Test first with manual mount (before search in pve why doesn't work) - with nfs auto-defaults, eg like temp. to /net (there but normally empty):
mount <nfsserver:/export/path> /net
df ?
 
I'm trying to manually mount:

mount -t nfs <ip>:<shared> /mnt/teste

However, it doesn't work, it freezes and the process freezes.
 
this is my mount with -v:
mount -t nfs 20.0.0.10:/mnt/diskVM /mnt/teste/ -v
mount.nfs: timeout set for Fri Dec 13 15:59:09 2024
mount.nfs: trying text-based options 'vers=4.2,addr=20.0.0.10,clientaddr=20.0.0.12'



telnet 20.0.0.10 2049
Trying 20.0.0.10...
Connected to 20.0.0.10.
Escape character is '^]'.
^CConnection closed by foreign host.


telnet 20.0.0.10 111
Trying 20.0.0.10...
Connected to 20.0.0.10.
Escape character is '^]'.
 
showmount -e 20.0.0.10

it might be a v3/v4 issue as well; this server is defaulting to v4. v4 paths would normally look like
Code:
mount -t nfs 20.0.0.10:/diskVM /mnt/teste/

you can also try to mount v3 explicit like so:
Code:
mount -t nfs -o nfsvers=3 20.0.0.10:/mnt/diskVM /mnt/teste

Lastly, 20.0.0.10 is a real IP address. If that is an external facing IP, I would strongly advise you to stop doing that. If it isnt, use addressing in the RFC allowed ranges (https://www.rfc-editor.org/rfc/rfc1918)
 
Last edited:
  • Like
Reactions: LnxBil

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!