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