At 09:51 AM 7/25/96 +0200, Guenther Fischer wrote:
>Eric Wieling wrote:
>>
>> We have a spare 1gig partition (in addition to the partition for the
>> cache) and I was wondering if I can tell Squid to split the cache
>> accross the two partitions? I didn't see anything in the docs about
>> it, but I thought It'd ask.
>>
>You can do it with the cache_dir in the squid.conf
>
>cache_dir /www/cache1
>cache_dir /www/cache2
>cache_dir /www/cache3
>cache_dir /www/cache4
I've been using this scheme since two month ago,
but I can't understand how it works, specially when some
of the File Systems I'm using seems to fill up.
It seems that disk space for each directory/File System
must be equal size in order to work correctly.
What I would like is to use a bunch of free space and
aggregate them. But as far as it's working right now I am unable to
use all available space.
Right now I have this configuration:
cache_swap 1250
cache_dir /www/new-cache
cache_dir /www/secondary-cache-1
cache_dir /www/secondary-cache-2
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/sd2a 1000502 404142 546334 43% /www
/dev/sd0g 527887 380021 121471 76%
/www/secondary-cache-1
/dev/sd1h 446399 374987 49092 88%
/www/secondary-cache-2
Note that I'm using cache_swap at 1250Kb. If I use what
I want: (1000+527+446) then it fills /www/secondary-cache-2 and never
goes past 1200Kb.
With current configuration it does not exceed from 1000Kb +- 100Kb.
How could I use all the space I have?
Thank you all in advance for yor help.
Carmine Di Biase
carmine@true.net
Received on Thu Jul 25 1996 - 07:41:53 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:32:42 MST