Hallo zusammen....
Es ist für mich sehr wichtig, dass ich NFS in einem Container verwendet kann.
Dementsprechend habe ich es weitestgehend nach dem was ich im Internet gefunden habe konfiguriert.
Auf dem Server läuft das CentOS 5.8 mit HyperVM als OpenVZ frontend.
Kernel: 2.6.18-308.el5.028stab099.3
VZ Version: vzctl version 3.3
Soabld ich aber den Dienst (/etc/ini.d/nfs start) starte, crasht der Kenel mit einem Panic. (Bild siehe unter)
Was kann ich machen, dass dies nicht mehr passiert?
[root@skcs01 ~]# sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 1
kernel.core_uses_pid = 1
kernel.ve_allow_kthreads = 1
net.ipv4.tcp_syncookies = 1
net.ipv4.conf.default.send_redirects = 1
net.ipv4.conf.all.send_redirects = 0
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
net.ipv4.ip_conntrack_max = 32760
[root@skcs01 ~]#
[root@skcs01 ~]# lsmod | grep nfs*
nfsd 138128 1
exportfs 39040 2 nfsd,simfs
nfs 303192 2 vzrst,vzcpt
nfs_acl 36608 2 nfsd,nfs
nfnetlink 40392 2 ip_nat,ip_conntrack
lockd 105616 3 nfsd,vzrst,nfs
sunrpc 211648 15 nfsd,vzrst,nfs,nfs_acl,lockd
[root@skcs01 ~]#
[root@skcs01 ~]# cat /etc/vz/conf/160.conf
# Copyright (C) 2000-2011, Parallels, Inc. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# UBC parameters (in form of barrier:limit)
KMEMSIZE="2147483646"
LOCKEDPAGES="999999"
PRIVVMPAGES="255999744"
SHMPAGES="128000"
NUMPROC="999999"
PHYSPAGES="0:2147483647"
VMGUARPAGES="128000:2147483647"
OOMGUARPAGES="128000:2147483647"
NUMTCPSOCK="7999992"
NUMFLOCK="999999"
NUMPTY="500000"
NUMSIGINFO="999999"
TCPSNDBUF="104857600:286883840"
TCPRCVBUF="104857600:286883840"
OTHERSOCKBUF="104857600:286883840"
DGRAMRCVBUF="104857600:286883840"
NUMOTHERSOCK="7999992"
DCACHESIZE="2147483646"
NUMFILE="23999976"
AVNUMPROC="180:180"
NUMIPTENT="999999"
# Disk quota parameters (in form of softlimit:hardlimit)
DISKSPACE="102398976:102398976"
DISKINODES="51199488:51199488"
QUOTATIME="0"
# CPU fair scheduler parameter
CPUUNITS="1000"
VE_ROOT="/vz/root/$VEID"
VE_PRIVATE="/vz/private/160"
OSTEMPLATE="centos-5-i386-hostinabox576"
ORIGIN_SAMPLE="basic"
IP_ADDRESS="192.168.1.6"
QUOTAUGIDLIMIT="10000"
HOSTNAME="skcsv06"
NAMESERVER="8.8.8.8"
ONBOOT="yes"
CPULIMIT="400"
MEMINFO="pages:255999744"
CPUS="4"
FEATURES=" nfs:on nfsd:on"