Re: Small file taking up lots of disk space - Mailing list pgsql-general

From tycho@fruru.com
Subject Re: Small file taking up lots of disk space
Date
Msg-id Pine.LNX.4.44.0303271634070.13275-100000@gilmore.ael.be
Whole thread Raw
In response to Small file taking up lots of disk space  ("Jason Williams" <jwilliams@wc-group.com>)
List 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


pgsql-general by date:

Previous
From: "Loki"
Date:
Subject: PostgreSQL + IDS load/latency help
Next
From: Greg Stark
Date:
Subject: Bug in contrib/intagg int_array_enum() ?