====== Introduction ======
By default OpenVZ CT in proxmox don't allow run nfs-kernel-server. To enable it, you must to active the nfsd feature in the container.
This method is possible that don't work with NFSv4.
====== Enabling NFS Server ======
* Stop the container: # vzctl stop CTID
* Turn on nfsd feature in the container:# vzctl set CTID --feature nfsd:on --save
* Start the container: # vzctl start CTID
**NOTE:** CTID is means Container ID.
====== Checking is running NFS Server ======
You can check if nfs-kernel-server is running:
# service nfs-kernel-server status
To show the export directories:
# showmount -e
====== Resources ======
* [[https://openvz.org/NFS_server_inside_container]]