Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

weird NFS problems after upgrading to Red Hat 7.2

0 views
Skip to first unread message

Doug Reeder (aka Skapti)

unread,
Feb 22, 2002, 1:30:23 AM2/22/02
to

We have a small network of machines, which had been running RH 6.1,
with most of the Red Hat reccomended update RPMs to 6.1.
The kernel had been updated to 2.2.17-14.
One machine was both the NIS and NFS server. They both worked fine.


A month ago I updated one of the clients to RH 7.2, and NIS and NFS
functioned fine.


This week, I updtated the server and two other clients to RH 7.2.
After some initial trouble getting NIS configured again, it now works fine,
but NFS has weird problems. The NFS server boots up fine, and
the two Macs running OS X function happily as NIS and NFS clients of it.
However, the clients running RH 6.1 and the clients running RH 7.2
have weird problems: In general, when a client boots, the
NFS directories (there are five) mount, but within a few minutes
you get a 'stale NFS handle' error every time when you try to access
it. Unmounting and re-mounting a directory rarely, if ever, fixes this.
You get a permission error, which in the messages log on the server looks
like
Feb 22 00:43:30 ursatz rpc.mountd: authenticated mount request from 140.254.3.13:722 for /var/opt (/var/opt)
Feb 22 00:43:30 ursatz rpc.mountd: getfh failed: Operation not permitted

However, restarting the server NFS daemons with
/etc/rc.d/init.d/nfs restart
/etc/rc.d/init.d/nfslock restart
and then unmounting and remounting the NFS directories almost always works.
This behavior appears to be the same under RH 6.1 or RH 7.2

As a further complication, one of the directories, /var/opt, (which
was mounted with the option bg) was more recalcitrant than the others,
until I changed the exports file on the server to give hosts by name
instead of as an IP range, and changed fstab on the clients to mount
without the option bg.

Any ideas on how to fix this?


hosts.allow and hosts.deny exist, but aare empty.


/etc/exports on server:

/home1 eroica(rw) tactus(rw) lydian(rw) dactyl(rw) tala(rw) yodel(rw) slendro(rw) bebop(rw) rondo(rw)
/home2 eroica(rw) tactus(rw) lydian(rw) dactyl(rw) tala(rw) yodel(rw) slendro(rw) bebop(rw) rondo(rw)
/var/spool/mail eroica(rw,no_root_squash) tactus(rw,no_root_squash) lydian(rw,no_root_squash) dactyl(rw,no_root_squash) tala(rw,no_root_squash) yodel(rw,no_root_squash) slendro(rw,no_root_squash) bebop(rw) rondo(rw)
/usr/local tala(ro) yodel(ro) slendro(ro) dactyl(ro) tactus(ro) eroica(ro) bebop(ro) rondo(ro)
/var/opt/ eroica(rw) tactus(rw) lydian(rw) dobro(rw) tala(rw) yodel(rw) slendro(rw) bebop(rw) rondo(rw)


/etc/fstab on client before change:

ursatz:/home1 /home1 nfs intr 0 0
ursatz:/home2 /home2 nfs intr 0 0
ursatz:/var/spool/mail /var/spool/mail nfs intr 0 0
ursatz:/usr/local /usr/local nfs ro,soft 0 0
ursatz:/var/opt /var/opt nfs intr,bg 0 0


/etc/fstab on client after change:

ursatz:/home1 /home1 nfs intr 0 0
ursatz:/home2 /home2 nfs intr 0 0
ursatz:/var/spool/mail /var/spool/mail nfs intr 0 0
ursatz:/usr/local /usr/local nfs ro,soft 0 0
ursatz:/var/opt /var/opt nfs intr 0 0


'rcpinfo -p' on the server gives the following output

100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100004 2 udp 852 ypserv
100004 1 udp 852 ypserv
100004 2 tcp 855 ypserv
100004 1 tcp 855 ypserv
100009 1 udp 870 yppasswdd
100007 2 udp 929 ypbind
100007 1 udp 929 ypbind
100007 2 tcp 932 ypbind
100007 1 tcp 932 ypbind
391002 2 tcp 32768 sgi_fam
100011 1 udp 642 rquotad
100011 2 udp 642 rquotad
100011 1 tcp 645 rquotad
100011 2 tcp 645 rquotad
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100021 1 udp 32771 nlockmgr
100021 3 udp 32771 nlockmgr
100021 4 udp 32771 nlockmgr
100005 1 udp 32781 mountd
100005 1 tcp 32865 mountd
100005 2 udp 32781 mountd
100005 2 tcp 32865 mountd
100005 3 udp 32781 mountd
100005 3 tcp 32865 mountd
100024 1 udp 32782 status
100024 1 tcp 32866 status
--
P. Douglas Reeder Lecturer, Dept. Computer/Info. Science, Ohio State Univ.
ree...@cis.ohio-state.edu http://www.cis.ohio-state.edu/~reeder/reeder.html
GE/S d+ s+:- a C+@$ UH+ P+ L E W++ N+ o? K? w !O M+ V PS+() PE Y+ PGP- t 5+ !X
R>+ tv+ b+++>$ DI+ D- G e+++ h r+>+++ y+>++

0 new messages