Re: Adding a second cache_dir

From: David Kelly <>
Date: Wed, 25 Mar 1998 11:18:03 +0200

Hi Damien,

>We are looking to add an additional 9Gb drive for our squid to munch on.
>I don't want to lose my existing cache.
>If I add a second cache_dir line and update my cache_swap, will squid start
>using the second drive? Will it realise that the first drive is already at

The method I'd suggest would be:

* comment out the first cache_dir in your squid.conf
* add the new cache_dir
* shutdown squid (squid -k shutdown)
* run squid -z to create the directories in your new cache_dir
* uncomment the first cache_dir
* reload squid

Squid should keep all your current cache files and start filling up the new

Best regards,


David Kelly - Systems Administrator - Samara Services
Zimbabwe's leading ISP - Tel: 708059, Fax: 708055
IRC: - ICQ: 3742164
Received on Wed Mar 25 1998 - 01:29:45 MST

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