NFS Suddenly Stops Working

This is a discussion on NFS Suddenly Stops Working within the Linux Networking forums, part of the Linux Forums category; Hi there, My NFS server on Red Hat Enterprise Linux ES4 serves for user's home directories. The entry in ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-30-2007
Ross
 
Posts: n/a
Default NFS Suddenly Stops Working

Hi there,
My NFS server on Red Hat Enterprise Linux ES4 serves for user's home
directories.
The entry in the /etc/exports is like this: /home/users
10.2.0.0/255.255.0.0(no_auth_nlm,rw,async,insecure)
It suddenly can not be mounted today. When I try to mount it I get the
error:
# mount server02:/home/users/ross /home/ross
mount: block device server02:/home/users/ross is write-protected, mounting
read-only
mount: cannot mount block device server02:/home/users/ross read-only

If I add "no_root_squash,no_all_squash" to the /etc/exports entry, I can
mount it, but I get error when I ls it:
bash-2.05a$ cd /home/ross
bash-2.05a$ ls
ls: .: Stale NFS file handle

Any idea would be greatly appreciated,
Ross


Reply With Quote
  #2 (permalink)  
Old 03-30-2007
Joshua Baker-LePain
 
Posts: n/a
Default Re: NFS Suddenly Stops Working

On 2007-03-30, Ross <nospam@ross.com> wrote:
> Hi there,
> My NFS server on Red Hat Enterprise Linux ES4 serves for user's home
> directories.
> The entry in the /etc/exports is like this: /home/users
> 10.2.0.0/255.255.0.0(no_auth_nlm,rw,async,insecure)
> It suddenly can not be mounted today. When I try to mount it I get the
> error:
> # mount server02:/home/users/ross /home/ross
> mount: block device server02:/home/users/ross is write-protected, mounting
> read-only
> mount: cannot mount block device server02:/home/users/ross read-only
>
> If I add "no_root_squash,no_all_squash" to the /etc/exports entry, I can
> mount it, but I get error when I ls it:
> bash-2.05a$ cd /home/ross
> bash-2.05a$ ls
> ls: .: Stale NFS file handle
>
> Any idea would be greatly appreciated,


I'd be worried that the filesystem got remounted ro on the server. Check
the server logs for FS errors.

--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
Reply With Quote
  #3 (permalink)  
Old 03-31-2007
Jerry McBride
 
Posts: n/a
Default Re: NFS Suddenly Stops Working

Ross wrote:

> Hi there,
> My NFS server on Red Hat Enterprise Linux ES4 serves for user's home
> directories.
> The entry in the /etc/exports is like this: /home/users
> 10.2.0.0/255.255.0.0(no_auth_nlm,rw,async,insecure)
> It suddenly can not be mounted today. When I try to mount it I get the
> error:
> # mount server02:/home/users/ross /home/ross
> mount: block device server02:/home/users/ross is write-protected, mounting
> read-only
> mount: cannot mount block device server02:/home/users/ross read-only
>
> If I add "no_root_squash,no_all_squash" to the /etc/exports entry, I can
> mount it, but I get error when I ls it:
> bash-2.05a$ cd /home/ross
> bash-2.05a$ ls
> ls: .: Stale NFS file handle
>
> Any idea would be greatly appreciated,
> Ross



Check the server. It has filesystem problems...


--


Jerry McBride
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:36 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0