Post

Adding NFS support to an OpenVZ VPS

I still use a lot of NFS connections on my equipment and when I create OpenVZ VPS systems I need them to have access to NFS. Here are the steps I use:

From the Host Node (HN):

1
2
modprobe nfs
vzctl set 101 --features "nfs:on" --save

From the VPS:

1
2
3
yum -y install nfs-utils nfs-utils-lib
chkconfig --levels 345 portmap on
/etc/init.d/portmap start
This post is licensed under CC BY 4.0 by the author.