Article ID: 8056, created on Feb 9, 2010, last review on May 9, 2014

  • Applies to:
  • Virtuozzo hypervisor 4.0
  • Virtuozzo hypervisor 4.0 for Mac Bare Metal


If you want to mount an NFS share to Parallels Server Bare Metal Host (for example, to store virtual machine files there), you need to perform the following sequence of actions:

1. Edit the file "/etc/fstab" and add a line like the following:

<server>:/<share>  /<mountpoint>     nfs     defaults,noatime,nolock  1  2

where <server> is the hostname or IP of the remote server 
            <share> is the name of the folder located on this server to be mounted as NFS
            <mountpoint> is the destination directory on Parallels Server Bare Metal Host

For example:  /var/parallels     nfs     defaults,noatime,nolock  1  2

2. Configure the "netfs" service to start automatically with the following command:

# chkconfig --levels 2345 netfs on

This should make the system mount all network shares, like NFS, SMB/CIFS, etc. Additionally, services like
"portmap" and "nfslock" might be configured to run the same way.

3. Start "netfs" service or reboot the whole server to apply the changes:

# service netfs start

4. Check to see if the share was mounted:

# mount

/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) on /var/parallels type nfs (rw,noatime,addr=

5. If the mount succeeded, you are ready to use the NFS share.

a26b38f94253cdfbf1028d72cf3a498b d245cfd276e66749824316e20bfd8ade 0fe456bdc1f41aefe37dd2554a60437e 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF