4.1. Mounting NFS Exports on Linux¶
You can mount an NFS export created in Virtuozzo Infrastructure Platform like any other directory exported via NFS. You will need the share IP address (or hostname) and the volume identifier.
In console, run a command like the following:
# mount -t nfs -o vers=4.0 192.168.0.51:/<share_name>/ /mnt/nfs
-o vers=4.0is the NFS version to use.
To use pNFS, change
-o vers=4.1. In all other cases, make sure to always specify NFS version 4.0 or newer.
192.168.0.51is the share IP address. You can also use the share hostname.
/<share_name>/is the root export path. For user exports, specify their full path, for example:
/mnt/nfsis an existing local directory to mount the export to.