Re: Adding a second cache_dir

From: David Kelly <[email protected]>
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
>capacity?

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
directory.

Best regards,

David

---
David Kelly - Systems Administrator - Samara Services
Zimbabwe's leading ISP - Tel: 708059, Fax: 708055
IRC: xtc-rush@irc.samara.co.zw - ICQ: 3742164
Homepage: http://www.samara.co.zw/xtc/
---
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