Jump to content
Compatible Support Forums
Sign in to follow this  
timmah

/home partition mysteriously filling up

Recommended Posts

I have a strange problem. Recently, I started getting strange errors saying that things could not be saved in my home directory, and quickly checked with df..

 

Here is what I get:

# df

Filesystem Size Used Avail Use% Mounted on

/dev/hdc1 5.8G 2.2G 3.4G 40% /

/dev/hdc6 31G 31G 0 100% /home

/dev/hdd1 19G 832M 17G 5% /var/www

 

 

hmm... so I have 31G used in the home partition...

 

This morning, I searched for whatever is taking up all of this space and found a 300MB log file, and deleted it (far from 31G, but it's a start) then df showed some free space.

 

this afternoon, it was back to full, so I decided to look further. I did used the du -h --max-depth=1 commmand from the root folder and got this:

# du -h --max-depth=1

142M ./home

20K ./mnt

152K ./dev

20M ./etc

460K ./tmp

...

...

 

Can anyone point me in the right direction on this problem?

 

Thanks,

 

Tim

Share this post


Link to post

I'm not going to be much help here, but let me ask a few questions.

 

Is this system meant to be set up as a web server?

 

What exact distro and version are you using?

Share this post


Link to post

Well, I seemed to have spoken too soon... I ran into more errors when trying to unmount, and decided to shut down and restart. upon restart, fsck ran, and found some inode error, fixed it, and all is good in the universe now...

 

I feel really bad that I fixed this myself by basically restarting the dang thing, I will have to start follwing my own advice on that subject from now on...

Share this post


Link to post

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×