Re: Addin a new cache directory

From: Henrik Nordstrom <>
Date: Thu, 30 Apr 1998 23:34:11 +0200

Adalto Silva Correia Filho wrote:
> I'm planning to increase my cache size, by adding a new cache_mem
> directory (the previous one can't be increased anymore).
> Do I have to run squid -z again?


> Is there a way of doing this without loosing the information already
> stored?

Not a easy one using 1.1.X.

The only way I can come up with to add another disk while keeping your
cache is to write a small script that copies half your L1/L2 cache
directories to the new disk and symlinks them to the cache_dir directory
(no new cache_dir added in squid.conf).

Squid 1.x assumes that the cache is evenly distributed on all
cache_dirs, and adding/removing a cache_dir line is not supported at all
as the cacheobject numbering is based on the number (and order) of
cache_dir lines.

This is changed in 1.2.

Henrik Nordström
Received on Thu Apr 30 1998 - 14:59:30 MDT

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