Dave's Brain

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

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

Add a comment

Sign in to add a comment
Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.