Re: [squid-users] moving cache dirs

From: Peter Arnold <arnoldpj@dont-contact.us>
Date: Wed, 6 Sep 2006 17:10:40 +1000 (EST)

> Hi,
>
> Is it possible to move the cache directories "down one level"? eg
>
> mv /var/cache/squid/cache1/{[0-9]*,swap.state}
> /var/cache/squid/cache1/cache_a
>
> Obviously squid isn't running and cache_dir will be corrected.
>
> Colin
> --
> Colin Campbell
> Unix Support/Postmaster/Hostmaster
> Citec
> +61 7 3227 6334
>

Yes. As long as you change the cache_dir directive in the conf file to
point at the new directory and ensure squid has access to new directory
(owner/group/perms etc)

at least it works for me :)
#cache_dir aufs /var/squid/cache 1000 16 256
cache_dir aufs /var/squid/cache/new_dir 1000 16 256

Cheers
Pete
Received on Wed Sep 06 2006 - 01:11:33 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT