Different NFS options on mounted exports

alj

New Member
Oct 9, 2018
10
0
1
52
Hello,

I have NFS exports being presented from two different NAS devices. One an IBM SONAS and one a Netapp FAS9000. Both were defined using the GUI.

Both have different rsize and wsize on the CLI when looking at their mounts.

I know how to override the settings. What I'm curious about is, if they were set the same method (GUI), why would there be different options passed to the mount parameter?

Thanks,

Al
 
Hi,

we do not set the wsize/rsize they are autodetected so I don't know why this two storage has this sizes.
Or do you use the override with the /etc/nfsmount.conf file setting?

Here from the man
Code:
The wsize mount option as specified on the mount(8) command line appears in the /etc/mtab file. However, the effec‐
                      tive wsize value negotiated by the client and server is reported in the /proc/mounts file.
 
Hello Wolfgang,

We aren't overriding any mount options in the /etc/nfsmount.conf option. What we are seeing is that backups running to these two NAS are running at different speeds. It's the only thing we could find on the proxmox cluster that's different.

Code:
md-sonas:/ibm/gpfs0/proxmox on /mnt/pve/md-sonas type nfs (rw,relatime,vers=3,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=172.31.31.35,mountvers=3,mountport=32767,mountproto=udp,local_lock=none,addr=172.31.31.35)
172.25.34.11:/proxmox_data_1 on /mnt/pve/md-netapp type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=172.25.34.11,mountvers=3,mountport=635,mountproto=udp,local_lock=none,addr=172.25.34.11)
172.25.34.12:/vol_15102018_085559_69 on /mnt/pve/mannynetapp type nfs (rw,relatime,vers=3,rsize=65536,wsize=65536,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=172.25.34.12,mountvers=3,mountport=635,mountproto=udp,local_lock=none,addr=172.25.34.12)


I'll try changing the mount options in /etc/nfsmount.conf and see if that makes a difference in the backup performance.

Thanks,

Al
 
I do not have a file called /etc/nfsmount.conf. Do I need to create it?
 
I created the file and put into it:
Code:
[ Server "172.25.34.11" ]
 rsize=1m
 wsize=1m

Also tried:
Code:
[ Server "172.25.34.11" ]
 rsize=1048576
 wsize=1048576

I've also added to /etc/pve/storage.cfg:
Code:
nfs: md-netapp
        export /proxmox_data_1
        path /mnt/pve/md-netapp
        server 172.25.34.11
        content iso,backup
        maxfiles 7
        options vers=3,rsize=1048576,wsize=1048576

Neither are making a difference. I've umounted the export and it remounts. I rebooted the node and it still came back at 65536.
 

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!