Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-09-2003, 02:25 PM   #1
LQ Newbie
Registered: Oct 2003
Location: Hong Kong SAR
Distribution: redhat 9.0
Posts: 9

Rep: Reputation: 0
why the partition is full?

I've just reinstalled the RH9. I chose not to format the /home partition, which is /dev/hda9 in my filesystem. After installation, surprisingly, i found that I cannot access the former user directory. I had to add a new user and delete the old one.(i used mandrake9 before)
The problem now is, I can't write anything on the /home partition, since the OS believe it is full, although it is far away from it.
df -H
Filesystem Size Used Avail Use% Mounted on
/dev/hda10 3.4GB 2.8GB 424MB 87% /
/dev/hda9 311MB 311MB 0 100% /home
none 123MB 0 123MB 0% /dev/shm

how can i solve the problem?
Thanks in advance.
Old 11-09-2003, 03:48 PM   #2
Registered: Aug 2003
Location: Manchester, England, UK, The World....
Distribution: Gentoo/SuSE 9.0
Posts: 291

Rep: Reputation: 30
if the filesystem is damaged
umount /home
fsck /dev/hda9
but if i were you i would take a look around the /home directory, redhat leaves temporary files on the hard-drive after installation.
Old 11-09-2003, 04:15 PM   #3
LQ Guru
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Something else you can try, with /home mounted, do (as root):

cd /home
du -s *

That'll show you a summary of how much space each directory inside /home is taking up. If there's a really big one, go into that directory and do another 'du -s *' to see if the space is being eaten up by some directory inside there... repeat until you figure out where all the space is going

You can also use the 'find' command to locate excessively large files, but the space might not be in large files. Try this, though:

find /home -size +10000k

That'll show you anything more than 10MB in size. You might also want to look for files, since those get dumped whenever a program crashes. If you see anything called core.12345 or such, delete them immediately. You can use find to locate those also:

find /home -name 'core.*'
Old 11-09-2003, 06:14 PM   #4
LQ Newbie
Registered: Nov 2003
Location: Norfolk, Virginia
Distribution: Slackware 9.1
Posts: 25

Rep: Reputation: 15
sound horrible
Old 11-09-2003, 06:24 PM   #5
Kurt M. Weber
Registered: Oct 2003
Distribution: Slackware
Posts: 335

Rep: Reputation: 35
Are you trying to add something to the end of an already-existing file or create a new file?


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
root partition gets full when using cp -a on another partition timsch75 Linux - General 2 10-02-2005 07:41 AM
What Happens when your partition is full? Echo Kilo Linux - General 4 05-30-2005 08:36 PM
Full Partition PhuckFonix Linux - Newbie 4 05-09-2004 05:55 PM
Partition full BinaryBob Linux - Software 5 04-22-2003 03:23 PM
partition full? sage_tanstaafl Linux - General 1 12-13-2002 05:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:39 PM.

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