From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx02.extmail.prod.ext.phx2.redhat.com [10.5.110.26]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u4F4Zjk5027144 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Sun, 15 May 2016 00:35:45 -0400 Received: from BAY004-OMC3S7.hotmail.com (bay004-omc3s7.hotmail.com [65.54.190.145]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CE04F81F03 for ; Sun, 15 May 2016 04:35:44 +0000 (UTC) Message-ID: Content-Type: multipart/alternative; boundary="_521b5584-2604-4c40-937b-e2ad64a32ee5_" From: Tom Jay Date: Sun, 15 May 2016 04:35:44 +0000 MIME-Version: 1.0 Subject: [linux-lvm] LVM Merge 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: To: "linux-lvm@redhat.com" --_521b5584-2604-4c40-937b-e2ad64a32ee5_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C I've posted a question to the debian-user mailing list=2C but am yet to rec= eive a response. I am running Debian 7.9 64-bit with kernel version 3.2.0 and would like to = use the 'lvconvert --merge' feature=2C but do not have 'snapshot-merge' sup= port in the kernel. Does anyone have any idea how to enable this? The original post is here: https://lists.debian.org/debian-user/2016/05/msg= 00496.html. Thanks! Tom = --_521b5584-2604-4c40-937b-e2ad64a32ee5_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C

I've posted a qu= estion to the debian-user mailing list=2C but am yet to receive a response.=

I am running Debian 7.9 64-bit with kernel version 3.2.0 and would = like to use the 'lvconvert --merge' feature=2C but do not have 'snapshot-me= rge' support in the kernel. Does anyone have any idea how to enable this?
The original post is here: https://lists.debian.org/de= bian-user/2016/05/msg00496.html.

Thanks!

Tom

=
= --_521b5584-2604-4c40-937b-e2ad64a32ee5_-- From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 16 May 2016 12:14:16 +0100 From: Alasdair G Kergon Message-ID: <20160516111416.GA26132@agk-dp.fab.redhat.com> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [linux-lvm] LVM Merge 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" Content-Transfer-Encoding: 7bit To: Tom Jay Cc: "linux-lvm@redhat.com" On Sun, May 15, 2016 at 04:35:44AM +0000, Tom Jay wrote: > I've posted a question to the debian-user mailing list, but am yet to receive a response. > I am running Debian 7.9 64-bit with kernel version 3.2.0 and would like to use the 'lvconvert --merge' feature, but do not have 'snapshot-merge' support in the kernel. Does anyone have any idea how to enable this? > The original post is here: https://lists.debian.org/debian-user/2016/05/msg00496.html. So you don't have any snapshot support in your running kernel. But your kernel is modular, and if you attempt a snapshot operation, lvm2 will try to load the snapshot module if it is available. To try this manually, do 'modprobe dm-snapshot' (see 'man modprobe') then retry 'dmsetup targets'. Alasdair From mboxrd@z Thu Jan 1 00:00:00 1970 References: <20160516111416.GA26132@agk-dp.fab.redhat.com> From: Zdenek Kabelac Message-ID: <5739B5E2.2010704@redhat.com> Date: Mon, 16 May 2016 13:58:26 +0200 MIME-Version: 1.0 In-Reply-To: <20160516111416.GA26132@agk-dp.fab.redhat.com> Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] LVM Merge 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: Tom Jay , "linux-lvm@redhat.com" On 16.5.2016 13:14, Alasdair G Kergon wrote: > On Sun, May 15, 2016 at 04:35:44AM +0000, Tom Jay wrote: >> I've posted a question to the debian-user mailing list, but am yet to receive a response. >> I am running Debian 7.9 64-bit with kernel version 3.2.0 and would like to use the 'lvconvert --merge' feature, but do not have 'snapshot-merge' support in the kernel. Does anyone have any idea how to enable this? >> The original post is here: https://lists.debian.org/debian-user/2016/05/msg00496.html. > > So you don't have any snapshot support in your running kernel. > But your kernel is modular, and if you attempt a snapshot operation, > lvm2 will try to load the snapshot module if it is available. > > To try this manually, do 'modprobe dm-snapshot' (see 'man modprobe') > then retry 'dmsetup targets'. Please always attach version of lvm2 and kernel in use. Debian version has some local patches for 'modprobe' usage - so maybe check it 'auto' modprobe works properly in your case ? (rmmod dm-snapshot - and check if lvcreate -s still works) Are you build your own kernel - or do you use 'distro' debian kernel ? Regards Zdenek From mboxrd@z Thu Jan 1 00:00:00 1970 References: <20160516111416.GA26132@agk-dp.fab.redhat.com> <5739B5E2.2010704@redhat.com> From: Zdenek Kabelac Message-ID: Date: Wed, 18 May 2016 10:21:41 +0200 MIME-Version: 1.0 In-Reply-To: Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] LVM Merge 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: Tom Jay , "linux-lvm@redhat.com" On 18.5.2016 10:13, Tom Jay wrote: > Hello, This question was in fact answered by the debian-kernel mailing list, > who informed me that the documentation was probably wrong. The kernel does > actually support merging volumes, just the 'dmsetup targets' output only > refers to output from modules that are already loaded, not what is supported. > Using 'lvconvert --merge' works without problems. This is the original thread: > https://lists.debian.org/debian-kernel/2016/05/msg00186.html. Thanks! Tom Hi The issue is - properly compiled 'lvm2' does call 'modprobe' internally. So if you have failing 'lvconvert --merge' because snapshot-merge module was not loaded and you will load it by your own modprobe call - then your lvm2 tool is miscompiled (compiled without modprobe support...) Regards Zdenek From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Content-Type: multipart/alternative; boundary="_62f30e9f-4ed0-409d-b503-4cefc5e08816_" From: Tom Jay Date: Wed, 18 May 2016 08:13:47 +0000 In-Reply-To: <5739B5E2.2010704@redhat.com> References: , <20160516111416.GA26132@agk-dp.fab.redhat.com>, <5739B5E2.2010704@redhat.com> MIME-Version: 1.0 Subject: Re: [linux-lvm] LVM Merge 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: To: Zdenek Kabelac , "linux-lvm@redhat.com" --_62f30e9f-4ed0-409d-b503-4cefc5e08816_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello=2C=0A= =0A= This question was in fact answered by the debian-kernel mailing list=2C who= informed me that the documentation was probably wrong. The kernel does act= ually support merging volumes=2C just the 'dmsetup targets' output only ref= ers to output from modules that are already loaded=2C not what is supported= . Using 'lvconvert --merge' works without problems.=0A= =0A= This is the original thread: https://lists.debian.org/debian-kernel/2016/05= /msg00186.html.=0A= =0A= Thanks!=0A= =0A= Tom=0A= =0A= = --_62f30e9f-4ed0-409d-b503-4cefc5e08816_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hello=2C=0A= =0A= This question was in fact answered by the debian-kernel mailing list=2C who= informed me that the documentation was probably wrong. The kernel does act= ually support merging volumes=2C just the 'dmsetup targets' output only ref= ers to output from modules that are already loaded=2C not what is supported= . Using 'lvconvert --merge' works without problems.=0A= =0A= This is the original thread: https://lists.debian.org/debian-kernel/2016/05= /msg00186.html.=0A= =0A= Thanks!=0A= =0A= Tom=0A= =0A=
= --_62f30e9f-4ed0-409d-b503-4cefc5e08816_--