LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-15-2005, 05:14 AM   #1
Trijicon
LQ Newbie
 
Registered: Feb 2005
Posts: 22

Rep: Reputation: 15
df says my hard drive is full but its not


Running slack 10.2 on hda and slack 10.2 on hdb (using hdb as storage space) hdb holds up to 90 GB. I was transfering files earlier and i ran out of space so I deleted about 4 or 5 gigs worth and df still says its 100% full but theres still 5 gigs free on the drive. It looks like this
Filesystem Size Used Avail Use%
/dev/hdb2 90G 85G 0 100%

Anyone know how to adjust this? just seems a bit weird to me never noticed this in all my time using linux. I can still use the space so its not a major problem but its kind of annoying. Even my gkrellm monitor says i have 0.00M free on it when theres 5 gigs free. Also something else I just noticed Gkrellm says that the HD is 96 gigs big and df says its only 90. When partitioning I did use up all the space so I am kinda confused.

Edit: cfdisk says that the drive is 96GB. So does gkrellm but DF says its only 90.

Last edited by Trijicon; 10-15-2005 at 06:24 AM.
 
Old 10-15-2005, 05:46 AM   #2
rkrishna
Member
 
Registered: Mar 2005
Location: chennai(madras), India
Distribution: slackware ofcourse
Posts: 654

Rep: Reputation: 32
a guess

not know but

have u moved ur files to trash, a wild guess

try empty trash fully :0),

regards
 
Old 10-15-2005, 05:56 AM   #3
Trijicon
LQ Newbie
 
Registered: Feb 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Dont think it would be that. I was logged into system A (on hda2) and deleted the files (which are on hdb2) through terminal with rm command. And I dont think that would account for why gkrellm says my hdd is one size and df says its another. However I am currently checking all directorys just incase i screwed the pooch somewhere but no luck so far. Maybe I set the blocks up wrong when I installed this system? its a fresh install I proboly should of mentioned that earlier. I could of swore I used 4096 maybe i made a typo?

Last edited by Trijicon; 10-15-2005 at 06:01 AM.
 
Old 10-15-2005, 07:27 AM   #4
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 420

Rep: Reputation: 90
Re: df says my hard drive is full but its not

Quote:
Originally posted by Trijicon
Running slack 10.2 on hda and slack 10.2 on hdb (using hdb as storage space) hdb holds up to 90 GB. I was transfering files earlier and i ran out of space so I deleted about 4 or 5 gigs worth and df still says its 100% full but theres still 5 gigs free on the drive. It looks like this
Filesystem Size Used Avail Use%
/dev/hdb2 90G 85G 0 100%

Anyone know how to adjust this? just seems a bit weird to me never noticed this in all my time using linux. I can still use the space so its not a major problem but its kind of annoying. Even my gkrellm monitor says i have 0.00M free on it when theres 5 gigs free. Also something else I just noticed Gkrellm says that the HD is 96 gigs big and df says its only 90. When partitioning I did use up all the space so I am kinda confused.

Edit: cfdisk says that the drive is 96GB. So does gkrellm but DF says its only 90.
Unless you tell it not to, when you make a new filesystem 5% of space gets reserved. This is done so that even if the space
is filled processes that log data (apache,ftp,etc) can function properly. 5% of 90GB is 4.5GB so this could be the case.
That is why df reports 100% filled.

If you can write as root but not as user, then this is it.
It is a normal thing. Don't mind the 100% indication you still have 5GB free.
You can run tune2fs to change it if you want but generally it is a good thing to have (e.g on / , /usr, etc)
 
Old 10-15-2005, 08:06 AM   #5
Trijicon
LQ Newbie
 
Registered: Feb 2005
Posts: 22

Original Poster
Rep: Reputation: 15
That does make sense and I've never heard about it before today. Wonder why I didnt see it but even so theres unaccounted space. The drive is 96GB big and it stops at 90GB period so theres 6 gb of unaccounted space. After about 85GB i cant write to it as user but i can write to it as root like you said but im still missing a lot of space any ideas?
 
Old 10-15-2005, 07:10 PM   #6
imitheos
Member
 
Registered: May 2005
Location: Greece
Posts: 420

Rep: Reputation: 90
Quote:
Originally posted by Trijicon
That does make sense and I've never heard about it before today. Wonder why I didnt see it but even so theres unaccounted space. The drive is 96GB big and it stops at 90GB period so theres 6 gb of unaccounted space. After about 85GB i cant write to it as user but i can write to it as root like you said but im still missing a lot of space any ideas?
96GB ? you mean the whole drive ?

The partition is 90GB from what df says.
Code:
Filesystem Size Used Avail Use%
/dev/hdb2 90G 85G 0 100%
The other 6GB must be occupied by other partitions (hdb1 maybe ?)
The 5% reserved space i mentioned is per filesystem, so it is measured using the 90GB that the partition occupies.
 
Old 10-15-2005, 11:40 PM   #7
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
sounds like conversion loss...

96 GB(10^3) == 89.4 GB(2^10)
 
Old 10-30-2005, 05:10 AM   #8
oldlabrat
Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
check out http://batleth.sapienti-sat.org/proj.../ext3-faq.html

sounds like you may have an "open" deleted file. I ran into this with a log file that consumed /var - df -h showed the partition at 100%, df -i showed /var at 1%. lsof showed the file causing the problem
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB External Hard Drive - Slax v5.0.6 says it's full, Windows claims otherwise Django Linux - Newbie 4 11-18-2005 12:28 PM
USB External Hard Drive - Slax v5.0.6 says it's full, Windows claims otherwise Django Linux - Hardware 2 11-16-2005 03:27 PM
Grub problem due to full hard drive nixnix Linux - General 2 08-19-2005 10:35 AM
SuSE not seeing full hard drive SuSE05 Linux - Hardware 4 04-22-2005 09:20 PM
How to install full download(Suse 9.0) from hard drive Larsin Linux - Newbie 8 02-02-2004 01:47 PM


All times are GMT -5. The time now is 09:00 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration