Re: [squid-users] Adding Another HardDisk

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Thu, 07 Aug 2008 02:21:49 +1200

Mr. Issa(*) wrote:
> Hello all , i really appretiate your hard work on helping and guiding
> users all over the word..:)
>
> I have 2 questions:
>
> If i want to add another hard-disk and to set it as a cache_dir for
> squid to use, but without messing/rebuildings the other cache_dir's
> that have cached objects
> second question , i want to upgrade squid from 2.6 to 2.7 and let
> squid 2.7 to use the cache_dir's that have cached objects without
> rebuilding them
>

-z should ignore the existing cache_dir and build the new one.

However I'm not certain enough of the store to guarantee that.
To be extra safe you could do the following:

  - create a dummy squid.conf with just the new cache_dir.
  - run squid binary with -z and passing it the dummy squid.conf
    (to create new dir properly in isolation)
  - add the new cache_dir to real squid.conf and reconfigure main squid.

As for the upgrade. A lot of work has gone into making those go
smoothly. I believe its not a problem. But maybe one of the Squid-2
store experts will speak up.

Amos

-- 
Please use Squid 2.7.STABLE3 or 3.0.STABLE8
Received on Wed Aug 06 2008 - 14:21:43 MDT

This archive was generated by hypermail 2.2.0 : Wed Aug 06 2008 - 12:00:02 MDT