Koozali.org: home of the SME Server

Squid cache in 3th HDD

Offline Nokia390

  • ****
  • 88
  • +0/-0
Squid cache in 3th HDD
« on: October 22, 2008, 04:27:51 PM »
Hello
How i can move Squid cache to 3th HDD, samesing like this:
hda HDD160 IDE
hdb CDROM
sda HDD160 SATA (raid)
sdb HDD160 SATA (raid)

(HP dc5100, 4gb Ram)

I´ve installed SME 7.3, squid+dansguardian+sarg, trafic shaping, windows cache, etc..etc..
(+- 180 users) and run perfectly whith 6gbit ADSL-
I'd like to squid to storage cache in hda if it improve performance.
sorry my english
thanks
« Last Edit: October 22, 2008, 04:45:24 PM by Nokia390 »

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Squid cache in 3th HDD
« Reply #1 on: October 22, 2008, 04:52:33 PM »
How i can move Squid cache to 3th HDD, samesing like this:

You can create a file system on a partition on the 3rd HD, and mount that file system on /var/spool/squid (via a line added to /etc/fstab).

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: Squid cache in 3th HDD
« Reply #2 on: October 22, 2008, 04:57:00 PM »
thanks, i'm go to try

Online Stefano

  • *
  • 10,894
  • +3/-0
Re: Squid cache in 3th HDD
« Reply #3 on: October 22, 2008, 05:08:20 PM »
Am I wrong or if hda fails squid will fail too?

Stefano

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Squid cache in 3th HDD
« Reply #4 on: October 22, 2008, 05:30:40 PM »
Am I wrong or if hda fails squid will fail too?

Of course.

Offline Nokia390

  • ****
  • 88
  • +0/-0
Re: Squid cache in 3th HDD
« Reply #5 on: October 23, 2008, 10:41:14 AM »
Ok, work fine
Thanks