From: "Ph. Marek" <philipp.marek@bmlv.gv.at>
To: linux-kernel@vger.kernel.org
Cc: dm-devel@redhat.com
Subject: Use device mapper to redirect to cache server?
Date: Tue, 8 Jan 2008 10:30:19 +0100 [thread overview]
Message-ID: <200801081030.20172.philipp.marek@bmlv.gv.at> (raw)
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
http://christophe.varoqui.free.fr/multipath.html):
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
fails.
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 ]]
Regards,
Phil
reply other threads:[~2008-01-08 9:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200801081030.20172.philipp.marek@bmlv.gv.at \
--to=philipp.marek@bmlv.gv.at \
--cc=dm-devel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®