LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-09-2003, 01:25 PM   #1
xyfan
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, 02:48 PM   #2
randomblast
Member
 
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, 03:15 PM   #3
wapcaplet
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 core.xxx 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, 05:14 PM   #4
supertechmyers
LQ Newbie
 
Registered: Nov 2003
Location: Norfolk, Virginia
Distribution: Slackware 9.1
Posts: 25

Rep: Reputation: 15
sound horrible
 
Old 11-09-2003, 05:24 PM   #5
Kurt M. Weber
Member
 
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?
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration