Highlighted
  • 5,476 Views

df -h hangs

In my RHEL server I have mounted cifs file system. When I gave dF -h it hangs an no any output of command How I can remount all those cifs file system without rebooting server.
0 Kudos
3 Replies
Highlighted
Moderator
Moderator
  • 5,471 Views

Re: df -h hangs

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!

Reply
Loading...
Highlighted
Starfighter Starfighter
Starfighter
  • 5,455 Views

Re: df -h hangs

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

--
Principle Technical Marketing Manager, Red Hat Enterprise Linux
Red Hat Certified Engineer (100-000-264)
0 Kudos
Reply
Loading...
Highlighted
Cadet
Cadet
  • 5,440 Views

Re: df -h hangs

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 .

0 Kudos
Reply
Loading...
Join the discussion
You must log in to join this conversation.