From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx11.extmail.prod.ext.phx2.redhat.com [10.5.110.16]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p24M7WCS029410 for ; Fri, 4 Mar 2011 17:07:32 -0500 Received: from mail-ey0-f174.google.com (mail-ey0-f174.google.com [209.85.215.174]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p24M7Mqb028068 for ; Fri, 4 Mar 2011 17:07:23 -0500 Received: by eyx24 with SMTP id 24so913975eyx.33 for ; Fri, 04 Mar 2011 14:07:22 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: <1299275347.11519.19.camel@green> Date: Fri, 4 Mar 2011 17:07:22 -0500 Message-ID: From: John Drescher Content-Transfer-Encoding: 8bit Subject: Re: [linux-lvm] Resizing underlying LVM partition after cloning to bigger disk 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="utf-8" To: LVM general discussion and development On Fri, Mar 4, 2011 at 5:05 PM, John Drescher wrote: > On Fri, Mar 4, 2011 at 4:49 PM, Koen Vermeer wrote: >> On 03/03/2011 06:25 AM, Scott Arthur wrote: >>> �1 � � �32.3kB �296MB � 296MB � primary � ext4 � � � � boot >>> �2 � � �296MB � 1000GB �1000GB �extended >>> �5 � � �296MB � 1000GB �1000GB �logical � � � � � � � �lvm >>> I'm obviously wanting to expand the LVM partition to fill the >>> remaining 1TB of space. >> >> I'm just a regular LVM user and maybe I'm misunderstanding you, but why >> not simply add partition #2 as a physical volume? I thought that was one >> of the advantages of LVM: not having to worry about that kind of thing. >> > LVM pvresize is safe. I have done this many times at work. Even with > > 10TB physical volumes. There is one potential problem if your pv has 2 > metadata areas however it will inform you and in this case it will > refuse to resize instead of causing breakage. > BTW, I did not mention but the fix for this is in the works. John