Libro sobre Proxmox maestria
Proxmox Under the Hood server 192.168.145.11 export /mnt/pmxnas01 options vers=3 content iso, vztmpl maxfiles 1
Now, we will explain the individual lines of the previous code.
The following line is an NFS storage type with the name ISO-nfs-01. We can provide any alphanumeric name. But a meaningful name helps to easily identify the purpose of the storage. In this instance, the name represents an NFS share, which holds ISO files:
The NFS share is mounted on all nodes present in the path /mnt/pve/ISO-nfs-01, as shown in the following code:
path /mnt/pve/ISO-nfs-01
The address in the following line is the NFS server IP address:
The path in the following line is the path where the actual NFS share is mounted on the NFS server:
By default, Proxmox uses NFS Version 3 due to its maturity and stability as shown in the following line:
There is no clear performance advantage to moving from NFSv3 to NFSv4. There is no option to change to NFSv4 through GUI. It has to be done through CLI by editing the storage.cfg file. Change the vers option to 4 to use NFSv4. NFSv4 does add some new improvements in Version 3. The following table shows a comparison between NFSv3 and NFSv4: