[lkml]   [2008]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectUse device mapper to redirect to cache server?
Hello everybody!

I'd like to mirror write accesses to a block-device to two devices, get all
all *read* accesses from one of these, and if it fails, to fallback to the
other device.

The usage would be to use some kind of NAS box as persistent network block
device, with some other machine with a lot of RAM as cache server; the cache
server would get asked for data, and if it's not available, the request
should go to the NAS directly.

If I read the multipath documentation correctly (at
For completion, here is an example of a pure failover target definition for
the same LU :
multipath should do part of what I want - use another device if the first one
But that doesn't account for pushing writes to both; and how is failing
defined for NBD? I don't see some configurable timeout.

Thank you for all ideas/suggestions! [[ but please CC me ]]



 \ /
  Last update: 2008-01-08 10:33    [W:0.028 / U:4.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site