Solved

nfs client mount process

Posted on 2002-05-16
4
393 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
ID: 7013899
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
ID: 7015286
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
ID: 7015412
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
ID: 7015742
Can you check the versions of the NFS in both of these machines?
are they same?
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Linux Mint 18 31 79
Linux : taking backup different mount points under the same directory 8 50
VMware Workstation 12 Player 16 42
Linux VM 6 54
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…
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
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…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

863 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

18 Experts available now in Live!

Get 1:1 Help Now