All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Barber <steve.barber@nist.gov>
To: Jeff Mitchell <jeffrey.mitchell@gmail.com>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Using locally replicated OSDs to reduce Ceph replication
Date: Wed, 17 Apr 2013 18:02:51 -0400	[thread overview]
Message-ID: <20130417220251.GZ4565@nist.gov> (raw)

On Wed, Apr 17, 2013 at 04:49:53PM -0400, Jeff Mitchell wrote in
another thread:
> ... If you
> set up the OSDs such that each OSD is based off of a ZFS mirror, you
> get these benefits locally. For some people, especially when heavy on
> reads (due to the intelligent caching), a solution that knocks the
> remote replication level down by one but uses local mirrors for OSDs
> may provide good functionality and safety compromises.

Funny that you mention this today; that's exactly an idea I was thinking
about pursuing yesterday, so that I don't have to do repl=4 for data
protection both between two sites and within each site (i.e. 2 copies of
data at each site).

If anybody is actively doing/trying this (whether via RAID or ZFS or
whatever, although I'm particularly interested in a ZFS/ZoL solution) I'd
love to see some discussion about it.

In particular, has anyone tried making a big RAID set (of any type) and
carving out space (logical volumes, zvols, etc.) to become virtual OSDs?
Any architectural gotchas with this idea?

I'm trying to set up a cluster spread across two server rooms in separate
buildings that can survive an outage of one building and still have
replicated (safe) data in the event of e.g. a disk failure during the
outage.  It seems like some local data protection would be much more
efficient than having Ceph manage the extra replicas - subject to testing
of course!

As a side note I do like the thought of ZFS ensuring data integrity, and
in the long run it might allow some of the same optimizations with Ceph that
btrfs is used for now (re: snapshots, compression, etc.) and as Jeff
mentioned, ZFS gives you a lot of performance tuning options.  I'm
thrilled to see that it's getting some attention.

Steve

             reply	other threads:[~2013-04-17 22:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-17 22:02 Steve Barber [this message]
2013-04-17 22:23 ` Using locally replicated OSDs to reduce Ceph replication Gregory Farnum
2013-04-17 23:02   ` Steve Barber
2013-04-17 23:09     ` Gregory Farnum

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=20130417220251.GZ4565@nist.gov \
    --to=steve.barber@nist.gov \
    --cc=ceph-devel@vger.kernel.org \
    --cc=jeffrey.mitchell@gmail.com \
    /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.