/NFS has reached the maximum number of supported volumes

NFS has reached the maximum number of supported volumes

When I try to add a new NFS Volume to one of the ESXi hosts, I get NFS has reached the maximum number of supported volumes.

There is a long time that I don’t see this error(maybe since vSphere 5.5/6.0).

NFS has reached the maximum number of supported volumes

This means that the number of NSF volumes that are set in your ESXi host configuration has exceeded. By default, the maximum is 8.

These are the maximums that you can set in your ESXi host in Advanced configuration.

  • ESXi/ESX 3.x     : Set NFS.MaxVolumes to 32
  • ESXi/ESX 4.x     : Set NFS.MaxVolumes to 64
  • ESXi 5.0/5.1/5.5 : Set NFS.MaxVolumes to 256
  • ESXi 6.0/6.7/7.0 : Set NFS.MaxVolumes to 256

To fix this, we just need to go to the ESXi host that you receive the error, select Configuration tab, and in System – Advanced System Settings, edit and change the value for NFS.MaxVolumes.

Note: In filter in the right corner, type NFS to make it easy to find the option.

Changing the maximum volumes that are allowed in your ESXi host, you need also to check Net.TcpipHeapMax.

The maximum amount of heap memory, measured in megabytes, which can be allocated for managing VMkernel TCP/IP network connectivity. When increasing the number of NFS datastores, increase the maximum amount of heap memory as well, up to the maximum specific to the version of ESXi/ESX host:

    • ESXi/ESX 3.x : Set Net.TcpipHeapMax to 120
    • ESXi/ESX 4.x: Set Net.TcpipHeapMax to 128
    • ESXi 5.0/5.1: Set Net.TcpipHeapMax to 128
    • ESXi 5.5: Set Net.TcpipHeapMax to 512

For ESXi 6.0 and ESXi 6.7, the default value for Net.TcpipHeapMax is 512M, and for ESXi 7.0, it is 1024M, which is sufficient and need not be increased further.  These settings enable the maximum number of NFS mounts for vSphere ESXi/ESX.

Note: Changing Net.TcpipHeapSize and/or Net.TcpipHeapMax requires a host reboot for the changes to take effect.

I hope this information was useful.

Note: Share this article if you think it is worth sharing. If you have any questions or comments, comment here or contact me on Twitter.

©2020 ProVirtualzone. All Rights Reserve
By | 2020-06-18T10:38:53+02:00 June 18th, 2020|VMware Posts|0 Comments

About the Author:

I have over 20 years of experience in the IT industry. I have been working with Virtualization for more than 15 years (mainly VMware). I recently obtained certifications, including VCP DCV 2022, VCAP DCV Design 2023, and VCP Cloud 2023. Additionally, I have VCP6.5-DCV, VMware vSAN Specialist, vExpert vSAN, vExpert NSX, vExpert Cloud Provider for the last two years, and vExpert for the last 7 years and a old MCP. My specialties are Virtualization, Storage, and Virtual Backup. I am a Solutions Architect in the area VMware, Cloud and Backup / Storage. I am employed by ITQ, a VMware partner as a Senior Consultant. I am also a blogger and owner of the blog ProVirtualzone.com and recently book author.

Leave A Comment