Click here to Skip to main content
15,892,746 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Hi all,

when i try to install new software on linux server , i get an error
No space left on device

i used df and df -i command to checked disk space . I received results :

 #df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1             30237648  30236852         0 100% /
tmpfs                  2097152         0   2097152   0% /lib/init/rw
udev                     10240        20     10220   1% /dev
tmpfs                  2097152         4   2097148   1% /dev/shm

 #df -i
Filesystem            Inodes   IUsed   IFree IUse% Mounted on
/dev/sda1            3842720  116126 3726594    4% /
tmpfs                 524288       4  524284    1% /lib/init/rw
udev                  524288     283  524005    1% /dev
tmpfs                 524288       3  524285    1% /dev/shm


so , anybody help me to fix it ?

thank alot !

[edit]Code block added - OriginalGriff[/edit]
Posted
Updated 21-May-12 22:04pm
v2
Comments
E.F. Nijboer 22-May-12 3:32am    
Time to buy another hard drive?

I'm not linux expert, but I would suspect the first line in the first report is telling the story:
Available   0
Use%        100
Time for a new, bigger, disk, or a major cleanout!
 
Share this answer
 
I've had this problem before.

I had to go to /var/log and delete the messages* files.
 
Share this answer
 
Comments
thuanleminh 22-May-12 23:34pm    
I deleted all messages* files but i still receive same result
Hex01 23-May-12 10:24am    
From the root directory try
du -xd1
to narrow down which directory is taking up all the space.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900