From mboxrd@z Thu Jan 1 00:00:00 1970 References: From: Zdenek Kabelac Message-ID: <4f1dedd7-2a1d-b266-a173-bda24a19347f@redhat.com> Date: Wed, 12 Jun 2019 12:56:48 +0200 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [linux-lvm] Question on vgconvert 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 , Steve Keller Dne 12. 06. 19 v 6:18 Steve Keller napsal(a): > I want to convert from LVM1 to LVM2 using vgconvert on a server. Is > vgconvert -M2 considered a risky operation? Should I switch > the server into single-user mode and make a backup before running > vgconvert? > > And will vgconvert take a long time? May PEs be moved on the disk or > is only the meta-data rewritten? > Wow :) where you've been hiding for last ~15 years when format V2 exists ;) V1 is considered obsolete for very looong time and it's been even dropped from support from version 2.03. So you need version 2.02.X. Operation should be instant (it's only metadata rewrite). AFAIK no PE should be influenced. Of course it's wise idea to backup header portion of your device (unsure what sort of metadata you have there - and the test coverage for this operation likely might need some 'extra care') But if you will copy 1st. MiB - you can restore back and report bug if you would find any problem. Regards Zdenek