On 6/08/2011 10:34, rpereyra@xxxxxxxxxxx wrote:
Hi Roberto,
Each of the systems you mention will only add an extra layer to the
storage solution. Squid (not sure from which version but I am very sure
it's main stream on all distros) already has support for multiple cache
directories so my suggestion (if you don't need LVM to extend or move
physical disks etc) is to make the disks normal mount points. The File
system that you use will have to be researched (ext4 vs xfs vs reseirfs
vs ...) but I have used ext3/4 with great success (at least enough for
me not to complain :) )
See http://wiki.squid-cache.org/BestOsForSquid at the bottom for File
Systems etc
The only one that *might* improve things is RAID0 but I can't really see
this as squid won't be writing *that* much (on a 100meg connection)
You can also read up on : http://wiki.squid-cache.org/SquidFaq/RAID
Cheers,
Pieter
Hi Pieter. Thanks for your help !!
You say something like this?
cache_dir aufs / disk1/squid-cache/squid 100000 64 256
cache_dir aufs / disk2/squid-cache/squid 100000 64 256
cache_dir aufs / disk3/squid-cache/squid 100000 64 256
I should add something more to balance the load?
regards
roberto
Hi Roberto,
cache_dir aufs /disk1/....<bla>
Is what I had in mind :) so just a fix of a typo I believe.
Cheers,
Pieter