[squid-users] squid with coss can not write to SSD

From: Drunkard Zhang <gongfan193_at_gmail.com>
Date: Fri, 7 Jan 2011 14:40:49 +0800

My configuration:
cache_dir coss /mnt/c/72 10240 max-size=524288 max-stripe-waste=32768
block-size=4096 maxfullbufs=10
cache_swap_log /mnt/s/%s

 /mnt/c/72 is a file on btrfs + SSD. The btrfs is created by:
"mkfs.btrfs /dev/sdb1 /dev/sdc1", so it will spanning across two SSDs.

But squid did not write anything to disk, here's info in cache.log

2011/01/07 14:36:42| WARNING: failed to unpack meta data
2011/01/07 14:36:42| storeCossWriteMemBufDone: got failure (-6)
2011/01/07 14:36:42| FD 9, size=1048576
2011/01/07 14:36:42| WARNING: failed to unpack meta data

Why? squid can't work with btrfs? or SSD? or my way using it?
Received on Fri Jan 07 2011 - 06:41:11 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 07 2011 - 12:00:02 MST