NFS in VE == hang? [message #33262] |
Thu, 02 October 2008 17:23 |
fatbrother
Messages: 12 Registered: September 2008 Location: Novosibirsk, Russia
|
Junior Member |
|
|
I'm trying to use NFS in the VE.
I have 2.6.18-12-fza-amd64 #1 SMP Sun May 18 09:57:08 UTC 2008 x86_64 kernel on Debian Etch and vzctl version 3.0.22-1dso1.
Inside of the VE I have CentOS 5.2 environment made from contributed template http://download.openvz.org/template/precreated/contrib/cento s-5-x86_64-default.tar.gz with latest updates installed by yum update.
I used vzctl set VE --feature nfs:on --save and got NFS in the list of available filesystems in VE.
NFS server is Linux 2.4 with export options (rw,root_squash). It has lockd running. (May be old NFS server is part of the issue? But Solaris 10 and 11 clients work fine with this server under rather serious load, including clients in Solaris zones)
I tried to mount /home directory by running
VE# mount -t nfs server:/home /home
It mounts and I can do ls -l /home and change directories in /home.
Then I'm trying to log as NIS user with ~ directory in /home. It also seems to work, but as I log out, session hangs. I could see sshd and bash processes running in VE, I was able to kill them, but was unable to umount /home (it said device busy).
In HN /var/log/messages there was a line
[time] [HN hostname] kernel: nfs: server server not responding, still trying
nfsstat on HN shows 106 retrans, but number of retrans does not seem to grow.
First time I "solved" it by restarting VM.
Then I remounted share with
VE# mount -t nfs server:/home /home -o rw,vers=3,intr
It hang again, and this time I could not kill hung processes and could not stop VM. Now I cannot vzctl stop VE nor vzctl enter VE, and I probably will need to restart HN (currently there are no other VE on it).
Anybody has any idea?
[Updated on: Thu, 02 October 2008 17:36] Report message to a moderator
|
|
|