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 hostname (or IP address) and the volume identifier. For example:
# mount -t nfs -o vers=4.0 -o sec=krb5 share1.example.com:/0200000000000002/export1 /mnt/nfs
where:
-o vers=4.0is the NFS version to use. To use pNFS, change-o vers=4.0to-o vers=4.1. In all other cases, make sure to always specify NFS version 4.0 or newer.-o sec=krb5is required if your service provider uses Kerberos authentication in NFS shares.share1.example.comis the share hostname. You can also use IP addresses./0200000000000002/export1is the path to export./mnt/nfsis an existing local directory to mount the export to.
Version 2.5 — Jun 27, 2018