Re: Linux 2.0.30 losing HD space?

Geert Uytterhoeven (Geert.Uytterhoeven@cs.kuleuven.ac.be)
Wed, 11 Jun 1997 09:50:36 +0200 (MET DST)


On Tue, 10 Jun 1997, Travis Woodbury wrote:
> On 10 Jun, Niels wrote:
> > On Tue, 10 Jun 1997, Baldur Norddahl wrote:
> >
> >> I have another server that also have this problem. The only common factor
> >> between these two servers I can think of is that they are running linux
> >> 2.0.30 and they have long uptimes.
> >
> > I once had a rather funny problem on my computer at home. / is a small
> > partition that inadvertantly got filled while a crontab moved some
> > logfiles around. However, when I attempted to fix the problem by removing
> > the old log files, df / would give free disk space on / for only a few
> > seconds before it was filled up totally again! No process was holding
> > anything open, I'm sure of that.
> >
> > Eventually I hit the reset button, /tmp is also on /. e2fsck reported
> > indeed lots of "zero dtime" warnings... After that, everything back to
> > normal, and haven't had a similar problem since.
>
> I had a problem about a week ago where I was really low on disk
> space(0M). I proceded to delete unneeded files from my system and
> free'd up about 50M. Within a few minutes my disk was full again. I
> again deleted some extra stuff (10Meg) and watched my disk space
> dissapear as I continually did 'df's. I looked a little closer and saw
> that some of my directorys were not the normal 1k size. Some were as
> large as 12Meg. I then unmounted and remounted the partionion that was
> getting full and have had no problems since.

Are you using process accounting? If something goes wrong with that,
/var/account/pacct grow at disk I/O speed until /var is filled.

Once restarting pacct helped, but another time I had to reboot (or to live
without pacct).

Greetings,

Geert

--
Geert Uytterhoeven                     Geert.Uytterhoeven@cs.kuleuven.ac.be
Wavelets, Linux/m68k on Amiga          http://www.cs.kuleuven.ac.be/~geert/
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium