Re: corrupted cache

From: Kendall Lister <kendall@dont-contact.us>
Date: Thu, 14 Oct 1999 13:08:34 +1000 (EST)

On Thu, 14 Oct 1999, Phillip Morgan wrote:

> I have a rather embarrassing problem. On my 8gig IDE drive when
> formatted unled linux 2.0.36 df shows the total blocks as 7956k. So I
> set my cache size for Squid 2.2.stable4 to 7950 16 256.
>
> When the 8gig drive is full a maximum of 7548k blocks are used, but df
> shows the disk as 100% full. Unfortunaetly over 400 megs have gone to
> the great void, and squid never reached 98%, resulting in an out of
> disk space error and squid started crashing.

That 400 Mb looks a lot like 5% of 8 Gb, which is the portion of disk
space reserved for super user access by the ext2fs. For a cache partition,
you might well want to turn this down to 0%, by giving mke2fs the -m 0
option.

--
 Kendall Lister, Systems Operator for Charon I.S. - kendall@charon.net.au
  Charon Information Services - Friendly, Cheap Melbourne ISP: 9589 7781
Received on Wed Oct 13 1999 - 21:17:20 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:48 MST