
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 36.2K Views
Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 20.7K Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 36.2K Views
To remount without rebooting you could use:
mount -o remount /mountpoint
----------------------------------------------------------------------------------
If you're satisfied with the solutions provided please mark the solution as ACCEPTED.
Don't forget to thank those who helped you out with kudos!


- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 36.1K Views
I would expect that your df -H hanging is a symptom of issues with your cifs device or configuration. As the df marches through the mounted filesystems, it gets to that one and is unable to get a response, hence why it is hanging. It is unusual that you would need to remount it unless you're doing something like suspending a laptop and changing it's networks where the cifs mounts was initially connected (original network) but now is not (new network).
-STM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 36.1K Views
Hi ,
I have same kind of problem in my envoirnment . So in case if mount -o remount does not work does not work .
Try # umount -lf /mountpoint
Please check firewall rules on samba server allow access to remote machine . Sometime because of slow reponse from sambe or nfs share ,df -h output hangs becasue check connectiviy between share drive .
Also in case you want to df -h command to check other partition size , Use
#df -h /mountpoint
Till share drive issue solve .

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 20.7K Views
Hi,
#strace /bin/df #and verify were it hangs
# umount -l /pathToMount

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 16.8K Views
This worked like a charm, Thank You

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 12.7K Views
strace command is very very useful to find the errent mount!! Then simpley umount
-l /pathToMount, as shown above, WORKS EXCELENT & SIMPLE.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,445 Views
I unmounted my nfs share using umount command. But it is not mounting back using mount -a command. Please help.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 6,423 Views
@Kailas4035 try mounting with -v and see what it is showing. Check in the logs for any error / info.
Are there other clients as well - were the issue is found in any of those clients as well ? If yes then it is a NFS server side issue. Check for service and logs in the server.
If other clients are working fine then check the affected client side - network issue can be affecting. You can use the tcpdump script here to capture the packets and analyse the network issue : https://access.redhat.com/articles/4330981#intermittent

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- 16.5K Views
Hi @Mukeshkumar ,
Thanks for reaching out !
You should first try to find out the reason for the hung df -h command using strace command : strace /bin/df -h or strace mount -t cifs //<cifsserverIP>/share /mnt
There can be multiple reasons for the hung df -h like :
1. May be CIFS server is not responding.
2. May be there is a problem with the network connection between the RHEL server and the CIFS server.
3. Finally, it is also possible that there is a problem with the CIFS file system itself.
Once you found out the reason for hung df -h , then use lazy unmount :
umount -l <mountpath>
then, mount the file system using mount -a. This should resolve your issue.
Here are some additional tips for troubleshooting if df -h hangs for a CIFS mount:
- Check CIFS server's logs for any errors.
- Check server's logs for any errors.
- Try mounting the CIFS file system from a different server.