Linux LVM users
 help / color / mirror / Atom feed
From: Yoav <ml-lvm@hidden.domain.name>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] mirror and snapshot incompatible
Date: Wed, 29 Oct 2008 02:32:33 +0200	[thread overview]
Message-ID: <4907AF21.4030808@hidden.domain.name> (raw)
In-Reply-To: <08781647-26E4-46F3-B148-A64933B84363@redhat.com>

I know how to do it through device-mapper.  I'm just worried that maybe 
there's a reason why lvm prevents it.  Are you aware of such reason, or 
is it safe?

Jonathan Brassow wrote:
> It is possible to do all the things you are asking through 
> device-mapper... but there is no easy way to do it.  (and LVM does not 
> yet have the capabilities to manage this yet either.)
>
>  brassow
>
> On Oct 27, 2008, at 9:28 PM, Yoav wrote:
>
>> According to lvcreate, a snapshot of a mirrored volume cannot be 
>> created ("Snapshots and mirrors may not yet be mixed").  However, 
>> devmapper does not seem to have the same limitation when used 
>> directly (not through lvm).
>>
>> Is there a current reason for lvcreate to enforce this rather harsh 
>> limitation?
>>
>> What are the risks I'm taking by manually creating a dm-snapshot from 
>> a dm-mirror device?  (of course I'm also replacing the dm-mirror 
>> device with a snapshot-origin of the actual dm-mirror device).
>>
>> If there is an actual reason for preventing this, what is the 
>> suggested way to consistently backup a mirror volume?  Is there a way 
>> to temporarily take one of the mirror "legs" (mimage devices)  
>> offline in order to back it up, and resync it later?
>>
>>   Yoav
>>
>> _______________________________________________
>> linux-lvm mailing list
>> linux-lvm@redhat.com
>> https://www.redhat.com/mailman/listinfo/linux-lvm
>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

  reply	other threads:[~2008-10-29  0:33 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28  2:28 [linux-lvm] mirror and snapshot incompatible Yoav
2008-10-28 20:56 ` Jonathan Brassow
2008-10-29  0:32   ` Yoav [this message]
2008-10-29 10:31     ` [linux-lvm] clvmd locking disabled Stepan Kadlec
2008-10-29 10:45       ` Stepan Kadlec
2008-10-29 11:32         ` Christine Caulfield
2008-10-31 12:22           ` Stepan Kadlec
2008-10-31 12:43             ` Milan Broz
2008-11-03 16:56               ` Stepan Kadlec
2008-11-04  8:47               ` Stepan Kadlec
2008-10-31 13:27             ` Christine Caulfield
2008-10-29 11:39         ` Milan Broz
2008-10-29 15:06     ` [linux-lvm] mirror and snapshot incompatible Jonathan Brassow
2008-10-30  3:28       ` Yoav
2008-11-01 10:27         ` [linux-lvm] snapshot cloning marcin.kaluza
2008-11-01 17:33           ` Les Mikesell

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=4907AF21.4030808@hidden.domain.name \
    --to=ml-lvm@hidden.domain.name \
    --cc=linux-lvm@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox