[SOLVED] Change NFSv3 to NFSv4 without reboot

gbr

Well-Known Member
May 13, 2012
125
2
58
Hi,

I've created an NFS store for Images and Backups. Proxmox, of course, mounted the new storage as NFSv3. I went into /etc/pve/storage.cfg to change it to NFSv4 (vers=4). After some searching here, I couldn't find the answer to my question.

How do I get Proxmox to re-mount the storage, without rebooting the server?

Gerald

ps: any idea when we'll get NFSv4 implemented?
 
Last edited:
Re: Change NFSv3 to NFSv4 without reboot

I answered my own question. Sometime I forget it's all Linux underneath.

I umounted the NFSv3 partition on each server in the cluster, and then mounted them again with vers=4


# umount /mnt/pve/NFS_FAILOVER_RAID1
# mount -o 'rw,relatime,vers=4,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys' 192.168.20.100:/proxmox /mnt/pve/NFS_FAILOVER_RAID1


fsyncs/second dropped a tad, but write throughput increased.

NFSv3:
fsyncs/second: 1366.35
# dd of=/dev/zero of=/tmp/dd.out bs=8k count=1000k
838860800 bytes (8.4 GB) copied 200.1 s, 42.1 MB/s

NFSv4
fsyncs/second: 1184.91
# dd of=/dev/zero of=/tmp/dd.out bs=8k count=1000k
838860800 bytes (8.4 GB) copied 88.17 s, 95,1 MB/s



Gerald
 

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!