RE: [squid-users] Adding secondary Disk for Cache

2008-08-19 Thread Adam Carter
> Step 0) Consider the implications on RAM or adding more cache_dir :-)
>
> You might want to reduce cache_mem or add more RAM.
> http://wiki.squid-cache.org/SquidFaq/SquidMemory#how-much-ram

Sorry about the typo - it should be "Consider the implications on RAM OF adding 
more cache_dir"


RE: [squid-users] Adding secondary Disk for Cache

2008-08-19 Thread Adam Carter
> Assuming your disk is attached, your OS recognizes it and the disk is
> formatted:
>
> 1) Ensure the effective_squid_user has write capability on
> the mount point
> 2) Add a cache_dir directive to squid.conf referencing the
> new mount point
> 3) Stop squid
> 4) Run squid -z (as root or as the effective_squid_user)
> 5) Start squid

Step 0) Consider the implications on RAM or adding more cache_dir :-)

You might want to reduce cache_mem or add more RAM.
http://wiki.squid-cache.org/SquidFaq/SquidMemory#how-much-ram


Re: [squid-users] Adding secondary Disk for Cache

2008-08-19 Thread Chris Robertson

Juan C. Crespo R. wrote:

Dears

   I want to ask if anyone could tell me an easy way (step by step) to 
add a secondary disk to the squid Cache


Thanks


Assuming your disk is attached, your OS recognizes it and the disk is 
formatted:


1) Ensure the effective_squid_user has write capability on the mount point
2) Add a cache_dir directive to squid.conf referencing the new mount point
3) Stop squid
4) Run squid -z (as root or as the effective_squid_user)
5) Start squid

Chris


Re: [squid-users] Adding secondary Disk for Cache

2008-08-19 Thread Pieter De Wit

Juan C. Crespo R. wrote:

Dears

   I want to ask if anyone could tell me an easy way (step by step) to 
add a secondary disk to the squid Cache


Thanks

Hi,

Simply add the drive to the OS as per normal - then add another 
cache_dir line to squid.conf.


Cheers,

Pieter