Re: [squid-users] Does Changing Cache_dir location require a "Rebuild" of the cache?

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 27 Aug 2013 16:35:12 +1200

On 27/08/2013 2:44 a.m., HillTopsGM wrote:
> That is pretty much the question I have:
> If the Proxy has been running for a while and caching data to say:
>
> *cache_dir ufs /var/spool/squid3 20480 16 256*
>
> Does Changing Cache_dir location(s) to something like this
>
> *cache_dir ufs /var/spool/squid3_cache-1 5120 16 256
> cache_dir ufs /var/spool/squid3_cache-2 5120 16 256
> cache_dir ufs /var/spool/squid3_cache-3 5120 16 256
> cache_dir ufs /var/spool/squid3_cache-4 5120 16 256*
>
> . . . require a "Rebuild" of the cache or cache table, or will the system
> realize that it has changed and start all over again automatically?

You do need to run "squid -z" to build the cache structure of the other
cache_dir locations. And might as well including the moved one in that
as well to verify the directory structure is correct before trying to
run normally with it.

Everything is automatic except changes to the L1/L2 values.

Amos
Received on Tue Aug 27 2013 - 04:35:22 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 28 2013 - 12:00:15 MDT