LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-01-2018, 08:15 PM   #1
yuvaraj.cbe
LQ Newbie
 
Registered: Jan 2018
Posts: 2

Rep: Reputation: Disabled
df -h hung and NFS mount point unable to mount.


Hi All,

I need help to fix the NFS Automount issue on one Linux machine repeatedly I am getting df -h Hung and NAS NFS mount points are unable to mount.

I have restarted NFS & Autofs service multiple times & try to mount NFS mount Point but no luck.

Please provide a solution without reboot to fix this issue.


Thanks
Yuvaraj
 
Old 01-02-2018, 08:54 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You can see what it thinks is mounted by typing "cat /etc/mtab".

You can try "umount -f" to force unmount of NFS mount but that often doesn't work if the server that shared the mount isn't accessible. If it doesn't work usually "umount -l" to do a "lazy" unmount of the mount will work. After doing that do ctrl-c in the windows where you ran "df -h" then retry the "df -h" - it should now work.
 
Old 01-02-2018, 06:59 PM   #3
yuvaraj.cbe
LQ Newbie
 
Registered: Jan 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thumbs down

Quote:
Originally Posted by MensaWater View Post
You can see what it thinks is mounted by typing "cat /etc/mtab".

You can try "umount -f" to force unmount of NFS mount but that often doesn't work if the server that shared the mount isn't accessible. If it doesn't work usually "umount -l" to do a "lazy" unmount of the mount will work. After doing that do ctrl-c in the windows where you ran "df -h" then retry the "df -h" - it should now work.
It is not working for me

When I try mount <NFS Server>:<fileystem> <mount Point> it is hung but no luck.
 
Old 01-03-2018, 07:52 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
My post regarded ways to unmount so you could clear the "df -h" hang. Have you solved the hang by UNmounting?

As to mounting:
Try to remove it from automounter configuration then just do a command line mount of the filesystem to see if it works.

Check your exports file on the server that has the original mount to verify it is allowing the server you're trying to do the NFS mount on access to the filesystem.
 
  


Reply



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
mount.nfs: mount point /mnt/cdrom is not a directory Error Anna23 Red Hat 1 06-29-2014 06:27 AM
NFS mount point mount as readonly on AIX davinders Linux - Server 1 09-25-2011 12:23 PM
puppy+grub saves ram installed mount point as HD install mount point agualust Linux - Newbie 0 04-10-2009 11:23 AM
mount NFS to mount point then share out the mount point ionic_slim Linux - Networking 2 04-20-2008 12:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration