Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2008 09:56:48 +0300
From:      Krassimir Slavchev <krassi@bulinfo.net>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Incorrect file size?
Message-ID:  <485F4930.601@bulinfo.net>
In-Reply-To: <g3gek1$22j$1@ger.gmane.org>
References:  <485BA3D2.3090108@bulinfo.net>	<20080620132833.GB83165@rink.nu>	<g3gcqe$qfv$1@ger.gmane.org>	<20080620140623.GC83165@rink.nu> <g3gek1$22j$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Ivan Voras wrote:
> Rink Springer wrote:
>> On Fri, Jun 20, 2008 at 03:54:22PM +0200, Ivan Voras wrote:
>>> Except that the file in question should be, judging by the filename, a
>>> simple text file. I don't really see how a whitelist could grow to such
>>> monstrous sizes :) Most likely it's a file system corruption - fsck
>>> should be the first thing to try.
>> The 'vscan' user leads me assume this is SpamAssassin - I've seen this
>> behaviour at work, where our scripts were trying to backup a 1TB file
>> (which actually was ~vscan/.spamassassin/auto-whitelist). The result was
>> that the backup script died due to lack of disk space on the backup
>> server (as we don't use compression).

Yes, it is SpamAssassin and I have the same problem with the backups.
The Amanda complains with:
 xxxxxxxxxxx  /  lev 1  FAILED [dump larger than available tape space,
307256178 KB, skipping incremental]
 yyyyyyyyyyyy / lev 4 FAILED [dump larger than tape, 354005617 KB,
skipping incremental]

I don't think this is a file system corruption because there are no
reasons for this. Also I have seen this on different machines.

Any ideas how to fix this?

>>
>> When I was investigating why the file could be so large it, it turned
>> out the file was only a few hunderd 'real' MB's, so that is why I assume
>> this person is having the same issue as we do. The file is a Berkeley DB
>> file, by the way, so there's nothing textfile about it ;-)
> 
> I learn something every day :)
> Didn't know BDB was smart enough to create sparse files.
> 



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFIX0kwxJBWvpalMpkRAjkaAKCbF7sylsDyI2umCAoneqBqAYCNqwCgnQjA
9FkgJiVhqNI2NGCAlWpqfbg=
=PQZ1
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?485F4930.601>