VZ NFS problem ... [message #38399] |
Mon, 14 December 2009 21:29 ![Go to next message Go to previous message](/theme/ovz3/images/down.png) |
vleduc
Messages: 1 Registered: December 2009
|
Junior Member |
|
|
Hi.
I ve got a real problem with my NFS Server :
- The master host :
[root@master etc]# showmount -e
Export list for master.mydomain.com:
/www a.b.c.d
- The container :
[root@slave etc]# showmount -e a.b.c.d
Export list for master.mydomain.com:
/www a.b.c.d
[root@slave etc]# mount -t nfs a.b.c.d:/www /www
mount: a.b.c.d:/www failed, reason given by server: Permission denied
So i looked into logs :
[root@master etc]# tail -2 /var/log/messages
Dec 14 15:01:56 a.b.c.d mountd[4660]: authenticated mount request from slave:917 for /www (/www)
Dec 14 15:01:56 m1710v01 mountd[4660]: Cannot export /www, possibly unsupported filesystem or fsid= required
Sometimes, the message changes :
"kernel: Could not export filesystem via NFS with VZQUOTA on"
So i tried first to disable iptables, cfs, and all the protections to be sure there is no mistake.
I ve attached mountd with full debugging with strace, in order to match the differents strings (send, recv, read, write ...).
But there s no way. The fact is when the service nfsd is running on another box, with a RHEL5 for example, my VZ slave can mount the share. In fact the problem comes from the "master". I mean that between the master and the master-Rhel5 i cant see any difference.
Furthermore :
[root@master etc]# grep rpc /proc/filesystems
nodev rpc_pipefs
[root@master etc]# grep nfs /proc/filesystems
nodev nfs
nodev nfs4
nodev nfsd
The slave can see (and mount) NFS too. The master is unable to mount with localhost during a test.
[root@master etc]# cat exports
/www slave(rw,sync,no_wdelay,insecure_locks,no_root_squash)
Ive disabled VZQUOTA for my slave, but it doesnt seems to change ...
Could yo help me please ?
[Updated on: Tue, 15 December 2009 09:37] by Moderator Report message to a moderator
|
|
|