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
393 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 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