From: malahal@us.ibm.com
To: dm-devel@redhat.com
Cc: philipp.marek@bmlv.gv.at
Subject: Re: Use device mapper to redirect to cache server?
Date: Tue, 8 Jan 2008 11:30:42 -0800 [thread overview]
Message-ID: <20080108193042.GA6223@us.ibm.com> (raw)
In-Reply-To: <200801081030.20172.philipp.marek@bmlv.gv.at>
Ph. Marek [philipp.marek@bmlv.gv.at] wrote:
> 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.
This is exactly what 'mirror' target does (dm-raid1.c) without
read-balancing. But read on...
> 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.
I think, you are better of using the cache server as some kind of NFS
server as 'mirror' target's failure handling is heavy-weight.
prev parent reply other threads:[~2008-01-08 19:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 9:30 Use device mapper to redirect to cache server? Ph. Marek
2008-01-08 19:30 ` malahal [this message]
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=20080108193042.GA6223@us.ibm.com \
--to=malahal@us.ibm.com \
--cc=dm-devel@redhat.com \
--cc=philipp.marek@bmlv.gv.at \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.