Ok, The disk need's to be partitioned and formated first. Make a directory for the cache, you can put this anywhere really but off / is reasonable enough mkdir cache mount the disk on cache mount /dev/sdb1 /cache (add that to your /etc/fstab to get it done ate boot time. chown the directory to that of the squid process chgrp the directory to taht of the squid process chmod it to 700 ( or just put it at 777 if you are not to botherd about security of the cache files ) edit squid.conf un-comment the cache_dir ..... line cache_dir ufs /cache 18000 16 256 do squid -k shutdown do squid -Z do squid that should be it. Rob At 13:43 20/05/02 +0100, you wrote:
Hi Rob,
Cheers for the reply. What we want to achieve is the Squid program running from the first hard disk (sda) but using hard disk 2 as it's cache store - utilising the full 18Gbytes of cache storage space that is available.
And thanks for the other advice.
Regards,
Gareth Edmondson
At 11:08 20/05/02 +0100, you wrote:
Dear List,
Does anyone know how to make Squid store it's cache on multiple disks.
I have played with the cache_dir setting in the Squid.conf file, but can only get it to store the cache dirs on the first hard drive (sda) - whilst we want to use our second drive (sdb).
Do you want it on more than one disk or just on a different disk?
Also, how do you format a disk in KDE3? It does not seem the same as in Windows. I want to format the second hard drive so that it is clean.
do it in the command line,
have you set up an ext2fs partition on the disk first?
if so then
mke2fs /dev/sdb1 should format it.
Rob.
-- To unsubscribe, e-mail: suse-linux-uk-schools-unsubscribe@suse.com For additional commands, e-mail: suse-linux-uk-schools-help@suse.com