On fre, 2007-09-21 at 09:23 +0700, Sunin Thaveethamsavee wrote:
>
> cache_dir coss /dev/cciss/c0d5 100000 max-size=33554431 overwrite-percent=40
>
>
> And use command squid -z I got this error
> FATAL: COSS cache_dir size exceeds largest offset
> I try to random the max size and the size can't more than 7500. What's
> happen ? How I can use the maximum disk for single partition.
from the cache_dir directive regarding coss:
block-size=n defines the "block size" for COSS cache_dir's.
Squid uses file numbers as block numbers. Since file numbers
are limited to 24 bits, the block size determines the maximum
size of the COSS partition. The default is 512 bytes, which
leads to a maximum cache_dir size of 512<<24, or 8 GB. Note
you should not change the COSS block size after Squid
has written some objects to the cache_dir.
Regards
Henrik
This archive was generated by hypermail pre-2.1.9 : Mon Oct 01 2007 - 12:00:02 MDT