Matus UHLAR - fantomas wrote:
John Doe ha scritto:
two disks = RAID 0 or 1

RAID 1 is mirroring:
- Pros: safe (goes on even with a dead HD), fast reads (from both disks)
- Cons: you only use 50% of total HD space (500GB total in your case).

RAID 0 is stripping:
- Pros: fast reads/writes and you use 100% of total HD (1TB)
- Cons: unsafe (you lose 1 HD, you lose everything).

Or just don't use RAID and create a cache_dir on each HD...
Best would be RAID1 for the system and no RAID for the cache_dirs I think.

On 25.09.08 11:39, Marcello Romani wrote:
I would add that a dead or malfunctioning drive could harm service uptime if the caache dirs are not on raid1.
Therefore I would suggest keeping everything on raid1.

The three setups which are usable with Squid and RAID are:

RAID 1 + singe cache_dir - handles HDD failure silently. At cost of half the disk space. Q: is your cache big enough or bandwidth important enough to warrant saving the cache data?

no-RAID + multi cache_dir - Twice the cache space. At cost of Squid goes down with either HDD. BUT, can be manually restarted without that cache_dir immediately on detection.

RAID 0 + single cache_dir - already been covered. Generally considered worse than no RAID.


Hmm, is squid still unable to work if one of cache dirs has problems?
sounds like calling for bug report ;)


It's already reported long ago. Made it onto the worklist for Squid-3 recently. Should be done Someday Soon Now (tm) :-).

Amos
--
Please use Squid 2.7.STABLE4 or 3.0.STABLE9

Reply via email to