Search squid archive

Re: Use cache dir in different server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> I am replacing a server I currently have with squid 3.0.20 to another box
>> with a bigger hard drive. Right now I have about 40GB of cache that would
>> like to move to the new server. My question is: can I just copy
>> /var/log/squid/cache ( cache_dir aufs /var/log/squid/cache 40000 64 255
>>  ) to a different hard drive?
>>
>> and
>>
>> if the new hard drive's config is: cache_dir aufs /var/log/squid/cache
>> 100000 64 255. This one 100GB for cache.
>>
>> Would I have problems putting the 40GB cache on to the 100GB?

No, as long as the parameters for the first and second dir levels don't change.

>> Thanks in advanced for your help.
>
> About to put your /var/log/squid/cache in to another drive, you can. Just
> make sure that you will conserve all permissions (use tar to store the
> files, and extract then on the other drive).
> About change cache_dir entry from 40GB to 100GB, I did something like this,
> and my cache wasn't loose. I THINK that you can do this.
>
> (Sorry by my poor english)

Also watch out for processor architectures. swap.state (for sure) is
not portable across different CPU architectures; I'm not sure about
the metadata stored in each cache entry.

   Kinkie



-- 
    /kinkie


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux