Re: [squid-users] Squid - Adding a disk to cache....

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 13 Mar 2006 10:50:03 +0100

mån 2006-03-13 klockan 09:14 +0000 skrev Finnur Örn Guðmundsson - TM
Software Skyggnir:
> Hi,
>
> I have a Squid running with 3 disks defined to cache_dir.
>
> I want to add one more.....
>
> Do i have to shutdown my cache to do it ?

No, only if you want to remove a cache disk...

> It's not possible to add cache_dir on-the-fly ;)?

Yes, sortof..

> 1. Add the extra cache_dir to squid.conf

Ok.

> 2. run: squid -z

Ok, but you will need to temporarily set pid_filename or else Squid will
be a bit upset. You probably should comment out the existing cache_dirs
while doing this as well.

> 3. run: squid --reconfigure (if we can add it on-the-fly)

squid -k reconfigure

Regards
Henrik

Received on Mon Mar 13 2006 - 02:50:08 MST

This archive was generated by hypermail pre-2.1.9 : Sat Apr 01 2006 - 12:00:04 MST