Mombu the GNU Linux Forum

Go Back   Mombu the GNU Linux Forum > GNU_Linux > hda1 used 100%
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 5th November 05:09
cl
External User
 
Posts: 1
Default hda1 used 100%



Hi All,
I am a windows admins needed to support Linux. Today I realise that my hda1
is full which ussually got about 1GB of free space. It is very unussual for
the 1GB to be used within a day cause I am the only one that can access to
the drive & no shared folder has being created on this drive. (Home Drive is
on another drive). Is there a way to check what use up the space & what is
safe to delete?

FYI, It is running Samba Server & SendMail Server.

BTW, will it cause kernel panic if boot drive is out of space?
  Reply With Quote


 


2 5th November 05:09
dominik l.. borkowski
External User
 
Posts: 1
Default hda1 used 100%



du -hs /*

and work your way down.


it may be your incoming mailboxes, in /var/spool/mail


ask yourself, would windows be happy if it would run out of disk space?
  Reply With Quote
3 5th November 05:10
jeffrey froman
External User
 
Posts: 1
Default hda1 used 100%


Two likely suspects are /var/spool/mail and /var/log. Nothing is safe to
delete if you're not sure what it is :-)

Good luck,
Jeffrey
  Reply With Quote
4 5th November 05:10
cl
External User
 
Posts: 1
Default hda1 used 100%


Thank Dominik for the fast reply.
The person who setup the server solved the problem. He told me it is cause
by unproper mounting. However, he didn't tell me how unproper mounting can
eat up the space & how to claim back the space next time? Anyone mind telling me?

I thought Linux is so good that it can find the diskspace somewhere else or
even created from air.
  Reply With Quote
5 5th November 05:10
dominik l.. borkowski
External User
 
Posts: 1
Default hda1 used 100%


sure. go ask the person who told you this very vague explanation.
  Reply With Quote
6 5th November 05:11
cl
External User
 
Posts: 1
Default hda1 used 100%


Too vague? Okey you see, I setup a cron job to copy some files to a XP
system at night. Sometime it just fail to mount. Without doing anything,
when I try to mount again in the morning, no problem at all. I think this is
what he mean by unproper mounting. Will this make it a little more not so
vague?

I tried to ask him but he is not so friendly or patient to explain to me..
  Reply With Quote
7 5th November 05:11
cl
External User
 
Posts: 1
Default hda1 used 100%


Thank you. Problem solved.
  Reply With Quote
8 5th November 05:13
muxaul
External User
 
Posts: 1
Default hda1 used 100%


Do as root:

# cd /
# du -hsx *

M.
  Reply With Quote
9 5th November 05:13
laurenz albe
External User
 
Posts: 1
Default hda1 used 100%


I can only guess:

If your /etc/fstab is broken, it may be that some of your file systems
are not mounted as they should on system startup.

If, for example, your /var is on another file system, but is not mounted
during startup, programs will happily scribble into the /var directory,
which is the mount point in the root file system (since /var didn't mount).

This will cause the root file system to fill up.

Yours,
Laurenz Albe
  Reply With Quote
10 5th November 05:18
cl
External User
 
Posts: 1
Default hda1 used 100%


As simple as that. How come I never think of it. Thanks Laurenz.
  Reply With Quote


 


Reply


Thread Tools
Display Modes




666