Solved

nfs client mount process

Posted on 2002-05-16
4
392 Views
Last Modified: 2013-12-15
Dear All,

I have tried to mount a nfs resource from a remote linux, using the commands
mount -t nfs 192.168.0.38:/path_to_nfs_share mount_pt
but this commands hangs there and never return. Even I use kill -9 the_process_id, the process still can't be skilled. Even I try to reboot, the system hangs when trying to kill the process.. Can anyone explain this situation to me, and teach me how to kill the process without resort to a hard-poweroff.

Btw, how can I check the resources shared via NFS in a remote/local linux box?

And How can I check if the nfs server is working properly?


Thanks,
KC
0
Comment
Question by:kcwang7
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 300 total points
Comment Utility
The first thing to check is to see if the remote server thinks that it is exporting what you want to mount. And the easiest way to do that is to log onto the remote and issure the command 'exportfs'. That will tell what volumes are being exported and what, if any, mount restrictions are in place. For example on my local system I see:

chaos> exportfs
/nfs0              10.1.0.0/24

Which says that /nfs0 is being exported, but only to hosts in the 10.1.0.0 network. A quick check on the remote is to see if it can mount its own export with:

# mkdir /mnt/nfs
# mount localhost:/path-to-volume /mnt/nfs

If indeed the remote is exporting the volume in a manner that should allow you to access it you need to determine if a firewall is running on the remote or if there are any firewalls in the path between you and the remote. Unless special configurations have been done a firewall will prevnet NFS mounts from occuring.
0
 

Author Comment

by:kcwang7
Comment Utility
your comment answers parts of my original question. Can u also explain to me that if a "mount remote:/path-to-volume /mnt/nfs" is unsuccessful, and hangs there. what should I do?

Thanks
KC
0
 
LVL 40

Expert Comment

by:jlevie
Comment Utility
I probably can't answer the question about the mount hanging with out knowing where the the remote server is in relation to your workstation. Are both on the same local network, i.e., both in 192.168.0.0/24? Or are they on different networks with some router or firewall in between?

Also I need to know what Linux is in use on the NFS server and what you are using on the local workstation. And I need to know if the remote server can mount its own export. There could any of a number of reasons that the mount is failing and without more information it's hard to suggest a cause.
0
 
LVL 3

Expert Comment

by:cincin77
Comment Utility
Can you check the versions of the NFS in both of these machines?
are they same?
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now