NFS server is activating

Ivan Gersi

Renowned Member
May 29, 2016
83
7
73
54
I have DRBD in 2 nodes in 5 nodes cluster and I`d like share it via NFS.
I did it a few months ago and it is working corretlly.
I was only test array so I forgot for it and today I wanted make some tests and I can see drbd has only 90GB, not 1.7TB.
Ok I tried to redig my config and my cluster going to shadow mode (with question mark).
I had to restart pvestatd in all nodes.
Now I can`t run nfs server because he is in activating mode all the time.
Code:
Aug 29 15:24:39 pve5 systemd[1]: Starting Preprocess NFS configuration...
Aug 29 15:24:39 pve5 systemd[1]: Started Preprocess NFS configuration.
Aug 29 15:24:39 pve5 systemd[1]: Starting NFSv4 ID-name mapping service...
Aug 29 15:24:39 pve5 systemd[1]: Starting NFS Mount Daemon...
Aug 29 15:24:39 pve5 systemd[1]: Started NFSv4 ID-name mapping service.
Aug 29 15:24:39 pve5 rpc.mountd[18952]: Version 1.3.3 starting
Aug 29 15:24:39 pve5 systemd[1]: Started NFS Mount Daemon.
Aug 29 15:24:39 pve5 systemd[1]: Starting NFS server and services...

My /etc/exports


Code:
/mnt/pve/DRBD_SSD       192.168.3.76(rw,sync,no_root_squash,no_subtree_check) 192.168.3.78(rw,sync,no_root_squash,no_subtree_check) 192.168.2.200(rw,sync,no_root_squash,no_subtree_check) 192.168.3.75(rw,sync,no_root_squash,no_subtree_che
ck)

!st question is why is my nfs is in activating and not running mode.
2nd question is...what is the best practice to share DRBD array from 2 nodes over all nodes in cluster?
I thought NFS is the best way, but NFS service is fixed for IP and if node will be down array will be off too (Ok I can change IP in NFS sharing for another node from DRBD array).
Can I share DRBD around the cluster via another way?
 

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!