I have always had the variable set RPCMOUNTDOPTS="-p 32767" in /etc/default/nfs-kernel-server to allow me to define the NFS port and allow it though a firewall.
I updated OMV today and it seems every time I make a change to an NFS share now, the /etc/default/nfs-kernel-server file is overwritten back to default and I loose my static port.
I tried to stop root over writing the file #chattr +i /etc/default/nfs-kernel-server but the GUI throws an error with this set.
If I administer my shares from CLI, I presume that OMV wont overwrite the file? Or is there another way to fix this?