I add anohter disk for cache
here is what i have done
1. mkfs.ext3 /dev/sda1
2. add the following line to /etc/fstab
/dev/sda1 /mnt/cache2 ext3defaults1 2
3. add the following to /etc/squid/squid.conf
cache_dir ufs /mnt/cache2 27 16 256
4. squid -z
My problem is i dont know how to mount /mnt/cache2 as squid user
If i can mount /mnt/cache2 as squid, the problem should be OK
My cache_effective_user is squid and cache_effective_group also squid
Once /mnt/cache2 is mounted, do
chown squid:squid /mnt/cache2
JD
chown squid.squid /mnt/cache2
and
Disable Selinux works for me
Sorry i forget to tell I use RHEL 5
Thanks you for your reply
On Thu, Aug 21, 2008 at 4:25 AM, John Doe [EMAIL PROTECTED] wrote:
My problem is i dont know how to mount /mnt/cache2 as squid user
If i can mount /mnt/cache2 as squid,