Mounting NFS exports on Linux

You can mount an NFS export created in Virtuozzo Hybrid Infrastructure like any other directory exported via NFS. You will need the share IP address (or hostname) and the volume identifier.

In console, run the following commands:

# mkdir /mnt/nfs
# mount -t nfs -o vers=4.0 <share_IP>:/<share_name>/ /mnt/nfs

where:

  • -o vers=4.0 is the NFS version to use.

    Virtuozzo Hybrid Infrastructure supports NFS versions 4.0 and 4.1.

  • <share_IP> is the share IP address. You can also use the share hostname.
  • /<share_name>/ is the root export path, like share1. For user exports, specify their full path, for example: /<share_name>/export1.
  • /mnt/nfs is an existing local directory to mount the export to.