Re: [squid-users] Question on changing from ufs to aufs+coss

From: Pandu E Poluan <pandu_poluan_at_paninsekuritas.co.id>
Date: Mon, 27 Apr 2009 16:41:51 +0700

Ah, thanks for the explanation.

One thing is still unclear for me, though: Why is it not a good idea to
have 2+ cache on same disk?

In my understanding (CMIIW), aufs is better for larger objects while
coss is better for smaller objects (or the other way around).

Rgds.

[p]

Amos Jeffries wrote:
> Pandu E Poluan wrote:
>> All,
>>
>> I currently use ufs. Based on discussions here and elsewhere, it seem
>> better to use aufs+coss.
>>
>> So, if I want to change over to ufs, is it enough to do the following:
>>
>> * Stop squid
>> * Recursive-delete the cache directory
>> * Run squid -z
>> * Start squid
>>
>> Inputs are appreciated. Thanks beforehand :-)
>>
>
> Only if you are taking a portion of the current UFS cache and giving
> it to COSS (not a good idea to have 2+ cache on same disk anyway).
>
> To simply change the existing UFS cache to AUFS and add a new disk for
> COSS all you need is this:
>
> * partition/format COSS disk
> * configure new coss cache_dir in squid.conf
> * change ufs tag to aufs in squid.conf
> * stop squid
> * run squid -z
> * restart squid
>
> NP: I only bother stopping to be 100% certain the change to aufs does
> not make the -z alter anything in active use. It is probably only a -z
> then reconfigure needed.
>
> Amos

-- 
*Pandu E Poluan*
*Panin Sekuritas*
IT Manager / Infrastructure & Audit
Phone : 	+62-21-515-3055 ext 135
Fax : 	+62-21-515-3061
Mobile : 	+62-856-8400-426
e-mail : 	pandu_poluan_at_paninsekuritas.co.id 
<mailto:pandu_poluan_at_paninsekuritas.co.id>
	
	
	
	
Y!M : 	hands0me_irc
MSN : 	si-ganteng_at_live.com
GTalk : 	pandu.cakep_at_gmail.com
Received on Mon Apr 27 2009 - 09:42:34 MDT

This archive was generated by hypermail 2.2.0 : Mon Apr 27 2009 - 12:00:02 MDT