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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-01-2010, 12:09 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2010
Posts: 5
Rep:
|
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.
|
|
|
|
06-01-2010, 12:37 PM
|
#2
|
|
LQ Newbie
Registered: Jun 2009
Location: Cambridge, England
Distribution: Gentoo, Arch, (xandross), (Slackware)
Posts: 16
Rep:
|
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?
|
|
|
|
06-02-2010, 01:00 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2010
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
|
06-03-2010, 02:14 AM
|
#4
|
|
LQ Newbie
Registered: Jun 2009
Location: Cambridge, England
Distribution: Gentoo, Arch, (xandross), (Slackware)
Posts: 16
Rep:
|
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.
|
|
|
|
06-04-2010, 12:19 PM
|
#5
|
|
LQ Newbie
Registered: Mar 2010
Posts: 5
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:14 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|