IT Knowledge Base

Technical Repository

HowTo: Linux – How to find out which file system is causing the DF command to hang

If you type “df -k” in a terminal window, and the command hangs (does not return), to find which filesystem is causing the hang:

1. Type mount -p to print the list of mounted file systems:

# mount -p

2. Now type your df command again:

# df -k

Compare the output of the two commands, the filesystem missing from the df output is likely causing your hang. Verify why and correct. Possible reasons could be remote server down or filesystem no longer exported.


mount -p; df -k

Leave a Reply