LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 11-21-2004, 08:45 AM   #1
wishbone42
LQ Newbie
 
Registered: Aug 2003
Location: Berkshire
Distribution: SuSE 7.3 and 8.2
Posts: 6

Rep: Reputation: 0
no free space on / after deleting files


Hi,

Linux SuSE 8.1

I'm unable to download files even 'though I've deleted over 30 megabytes of old files using rm. I get the following from the df command.

linux:/ # df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda7 4316640 4093632 108 100% /
/dev/hda5 23300 2738 19359 13% /boot
shmfs 31044 0 31044 0% /dev/shm

linux:/ # df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda7 4316640 4093752 0 100% /
/dev/hda5 23300 2738 19359 13% /boot
shmfs 31044 0 31044 0% /dev/shm

linux:/ # df -i
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/hda7 1114112 147780 966332 14% /
/dev/hda5 6024 32 5992 1% /boot
shmfs 7761 1 7760 1% /dev/shm


The first was after a reboot. The second after it used what space it felt it had left.

The df command on the one hand indicates that there should be storage available but on the other it indicates 100% use.

Has anyone any ideas on how to reclaim the space that seems to have gone missing?

Thanks,

wishbone 42
 
Old 11-21-2004, 09:05 AM   #2
qwijibow
Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
depends on how big the drive is.... the % free value is rounded off to the nearest 1%. so you may have 99.5% in use

use the command "df -h" the -h switch makes df output human readable code.
 
Old 11-21-2004, 12:03 PM   #3
wishbone42
LQ Newbie
 
Registered: Aug 2003
Location: Berkshire
Distribution: SuSE 7.3 and 8.2
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for your response.
I've checked the figures on a virtually identical server and they work out to within 0.1%, so that bears out in part what you say, but the discrepancy between total and used on this system is approximately 5%.
It also doesn't explain why deleting some 30 megs of files didn't seem to make a difference. Still a bit of a puzzle.
Regards,
 
Old 11-21-2004, 01:09 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,152

Rep: Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783Reputation: 783
If using an ext2/3 filesystem 5% by default is reserved space for root.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No free Space even after deleting files (ext3) jeffUK Linux - General 6 08-21-2005 08:13 PM
Low disk space, problem deleting files gtzpower Linux - Software 1 05-24-2005 10:57 PM
rm'ing files doesn't free up disk space Earlw Fedora 4 03-06-2005 07:40 PM
HD space not going up after deleting files MikeZila Linux - Newbie 8 07-04-2004 10:04 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 06:10 AM


All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration