/home partition mysteriously filling up

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.

Everything Linux 1798 This topic was started by ,


data/avatar/default/avatar35.webp

2 Posts
Location -
Joined 2005-03-11
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

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar10.webp

2895 Posts
Location -
Joined 2002-08-30
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?

data/avatar/default/avatar35.webp

2 Posts
Location -
Joined 2005-03-11
OP
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...