Nfs in proxmox openvz containers
Proxmox provides a convenient platform for hosting OpenVZ containers and full virtual machines on a single host. One challenge I ran into was trying to mount NFS volumes from inside a container which led to the head-scratching error:
mount: unknown filesystem type 'nfs'
Fortunately there is an easy fix which is actually quite well documented on the OpenVZ site. For container 101, the following commands will update the container configuration which quickly gets things back on track.
vzctl stop 101
vzctl set 101 --features "nfs:on" --save
vzctl start 101