Search

Language:  
Search for:

Available article translations:

Mounting NFS share to Parallels Server Bare Metal Host

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

Resolution

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:

192.168.5.5:/nfsfolder  /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)
192.168.5.5:/nfsfolder on /var/parallels type nfs (rw,noatime,addr=192.168.5.5)


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




a26b38f94253cdfbf1028d72cf3a498b d245cfd276e66749824316e20bfd8ade 0fe456bdc1f41aefe37dd2554a60437e 2897d76d56d2010f4e3a28f864d69223

FEEDBACK
Was this article helpful?
Tell us how we may improve it.
Yes No
 
 
 
 
 
 
Server Virtualization
- Odin Cloud Server
- Odin Containers for Windows 6.0
- Odin Virtuozzo Containers
Automation
- Odin Automation
- Odin Automation for Cloud Infrastructure
- Odin Business Automation Standard
- Odin Virtual Automation
- Odin Plesk Panel Suite
- Web Presence Builder
- Odin Plesk Automation
- Odin Small Business Panel
- Value-added Services for Hosters
- Odin Partner Storefront
Services & Resources
- Cloud Acceleration Services
- Professional Services
- Support Services
- Training & Certification