All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: device-mapper development <dm-devel@redhat.com>
Subject: Re: [RFC] zodcache - auto-start dm-cache devices
Date: Fri, 18 Dec 2015 22:06:32 +0100	[thread overview]
Message-ID: <56747558.7030507@redhat.com> (raw)
In-Reply-To: <56747182.2030404@gmail.com>

Dne 18.12.2015 v 21:50 Ian Pilcher napsal(a):
> On 12/18/2015 12:51 PM, Alasdair G Kergon wrote:
>> Did you try stacking LVM on top of itself first?
>
> Honestly, no (although my initial testing of zodcache actually used
> logical volumes as the origin and cache devices FWIW).
>
> This exercise is as much about the "optics" as it is about the actual
> technical merits of the solution.  The goal is provide something that
> (at least on the surface) looks "simple".
>
> With just a couple of obvious enhancements to the mkzc utility (clear
> the metadata region and start the new device), creating a cached device
> would literally take just a single command.
>

Sure - as long as you do not need to solve any 'security/safety' points,
you can do things in a simple way.

But how do you plan to support any power-failures and recoveries ?

When someone pick drive to other system - what is going to happen ?

Are you going to write your own 'lvm2-like' tools to do the job ?

Are you going to maintain this over long time period ?

You really should have started from RFE on lvm2 enhancements to better suite
your needs -  since IMHO there are no SIMPLE things when we talk about devices...

Regards

Zdenek

  reply	other threads:[~2015-12-18 21:06 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18  6:16 [RFC] zodcache - auto-start dm-cache devices Ian Pilcher
2015-12-18  9:44 ` Joe Thornber
2015-12-18 16:07 ` John Stoffel
2015-12-18 16:55   ` Ian Pilcher
2015-12-18 17:39     ` Ian Pilcher
2015-12-18 18:53     ` John Stoffel
2015-12-18 18:51 ` Alasdair G Kergon
2015-12-18 19:44   ` John Stoffel
2015-12-18 20:01     ` Alasdair G Kergon
2015-12-18 20:50   ` Ian Pilcher
2015-12-18 21:06     ` Zdenek Kabelac [this message]
2015-12-19  0:01       ` Ian Pilcher
2015-12-19  0:53 ` Never mind (was [RFC] zodcache - auto-start dm-cache devices) Ian Pilcher
2015-12-19  1:53   ` John Stoffel
2016-01-04 15:52     ` Joe Thornber
2016-01-06 15:49       ` Ian Pilcher

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=56747558.7030507@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=dm-devel@redhat.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.