DbAppWeb.com

Menu
  • Home
  • Linux
  • HP-UX
  • macOS
  • Windows
  • Web Servers
  • App Servers
  • Storage

NFS mount points unreachable and df hangs

March 8, 2018 DbAppWeb Admin

Problem

I had an NFS server from which some folders were shared with the client-server. Shared folders were mounted on the client server. Due to some hardware problem in the NFS server, the server suddenly becomes dead and after that when I tried to access the shared folders they were not accessible. When I tried the df command it becomes hanged as shown below:

[root@nfs-client ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              95G   22G   69G  25% /
/dev/sda5              84G  1.1G   79G   2% /var
/dev/sda1             244M   17M  215M   8% /boot
tmpfs                 4.9G     0  4.9G   0% /dev/shm

Reason

This problem occurred because NFS shared folders were not accessible. When I tried to umount to the mounted folders using umount command then it also did not become successful.

Solution

Finally, I removed all mountings using the command umount with -f -l as shown below and after that df command worked fine.

[root@nfs-client ~]# umount -f -l /home/folder1
[root@nfs-client ~]# umount -f -l /home/folder2
[root@nfs-client ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2              95G   22G   69G  25% /
/dev/sda5              84G  1.1G   79G   2% /var
/dev/sda1             244M   17M  215M   8% /boot
tmpfs                 4.9G     0  4.9G   0% /dev/shm
[root@nfs-client ~]#

Note: In the above case, the NFS server was an RHEL 6.8 machine and the nfs-client was an RHEL 5.5 machine.  

 

Prev Article
Next Article
Tags:File System Linux Mountings NFS Sys Admin

Leave a Reply Cancel Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Popular
  • Recent

Categories

  • Android (2)
  • Blogger (16)
  • Domain and Hosting (1)
  • Hardware Issues (7)
  • HP-UX (55)
  • HPE Data Protector (9)
  • IBM Lotus Notes (2)
  • IBM WebSphere Application Server (16)
  • Internet Tips & Tricks (15)
  • iOS (8)
  • JBoss/WildFly Application Server (2)
  • Linux (76)
  • macOS (15)
  • Microsoft Windows (31)
  • News and Updates (11)
  • Oracle Database (5)
  • SSL/TLS (1)
  • Storage Servers (23)
  • Tools/Softwares (1)
  • VMware ESXi (17)
  • Web Servers (14)
  • WordPress (5)

Archives

DbAppWeb.com

Solution of Database, Application and Web Server Problems

About DbAppWeb.com

One Stop Solution for Database Server, Application Server and Web Server Problems.

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

DbAppWeb on Social Media

Copyright © 2025 DbAppWeb.com
Terms and Conditions   Theme by MyThemeShop.com