Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
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
Medium Priority
?
397 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 2000 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

Google Certified Professional - Cloud Architect

This course (1 of 3) is designed to help students who are interested in Google Cloud Platform (GCP) to become familiar with the platform, navigate the console and learn its capabilities. It will also prepare students for the Google Cloud Architect certification exam.

Question has a verified solution.

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

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Suggested Courses

722 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