[CentOS] NFS failure on latest kernel update
fredex
fredex at fcshome.stoneham.ma.us
Wed Feb 14 15:43:20 UTC 2007
On Wed, Feb 14, 2007 at 08:35:43AM -0600, Johnny Hughes wrote:
> On Wed, 2007-02-14 at 08:11 -0500, fredex wrote:
> > On Tue, Feb 13, 2007 at 04:40:43PM -0800, Kirk Bocek wrote:
> > >
> > >
> > > fredex wrote:
> > > >Guys:
> > > >
> > > >On a 4.4 box I use as my desktop at work, I just did a "yum update" today
> > > >for the first time in a while and it got the latest kernel 2.6.9-42.0.8.
> > > >Upon rebooting afterward nfs now fails to mount two nfs shares on another
> > > >Linux (very old Red Hat 6.2) box, that it always had mounted previously.
> > > >
> > > >google didn't help me much, and I couldn't find anything abouu it in
> > > >the Centos forums (fora??).
> > > >
> > > >I'm getting an error something like "RPC error: Program not registered."
> > > >
> > > >did the new kernel break NFS on us?
> > > >
> > > >Thanks!
> > >
> > > Fred,
> > > Don't know if this will help you but I had something similar happen. Adding
> > > the following:
> > >
> > > nfsd /proc/fs/nfsd nfsd auto,defaults 0 0
> > >
> > > to /etc/fstab and issuing a 'mount -a' fixed my problem.
> > >
> > > http://www.centos.org/modules/newbb/viewtopic.php?topic_id=6891&forum=30
> > >
> > > Kirk Bocek
> >
> > Nope. No change. Nice try, though.
> >
>
> hmmmm
>
> how about this kind of entry in /etc/fstab:
>
> 10.2.0.2:/home/sun_vms /mnt/xeon nfs defaults 0 0
>
> 1st column is the machine name(or IP), a colon, and directory for the
> nfs server export ... 2nd column is the place you want to mount it on
> this machine, 3rd columns is the file type (nfs) ... from that point
> what you already have is OK (for columns 4,5,6).
>
> Thanks,
> Johnny Hughes
Johnny:
Thanks for the reply!
I've already got this entry in /etc/fstab:
128.2.2.25:/mnt/cisrc /usr3 nfs rw,rsize=8192,wsize=8192,hard,intr,user 0 0
and it looks to me as if it should be adequate,... at least it always HAS
been up until the kernel update I got yesterday.
The error occurs during boot when the startup tries to mount all filesystems,
as well as whenever I type: "mount /usr3" or anything else that causes the
sys to try mounting it.
Any other ideas?
Thanks again!
Fred
PS: yes, nfs is running:
# pwd
/etc/rc.d/init.d
# ./nfs status
Shutting down NFS mountd: rpc.mountd (pid 4816) is running...
nfsd (pid 4812 4811 4810 4809 4806 4805 4804 4803) is running...
rpc.rquotad (pid 4799) is running...
#
also, I note that (as shown above) the nfs status command says its
shutting down NFS mountd. I believe this is an error in the nfs script,
which contains:
status)
[ -x /usr/sbin/rpc.svcgssd ] && /sbin/service rpcsvcgssd status
echo -n $"Shutting down NFS mountd: "
status rpc.mountd
status nfsd
if [ -n "$RQUOTAD" -a "$RQUOTAD" != "no" ]; then
status rpc.rquotad
fi
;;
Do you agree? Should a bug be filed on this?
--
---- Fred Smith -- fredex at fcshome.stoneham.ma.us -----------------------------
The eyes of the Lord are everywhere,
keeping watch on the wicked and the good.
----------------------------- Proverbs 15:3 (niv) -----------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20070214/23be84d5/attachment.sig>
More information about the CentOS
mailing list