SUSE Conversations


Solving Error when using df -h



By: SHASHIKALA

September 12, 2007 2:14 pm

Reads:163

Comments:0

Rating:0

Problem:

When you enter dh -h command on the Linux console it suddenly throws the following error:

df: cannot read table of mounted file systems: no such file or directory.

This is mainly because the system is out of disk space. Hence it is not able to run df -h.

If you give mount command also it does not show any mounted volumes.

If you try to restart the system also the problem will not solve. Here you will see some more error messages poping up while booting like “GDM could not write a new authorization entry to disk. Possibly out of diskspace. Error: No space left on device” and if you continue by pressing OK then it says Graphical view cannot be started and finally ends up by giving NSS failed error

.

Click to view.

Figure 1

Click to view.

Figure 2

Solution:

  1. Before rebooting the system, free up the disk space and restart the system.

 

  1. After rebooting (remember system will not be up completely), go to any of the terminals by pressing Ctrl+Alt+F1 and login with root account and then delete some files and then restart the system. (delete temp files or unnecessary data (user created files) on the HDD which is consuming disk space)
VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Tags: ,
Categories: Enterprise Linux, Technical Solutions

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

Comment

RSS