Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Proxy Server Support => Topic started by: dhmyess on April 23, 2008, 12:01:47 AM

Title: How to use multiple hard disk or caches on single machine / server?
Post by: dhmyess on April 23, 2008, 12:01:47 AM
HI ANY BODY!
I HAVE PROXY SERVER WITH SQUID 2,6
THE SERVER HAD 4 GB OF RAM AND 80 GB HD

MY PROBLEM
I WANT TO ADD 1 HD MORE

CAN ANYBODY HELP ME HOW TO CONFIGURE SQUID WITH 2 HD OR 2 OF CACHE_DIR UFS????
Title: Re: ADDITIONAL HD ON SQUID
Post by: Ricky on April 23, 2008, 06:49:24 PM
Simple solution is configuring those 2 hdds as Raid 0, that will make your cache very fast overall.

Other option is simply add new hard drive, mount it and in squid config file, specify another line defining new cache location. That way new cache as well as old, both will be used.

eg.
Code: [Select]
cache_dir ufs /cache-location1    3000 16 256
cache_dir ufs /cache-location2    8000 16 256