Error with nfs share

bibax

New Member
May 3, 2013
28
0
1
Hello,

This is what I did an it worked well but after a reboot, I have an issue :
On my seconde node :
# aptitude install nfs-kernel-server
# vi /etc/exports
/mnt/share 192.168.1.51(rw,insecure,async,no_subtree_check)
# exportfs -r

On the first node, with the Web GIUI, I mounted a nfs share and I did backup on.

But after reboot, when I go on backup share on the GUI, I have an error 500 (internal error).
With a df -h, I see that my share is not mounted.
I try to do it with GUI and it doesn't work....
I try to mount nfs share with command line and I have this message :
mount.nfs: access denied by server while mounting 192.168.1.52:/mnt/share

With a # showmount -e 192.168.1.52 :

Export list for 192.168.1.52:
/mnt/share 192.168.1.51

I tested to mount nfs server on the first node and mount it on the second node and I have exactly same error...
I don't know what happened after this reboot...

Can you help me to do this or give an advice for nfs share with proxmox?

Thank you for your reply!
 
Ok

I don't know why but this is my network configuration :
node 1 :
192.168.1.51 : vmbr0 on bond0
192.168.1.53 : bond0 (eth4 eth5)
192.168.1.54 : bond1 (eth0 eth1)

node 2 :
192.168.1.52 : vmbr0 on bond0
192.168.1.56 : bond0 (eth4 eth5)
192.168.1.57 : bond1 (eth0 eth1)

I can mount nfs share with an export from node 2 to .54 but not to .51.
/etc/export : /mnt/share 10.9.9.54(rw,insecure,async,no_subtree_check) works well
/mnt/share 10.9.9.51(rw,insecure,async,no_subtree_check) doesn't work
/mnt/share *(rw,insecure,async,no_subtree_check) works well

Why can I mount from an interface but not from an other?
I really want to know that because if my bond1 interface is down, I want to always have my nfs share mounted.

Is there a process between bond interface on proxmox that I don't know (master/slave? , cannot have 2 bond interface in same network?)
 

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!