fc2 nfs problems

s c decals74 at yahoo.com
Thu Jun 3 07:40:28 UTC 2004


hello all. i'm having probs mounting nfs filesystems with an fc2 nfs-server and
fc2 client. error msg is always 'Permission denied'.

here's what i've tried in /etc/exports [3 different attempted configs exported
via `exportfs -vr`]:

# attempt1
/zz bluto(rw,no_root_squash,sync)

# attempt2
/zz 192.168.0.222(rw,no_root_squash,sync)

#attempt3
/zz 192.168.0.0/24(rw,no_root_squash,sync)

/etc/sysconfig/nfs on the server is null and iptables is accepting all packets
on all chains on both machines.

/etc/hosts on the server contains:
127.0.0.1 localhost.localdomain localhost mongo
192.168.0.222 bluto

when i try to mount i get:

[root at bluto bin]# mount -t nfs -o rsize=8192,wsize=8192 mongo:/zz /home/stu/zz
mount: mongo:/zz failed, reason given by server: Permission denied

i've tried mounting with nfsvers=2 and nfsvers=3 options, no dice. i see this
in the server's logs everytime it fails:

Jun 1 01:51:28 localhost rpc.mountd: authenticated mount request from bluto:783
for /zz (/zz)

here's an rpcinfo dump:

[root at mongo etc]# rpcinfo -p
program vers proto port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 32768 status
100024 1 tcp 32768 status
391002 2 tcp 32769 sgi_fam
100011 1 udp 768 rquotad
100011 2 udp 768 rquotad
100011 1 tcp 771 rquotad
100011 2 tcp 771 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 4 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100003 4 tcp 2049 nfs
100021 1 udp 32785 nlockmgr
100021 3 udp 32785 nlockmgr
100021 4 udp 32785 nlockmgr
100021 1 tcp 32892 nlockmgr
100021 3 tcp 32892 nlockmgr
100021 4 tcp 32892 nlockmgr
100005 1 udp 784 mountd
100005 1 tcp 787 mountd
100005 2 udp 784 mountd
100005 2 tcp 787 mountd
100005 3 udp 784 mountd
100005 3 tcp 787 mountd

stock 2.6.5-1.358 kernels on both machines

777'ed /zz on server:
drwxrwxrwx  48 root root   4096 Jun  3 00:10 zz

/etc/hosts.allow and /etc/hosts.deny are wide open [null].

[root at mongo /]# rpm -qa | grep nfs
nfs-utils-1.0.6-22

i've seen quite a few unresolved threads regarding this issue on fc-1.91 and
other test releases but nothing regarding fc2. i've used nfs plenty before
without major problems on redhat 6-9, this one has me stumped. fedora bugzilla
didn't have anything interesting for nfs aside from the fact that fc2 defaults
to using nfs3..

any suggestions?


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 





More information about the fedora-list mailing list