LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-01-2010, 12:09 PM   #1
dasuwal
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Rep: Reputation: 0
Post NFS mount point problem


Hi Forum

I am trying to mount /NFS as nfs mountpoint on two servers ( A & B ).
After mounting the nfs filesystem, both of them behave normally for around 10 mins and after that the NFS file handle become stale and the
mountpoints dont respond. While executing df -kh, the output hang out and the /var/log/messages show the following message:
May 27 15:48:56 earth mountd[3078]: Cannot export /NFS, possibly unsupported filesystem or fsid= required
May 28 04:04:20 earth kernel: nfs: server nas not responding, still trying
May 28 10:11:51 earth kernel: nfs: server nas not responding, still trying

The fstab enteries for /NFS mountpoint on both servers is :
nas:/NFS /NFS nfs rw,bg,hard,nointr,tcp,nfsvers=3,timeo=600,rsize=32768,wsize=32768,acti
meo=0 1 2

/etc/export enteries on both server is :
/NFS *(rw,sync,no_wdelay,insecure_locks,no_root_squash)


Please let me know how can I fix this issue.

Thanks in advance,
Raj.
 
Old 06-01-2010, 12:37 PM   #2
bdt-rob
LQ Newbie
 
Registered: Jun 2009
Location: Cambridge, England
Distribution: Gentoo, Arch, (xandross), (Slackware)
Posts: 16

Rep: Reputation: 2
I'm confused. How many actual servers and how many clients have you got? Which machine is called "earth" and which is called "nas"? Are you really trying to recursively re-export an NFS mount in a tight loop?
 
Old 06-02-2010, 01:00 AM   #3
dasuwal
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Post

Sorry for creating confusion. I mentioned A & B ( just to simplify).

There are two total server One server is earth, other is sky. And NAS is earth itself.
Earth is nfs server and sky is working as client.

I am not sure whether its recursively re-exporting an NFS mount in a tight loop.

Thanks for help,
Raj.
 
Old 06-03-2010, 02:14 AM   #4
bdt-rob
LQ Newbie
 
Registered: Jun 2009
Location: Cambridge, England
Distribution: Gentoo, Arch, (xandross), (Slackware)
Posts: 16

Rep: Reputation: 2
But are you saying that both machines are trying to be both server and client? You said (or at least implied) that both machines have the same contents in their /etc/fstab and /etc/export files. And you appear to be using the same directory name for the remote mount point and the export. Your latest reply suggests not, but the syslog extract you posted showed both export and mount errors on the same machine. If that were the case it would be a tight loop and would be broken.

Assuming you aren't doing that, so that "earth" only has the /etc/exports entry and "sky" only has the /etc/fstab entry, and you are still getting stale handles, can you check that the network connection is reliable first. Usually a stale handle is because the server has rebooted or been re-configured.
 
Old 06-04-2010, 12:19 PM   #5
dasuwal
LQ Newbie
 
Registered: Mar 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks BDT-Rob

Your feedback solved my problem.

I was putting same enteries in both fstabs ( which i was not supposed to be).

Great Forum........ Keep replying.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS mount point problem dasuwal Linux - Server 3 03-31-2010 11:17 PM
NFS Mount point restrictions - URGENT jahfarsadiq Linux - Software 4 11-27-2009 05:47 AM
mount NFS to mount point then share out the mount point ionic_slim Linux - Networking 2 04-20-2008 12:17 PM
can't find nfs mount point during startup, but it's available later pwabrahams Linux - Networking 0 09-07-2007 01:44 PM


All times are GMT -5. The time now is 02:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration