User Tools

Site Tools


proxmox:configure_nfs_server_into_openvz_ct

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

proxmox:configure_nfs_server_into_openvz_ct [2015/06/29 12:10] (current)
Line 1: Line 1:
 +====== 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: <​code>#​ vzctl stop CTID</​code>​
 +  * Turn on nfsd feature in the container:<​code>#​ vzctl set CTID --feature nfsd:on --save</​code>​
 +  * Start the container: <​code>#​ vzctl start CTID</​code>​
 +
 +**NOTE:** CTID is means Container ID.
 +
 +====== Checking is running NFS Server ======
 +
 +You can check if nfs-kernel-server is running:
 +
 +<​code>#​ service nfs-kernel-server status</​code>​
 +
 +To show the export directories:​
 +
 +<​code>#​ showmount -e</​code>​
 +
 +
 +====== Resources ======
 +
 +  * [[https://​openvz.org/​NFS_server_inside_container]]
proxmox/configure_nfs_server_into_openvz_ct.txt ยท Last modified: 2015/06/29 12:10 (external edit)