User Tools

Site Tools


proxmox:configure_nfs_server_into_openvz_ct

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

proxmox/configure_nfs_server_into_openvz_ct.txt · Last modified: 2015/06/29 12:10 (external edit)