From mboxrd@z Thu Jan 1 00:00:00 1970 References: <8fb5fa67-1b56-7baf-e8c9-b422c5c8b443@redhat.com> <29ace3ab-dbc7-ec32-867e-c3c875c79851@redhat.com> From: Zdenek Kabelac Message-ID: <691ff9d7-78c3-b36d-7153-b54c589bb12f@redhat.com> Date: Tue, 15 Jan 2019 11:49:34 +0100 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] how to copy a snapshot, or restore snapshot without deleting it Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: LVM general discussion and development , "Davis, Matthew" , Zdenek Kabelac Dne 14. 01. 19 v 23:44 Davis, Matthew napsal(a): > Hi Zdenek, > > `sudo lvs --version` says : > > LVM version: 2.02.180(2)-RHEL7 (2018-07-20) > Library version: 1.02.149-RHEL7 (2018-07-20) > Driver version: 4.37.1 > > So that means it's version 2, right? > > (I'm running the latest version of CentOS.) Hmm - version looks fine >> $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 > Can you paste 'lvs -a' prior this operation ? If the lvm2 tells you that 'mySnap1' is not mergable LV - then it likely has no 'origin' to merge into. Zdenek