On 2024-07-18 00:33, Jonathan Lee wrote:
What would be the correct way to convert cache_dir disks to rock?
One cannot convert a cache_dir of another type to rock cache_dir. You will need to start from scratch, using a rock-dedicated cache_dir path (initialized by running "squid -z" after updating squid.conf). If you want to reuse the same path, then move or remove the old/diskd contents first.
cache_dir diskd /var/squid/cache 64000 256 256 Would it be as simple as.. cache_dir rock /var/squid/cache 64000 256 256?
See cache_dir directive in squid.conf.documented; diskd and rock cache_dirs have _different_ configuration syntax because rock cache_dirs do not have/need L1 and L2 parameters required for diskd cache_dirs:
cache_dir diskd Directory-Name Mbytes L1 L2 [options] cache_dir rock Directory-Name Mbytes [options] HTH, Alex. _______________________________________________ squid-users mailing list squid-users@xxxxxxxxxxxxxxxxxxxxx https://lists.squid-cache.org/listinfo/squid-users