Hidong Kim wrote:
----------------->>>>
We have an NIS network of several Red Hat machines.  I just upgraded the
NIS server to Red Hat 7.2.  One of the NFS mounted partitions is
/home/users which is local to the NIS server.  This partition contains
everyone's home directory.  Since upgrading the NIS server to 7.2, when
I log into one of the other machines, I get this message:

bash: /home/users/kim/.bashrc: Stale NFS file handle
bash: /home/users/kim/.bashrc: Stale NFS file handle

The login directory is what I expect, but it doesn't appear to be
reading ~/.bashrc, except when I log in to the NIS server machine.  None
of the environmental variables defined in ~/.bashrc work when logging in
to an NIS client.  All of the NFS mounted partitions are showing up on
all machines.  How do I get ~/.bashrc active on all machines?  Thanks,
----------------->>>>

I have been patiently waiting for someone to reply to this problem.  I too
see it way to often.  It is stifling when it happens.  Yesterday, I was in a
moment of almost spiritual level programming, when I tried to save my work
it came up and said that it couldn't because the nfs link had become
stale...  I tried to resolve this by running:

 /etc/rc.d/netfs stop
 /etc/rc.d/netfs start

and when that didn't work:

 /etc/rc.d/netfs restart

and when that didn't work:

 umounting and mounting the fs to their respective mount points

and when that didn't work...

 saved the file to a local file system

Even though I was able to save it locally I was pretty upset that I wasn't
able to do it on the nfs fs.  Then I tried something that seemed to work
(while not a solution to understanding stale nfs fs's which I really don't
understand- nuf said).  I went into the nfs subdir (could only go so far
cause of the stale prob) and I typed:

 sync

which then allowed me to move further into the subdir that I was headed to.
I kept doing this until I got into the subdir I was wanting to save the file
and I synced that too then I tried to save again... It saved it!  

While I'm not sure how to deal with the nfs stale fs errors, I thought this
might help you as it has me when I'm faced with a Stale NFS error.  



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to