From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (ext-mx14.extmail.prod.ext.phx2.redhat.com [10.5.110.19]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p23KB34D028205 for ; Thu, 3 Mar 2011 15:11:03 -0500 Received: from mail-ew0-f46.google.com (mail-ew0-f46.google.com [209.85.215.46]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p23KAWMR025945 for ; Thu, 3 Mar 2011 15:10:54 -0500 Received: by mail-ew0-f46.google.com with SMTP id 6so538457ewy.33 for ; Thu, 03 Mar 2011 12:10:54 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 3 Mar 2011 15:09:48 -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 Cc: Scott Arthur On Thu, Mar 3, 2011 at 12:25 AM, Scott Arthur wrote: > So I've just cloned a 1TB disk to a new 2TB disk using GNU ddresuce > My partition table looks like this: > Model: ATA WDC WD20EARS-00M (scsi) > Disk /dev/sda: 2000GB > Sector size (logical/physical): 512B/512B > Partition Table: msdos > Number �Start � End � � Size � �Type � � �File system �Flags > �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. > Am I able to simply use parted to resize the partition before doing a > pvresize etc? > Or is it risky to resize the underlying LVM partition? > No. I do not believe this is risky. John