Re: [squid-users] 2 cache_dir on the same squid server ?

From: Hung Nguyen <it.bi.nguyen_at_gmail.com>
Date: Mon, 28 Dec 2009 00:02:33 +0700

Jefferson Diego wrote:
> Em 27-12-2009 14:17, Hung Nguyen escreveu:
>> hello folks,
>> Can I specify 2 cache_dir directives for one squid server? I meant two
>> cache_dir on 2 different disk to avoid disk failure ?
>> Thanks!
>>
>>
>>
> Yes, you can. You can specify how many cache_dir's you want, each in
> the same partition, or in different partition or even in a different
> drive.
> But, it will not avoid problems if you have a disk failure. If the
> squid process try to write in a cache_dir, and this is not available
> (imagine that your drive is down, due to a failure), it will crash...
> But why are you worried about a failure? Are your disks failling?
>
Thank for reply,
No, I just plan for a bad day. Do you have any advice for me in this
situation: 2 cache_dir on different disk is better or just one cache_dir
on a disk with just one partition in it?
Received on Sun Dec 27 2009 - 17:03:59 MST

This archive was generated by hypermail 2.2.0 : Sun Dec 27 2009 - 12:00:01 MST