Created
February 16, 2011 22:03
-
-
Save benjaminmateev/830348 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim /etc/sysctl.conf | |
sunrpc.ve_allow_rpc = 1 | |
fs.nfs.ve_allow_nfs = 1 | |
kernel.ve_allow_kthreads = 1 | |
# sysctl -p | |
# vzctl stop 101 | |
# vzctl set 101 --features "nfs:on" --save | |
# vzctl start 101 | |
# vzctl enter 101 | |
# mkdir /storage | |
# mount -t nfs 192.168.0.1:/storage /storage |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Are these sysctl settings still needed in current openvz kernels? also the sysctl is supposed to be run inside the container correct (not the host node)?