LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-26-2004, 04:22 PM   #1
mcm8327
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Rep: Reputation: 0
Can't free disk space


I am running Redhat 9 and had just finished running up2date. I had not updated for a couple months so there were quite a few updates. After the process finished it was successful and I decided to reboot. When the machine came back up X didn't want to start correctly so I deleted the XF86Configure file and created a new one and that solved that problem, not sure if that is related. Now, for the real problem. I noticed through my samba share and later through Kdiskfree and df that my / partition is at 100% use. I was on my windows box, so through the samba share I deleted several large files in my home folder and potentially freed up .5 Gb. The problem is that no free space has been reallocated. df still shows 100% used. I started the system in single user mode and unmounted the drives, then ran a fsck. This found no errors. I also looked in lost+found just in case something had appeared in there. I have deleted files from the linux box and with df it seems the used space decreases but the available never changes from 0.

How can I fix this.

Thanks
 
Old 03-26-2004, 04:30 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'd suggest using "du -h / --max-depth=1". this will give a single level list of how much space is being used by each directory, you can then track the unneeded files down easily enough. i'd guess it was somethign inside /var...
 
Old 03-26-2004, 04:43 PM   #3
mcm8327
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for the tip, that helped me find some junk that I did not know was on there. I deleted a couple of gigs and then did a df. Now it shows free space again, I guess it takes more than a couple hundred megs before it shows available space for some reason.

Thanks again.
 
Old 03-26-2004, 05:37 PM   #4
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Are you sure your home directory isn't on a separate partition? (Sorry if that sounds patronising, ya never know how (in)experienced some people on here are)
 
Old 03-29-2004, 08:19 AM   #5
mcm8327
LQ Newbie
 
Registered: Jul 2003
Posts: 5

Original Poster
Rep: Reputation: 0
Yeah it was all on the same partition. I'm not sure why I was originally having trouble.
 
  


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
No free space on disk, but there is? Recirqie SUSE / openSUSE 4 02-22-2013 01:17 PM
How much disk space do I have free? Ian D Linux - General 5 10-27-2005 06:22 PM
free disk space mp4-10 Linux - Software 1 04-06-2005 03:32 AM
Free up disk space TheShemeta Slackware 5 11-26-2003 04:50 PM
free disk space? Alf829 Linux - Newbie 3 08-01-2003 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:41 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
Open Source Consulting | Domain Registration