Browse - Computer Tips - What should I do when df is hung (frozen) ?

Date: 2012dec23
OS: Linux

Q.  What should I do when df is hung (frozen) ?

A.  I have seen this happen because of trouble with remote filesystems.
(eg NFS or Samba mounts) so use the -l command to only see the local
files:

df -l
If this doesn't hang you know its a remote filesystem issue. Maybe the other machine is down, etc. You can use the -f (force) option for umount on your remote filesystems eg:
umount -f /mnt/mywindowsbox/drive_c