November 25, 2024, 07:56:52 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: How to use multiple hard disk or caches on single machine / server?  (Read 5866 times)

Offline dhmyess

  • Linux Noob !
  • *
  • Posts: 5
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????
« Last Edit: April 23, 2008, 06:46:43 PM by Ricky »

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Re: ADDITIONAL HD ON SQUID
« Reply #1 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