Re: Small file taking up lots of disk space

From: tycho(at)fruru(dot)com
To: Jason Williams <jwilliams(at)wc-group(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Small file taking up lots of disk space
Date: 2003-03-27 15:35:57
Message-ID: Pine.LNX.4.44.0303271634070.13275-100000@gilmore.ael.be
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 25 Mar 2003, Jason Williams wrote:

> Hello,
>
> I have a server running RH 7.2 with kernel 2.4.7-10smp.
> We are running postgresql 7.2.1 and it has generated a log file.
>
> "ls -l" reports this file to be of 9531465 (9.5MB) bytes in size.
> "du" reports this file to be using 17833520 1K blocks (18GB) of disk
> space.
[snip]
> Anybody have a clue what is going on here?

Try to upgrade your kernel to something more recent (like 2.4.20). I've
encountered the same behaviour with old kernels on ext3 filesystems and
postgres. It's nothing that a nice e2fsck cannot correct though.

Cheers,
Tycho

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Greg Stark 2003-03-27 15:50:10 Bug in contrib/intagg int_array_enum() ?
Previous Message Peter Nixon 2003-03-27 15:34:57 hex to decimal and back again