Strange NFS problem

Mark Weaver mdw1982 at mdw1982.com
Tue Apr 26 10:13:43 UTC 2005


Thomas Cameron wrote:
> ----- Original Message ----- From: "Mark Weaver" <mdw1982 at mdw1982.com>
> To: <fedora-list at redhat.com>
> Sent: Monday, April 25, 2005 6:59 PM
> Subject: Strange NFS problem
> 
> 
>> Hi all,
>>
>> Over the last 5 days I've been troubled with a very strange problem 
>> with the NFS service that is running my web/mail server. Its an FC3 
>> installation. For some reason, it just decided to not allow previously 
>> working shares to be accessible.
>>
>> There is no firewall running on the machine since it sits on the LAN 
>> behind a gateway firewall machine. Might anyone have any ideas as to 
>> why NFS suddenly stopped allowing access to the shares that are being 
>> exported?
>>
>> (SElinux is disabled)
> 
> 
> There are a couple of things to check.  Does the command exportfs -va 
> cause the exports to start working?  How about exportfs -vr?
> 
> If neither of those work, what does running the two commands get you?
> 
> for i in nfs nfslock portmap; do service $i stop; done
> for i in portmap nfslock nfs; do service $i start; done
> 
> Of course, you want to look in /var/log/messages to see if the kernel is 
> telling you anything there.
> 
> Thomas

While I don't quite understand why it worked placing "async" into the 
options and then running the following two commands have got it working 
again:

EXPORTS FILE:
/var/www    192.168.0.252(async,insecure,no_root_squash,rw)

COMMANDS:
exportfs -vr
service nfs restart

Thank you Thomas! :)

-- 
Mark
-----------------------------------------------------------
Paid for by Penguins against modern appliances(R)
Linux User Since 1996
Powered by Mandrake Linux 8.2, 10.0 & RHEL 4




More information about the users mailing list