linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
	"Davis, Matthew" <Matthew.Davis.2@team.telstra.com>
Subject: Re: [linux-lvm] how to copy a snapshot, or restore snapshot without deleting it
Date: Thu, 10 Jan 2019 10:45:24 +0100	[thread overview]
Message-ID: <29ace3ab-dbc7-ec32-867e-c3c875c79851@redhat.com> (raw)
In-Reply-To: <MEAPR01MB5029BFA4227BCA2DD60501A5C2840@MEAPR01MB5029.ausprd01.prod.outlook.com>

Dne 10. 01. 19 v 7:23 Davis, Matthew napsal(a):
> Hi Marian,
> 
> I'm trying to do it with thin snapshots now. It's all very confusing, and I can't get it to work.
> I've read a lot of the documentation about thin stuff, and it isn't clear what's happening.
> 
> I took a snapshot with
> 
>      sudo lvcreate -s --name mySnap1 centos/root
> 
> Then I copied that snapshot with
> 
>      sudo lvcreate -s --name mySnap2 centos/mySnap1
> 
> When I try to restore mySnap1 it says:
> 
>      $sudo lvconvert --merge centos/mySnap1
>      centos/mySnap1 is not a mergeable logical volume
> 

Hi

Aren't you using some quite ancient version of lvm2 ?
You need to use lvm2 which does support thin volume merging

Regards

Zdenek

  reply	other threads:[~2019-01-10  9:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-03  4:46 [linux-lvm] how to copy a snapshot, or restore snapshot without deleting it Davis, Matthew
2019-01-03  9:32 ` Tomas Dalebjörk
2019-01-03 14:09 ` Marian Csontos
2019-01-10  6:23   ` Davis, Matthew
2019-01-10  9:45     ` Zdenek Kabelac [this message]
2019-01-14 22:44       ` Davis, Matthew
2019-01-15 10:49         ` Zdenek Kabelac
2019-01-15 23:03           ` Davis, Matthew
2019-01-16 13:55             ` Zdenek Kabelac
2019-01-17  1:12               ` Davis, Matthew
2019-01-17  9:21                 ` Zdenek Kabelac
2019-01-18  0:53                   ` Davis, Matthew
2019-01-18  9:34                     ` Zdenek Kabelac
2019-01-21 10:32                     ` Zdenek Kabelac
2019-01-28 11:49                       ` Zdenek Kabelac
2019-01-30 23:58                         ` Davis, Matthew
2019-01-10 14:34     ` Tomas Dalebjörk
2019-01-11 19:29       ` Sarah Newman

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=29ace3ab-dbc7-ec32-867e-c3c875c79851@redhat.com \
    --to=zkabelac@redhat.com \
    --cc=Matthew.Davis.2@team.telstra.com \
    --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;
as well as URLs for NNTP newsgroup(s).