From: Jan Zuchhold (Jan_at_Zuchhold.com)
Date: Tue 04 Nov 2003 - 12:07:35 GMT
Hello list!
There seems to be a problem with using nfs shares in a vserver with vs1.00.
It appears that it is related to file locking.
The share is mounted like this in the vserver startup script:
/usr/sbin/chbind --ip 192.168.1.145 --bcast 192.168.1.255 mount -t nfs
fileserver:/home /var/lib/vservers/$2/home
After mounting the share it seems to work correctly (cd/ls/touch showing no
problems).
When I start a process (in my case it's eclipse in jvm 1.4.1) which tries to
lock a file on that nfs share, it goes to state D ('uninterruptible sleep')
and cannot be killed. Any other process which tries to access the share goes
to state D as well.
Syslog on the Host says:
Nov 4 11:57:04 galateia rpc.statd[233]: Call to statd from non-local host
192.168.1.145
Nov 4 11:57:04 galateia rpc.statd[233]: STAT_FAIL to galateia for SM_MON of
192.168.1.69
Nov 4 11:57:04 galateia kernel: lockd: cannot monitor 192.168.1.69
Nov 4 11:57:05 galateia kernel: nfs: server fileserver not responding, still
trying
This problem does not appear in ctx-17c (the last version I tried before),
although the first three syslog messages appear as well.
Jan
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver