cache pool osds crashing when data is evicting to underlying storage pool

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

 



Hi Kenneth,

On Thu, 31 Jul 2014, Kenneth Waegeman wrote:
> Hi all,
> 
> We have a erasure coded pool 'ecdata' and a replicated pool 'cache' acting as
> writeback cache upon it.
> When running 'rados -p ecdata bench 1000 write', it starts filling up the
> 'cache' pool as expected.
> I want to see what happens when it starts evicting, therefore I've done:
> ceph osd pool set cache target_max_bytes $((200*1024*1024*1024))
> 
> When it start to evict the objects to 'ecdata', the cache osds are all
> crashing. I logged an issue : http://tracker.ceph.com/issues/8982
> 
> I enabled the cache with this commands:
> 
> ceph osd pool create cache 1024 1024
> ceph osd erasure-code-profile set profile11 k=8 m=3 ruleset-failure-domain=osd
> ceph osd pool create ecdata 128 128 erasure profile11
> 
> ceph osd tier add ecdata cache
> ceph osd tier cache-mode cache writeback
> ceph osd tier set-overlay ecdata cache
> 
> Is there something else that I should configure?

I think you just need to enable the hit_set tracking.  It's 
obviously not supposed to crash when you don't, though; I'll fix 
that up shortly.

By the way, although we love the testing on the development releases, you 
probably want to be using firefly if this is destined for production.

Thanks!
sage


[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux