Solved

df -k shows no space left, even after i delete things. Always 100% use Disappearing hard drive space! :(

Posted on 2004-04-27
5
391 Views
Last Modified: 2013-12-15
Hi,

I recently was doing some cp -R and some deletions of files when installing XFree 4.4, so that now I have a strange error - even when I delete files, my hard drive shows that 100% of disk space is used. I can delete more and more files, but it still always shows 100% usage.


[root@icecream root]# df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda2              8127808   7911328         0 100% /
/dev/sda1               101089     15059     80811  16% /boot
none                    256672         0    256672   0% /dev/shm
[root@icecream root]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             7.8G  7.6G     0 100% /
/dev/sda1              99M   15M   79M  16% /boot
none                  251M     0  251M   0% /dev/shm
[root@icecream root]#

Are some examples.  I can still write stuff / copy stuff using root until the sda2 used is the actual number of 1k-blocks. However, when another user (regular user) tries to write to the disk, it says the disk is full.

What might be the problem?

Thanks.!

-Edward
0
Comment
Question by:edwardt
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 500 total points
ID: 10933839
There's a percentage of each file system reserved (10% as I recall) that root, and only root, can use. In your case this would mean that the amount used would have to drop below 7315000 or so before the Use% would go below 100%. Since the file system is at 7911328 you'd need to remove some 600Mb more to fall below 100% in use.
0
 

Author Comment

by:edwardt
ID: 10933840
By the way, my inodes says

[root@icecream root]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda2            1032192  261058  771134   26% /
/dev/sda1              26104      49   26055    1% /boot
none                   64168       1   64167    1% /dev/shm

So I haven't run out of inodes.

-Edward
0
 
LVL 40

Expert Comment

by:jlevie
ID: 10933886
Correct...
0
 

Author Comment

by:edwardt
ID: 10933904
By the way, my inodes says

[root@icecream root]# df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda2            1032192  261058  771134   26% /
/dev/sda1              26104      49   26055    1% /boot
none                   64168       1   64167    1% /dev/shm

So I haven't run out of inodes.

-Edward
0
 

Author Comment

by:edwardt
ID: 10933946
Perfect answer. Thanks!

-Edward
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question