How to configure NFS on local server ?

JMg06

New Member
Apr 19, 2019
3
0
1
60
Hello everybody,
sorry if my english is not very very good, but I don't use automatic translation.

I have two new servers (Dell R740) with one storage on RAID1 (SSD) for the system and a second on RAID5 (SATA) for the datas (VM, ...) and Proxmox 6.1 on each. The cluster is not mounted actually.

I should want to have on each host the storage shared into the cluster. For example : datastorea and datastoreb. It's to migrate easely the VM from a host to the other.

After looking for a solution (many weeks) I haven't find nothing. I have tried NFS on local but it doesn't work.

Do you know something to help me ?

Bets regards from Nice ;)
 
When you do a live migration to another node in the cluster you can select the target storage.

If you have just two nodes you could also benefit from using ZFS for your storage and then use the replication feature [0].

Exposing the local storage as NFS to the other node does not really get you far. The setup seems to be tricky and in the worst case you need both nodes running.

Another hint: If you run a 2 node cluster it is good to have a third device as arbiter to get a quorum even if one node is down. The mechanism that works with Proxmox VE is called a QDevice. Basically a service that you can install on a Raspberry Pi or another server that is not part of your cluster. More can be found in our documentation [1]

[0] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#chapter_pvesr
[1] https://pve.proxmox.com/pve-docs/pve-admin-guide.html#_corosync_external_vote_support