Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have centos 5.3 linux install and NFS shared from here to two servers. It was working fine and all of sudden it is unmounted. Again i tired to mount but it says servers down messages eventhough server is up with network connectivity.
I started nfs and portmap in server which are all running in the server
oops , It showed the ipaddress instead of nfsserver which i replaced, so hostname is spnas1 only .
[root@spnas1 ~]# nmap spnas1
Starting Nmap 4.11 ( http://www.insecure.org/nmap/ ) at 2009-10-21 16:07 PDT
Interesting ports on spnas1.etouch.net (192.168.0.34):
Not shown: 1673 closed ports
PORT STATE SERVICE
22/tcp open ssh
111/tcp open rpcbind
621/tcp open unknown
691/tcp open resvc
752/tcp open qrh
901/tcp open samba-swat
2049/tcp open nfs
Nmap finished: 1 IP address (1 host up) scanned in 0.109 seconds
I share a user filesystem (/fs) with my LAN on the 192.168.1.0 subnet, and a locally mounted snapshots backup directly only with the localhost. (This is hack to get a readonly copy of a rw physical filesystem.)
Last edited by jhwilliams; 10-21-2009 at 06:52 PM.
In the first case (with the other machines, not with localhost) is there no nfs or server-side errors in the logs?
Worth highlighting that the mountd error you posted was technically a client-side error that just happened to appear on the same box; The nfsd or rpc errors will be the juicy ones.
Do you have any funny business going on in /etc/hosts? Does anything change if you no_root_squash the commented out line, above? Who are the owner and permissions of the server's NFS share? Does that owner have the same user name, user id, group name, group id as the one on the client? (i.e. are these root, and 0 respectively?)
I'm afraid I'm running short on ideas otherwise, linuxguy.
Root squashing is one such facet of NFS for which I have not gained a full technical appreciation, to date. :-) Seems to mess stuff up if the on/off bit is in the wrong position though. Does anyone have less of a bit explanation for linuxguy's example? Even a two-bit explanation (hoho?)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.