Editing NFS server inside container
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 9: | Line 9: | ||
Kernel-space NFS server is supported by latest RHEL5 and RHEL6 based kernels and since vzctl-3.0.24. | Kernel-space NFS server is supported by latest RHEL5 and RHEL6 based kernels and since vzctl-3.0.24. | ||
− | |||
− | |||
− | |||
In order to run an NFS server inside a container, make sure: | In order to run an NFS server inside a container, make sure: | ||
− | * | + | * nfsd kernel module is loaded on host system before starting a container |
− | * | + | * nfsd feature for a container is turned on (<code>vzctl set $CTID --feature nfsd:on --save</code>) |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== User-space NFS server == | == User-space NFS server == | ||
Line 105: | Line 42: | ||
The current stable debian version 5.0 (lenny) provides two packages for user space nfs support: <code>nfs-user-server</code> and <code>unfs3</code>. Here i describe my experiences with them --[[User:Strimo|Strimo]] 17:47, 16 February 2009 (UTC) | The current stable debian version 5.0 (lenny) provides two packages for user space nfs support: <code>nfs-user-server</code> and <code>unfs3</code>. Here i describe my experiences with them --[[User:Strimo|Strimo]] 17:47, 16 February 2009 (UTC) | ||
− | |||
− | |||
==== nfs-user-server ==== | ==== nfs-user-server ==== | ||
Line 135: | Line 70: | ||
Works fine until now. Note that both unfs3 and nfs-user-server do not support file locking! | Works fine until now. Note that both unfs3 and nfs-user-server do not support file locking! | ||
− | |||
=== On CentOS 5 === | === On CentOS 5 === |