Re: More HD-space for squid

From: Henny Bekker <[email protected]>
Date: Wed, 12 Feb 1997 22:35:21 +0100 (MET)

Dear Mark,

> Today i plugged in two extra harddisks. Now i was wondering (in the light
> of a message earlier this week on this list).
> The old cache is
> 1. c1t1d0 <CDC IPI 9722 cyl 1630 alt 1 hd 7 sec 156>
> /vme/pn@4d,1080000/ipi3sc@0,0/id@1,0
> And the two new ones are:
> 2. c0t1d0 <CDC-94181-15-0293 cyl 1529 alt 2 hd 15 sec 52>
> /vme/ncr@3d,200000/sd@1,0
> 3. c0t3d0 <CDC-94181-15-7966 cyl 1503 alt 2 hd 15 sec 52>
> /vme/ncr@3d,200000/sd@3,0
> No.1 is a disk of 869 mb (of which 750 is cache), while no. 2 and 3 are
> 550 mb. (1 IPI, 2/3 SCSI)
> How do i correctly define my squid cache dirs now in the config ?
> is it that i specify:
> cache_swap 1750 (approx total of the three disks)
> and
> cache_dir /squid-cache
> cache_dir /squid-cache1 (the places where they are mounted)
> cache_dir /squid-cache2
>
Yes, you might do that...

> I read somewhere earlier this week that all cache dirs should be the same
> size. Is this correct....Someone who can explain this to me ?
>
It was me in a previous message..
Unless I'm mistaken, I thought squid is storing data alternating cache-1,
cache-2,... cache-n (when n cache_dir entries). When the caching disks
are dissimilar then the smallest disk would reach it maximum before the
cache_swap is reached... [I don't know exactly what kind of error it would
generate or even if it's fatal..]

Cheers [groeten], Henny

-- 
-----------------------------------------------------------------------------
E-Mail: Henny.Bekker@cc.ruu.nl    ! Disclaimer: The main obstacle to progress
http    http://www.ruu.nl/~henny  !             progress is not ignorance,but
PTT:    Voice: +31 30 2536971 Fax: +31 30 2531633 ! the illusion of knowledge
X400:   /G=Henny/S=Bekker/OU=cc/O=ruu/PRMD=surf/ADMD=400net/C=nl         o
Paper:  H.J.Bekker, Utrecht University, Computer Centre              _  /- _
        Po Box 80011, 3508 TA  Utrecht  Nederland                   (_) > (_)
-----------------------------------------------------------------------------
Received on Wed Feb 12 1997 - 13:49:22 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:26 MST