From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.redhat.com (mx1.redhat.com [172.16.48.31]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n45GKnpV031471 for ; Tue, 5 May 2009 12:20:49 -0400 Received: from mickey.mouse-hole.com (mickey.mouse-hole.com [87.194.144.122]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n45GKaTd007441 for ; Tue, 5 May 2009 12:20:36 -0400 From: karl@mouse-hole.com Subject: Re: [linux-lvm] Resize physical volume Message-Id: <1241540435.10598@mouse-hole.com> Date: Tue, 05 May 2009 17:20:35 +0100 (BST) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="bound1241540435" 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: LVM general discussion and development This is a multi-part message in MIME format. --bound1241540435 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Does anyone have any advice on this matter? Regards Karl Karl Wagner wrote .. > Hi all > > I have just been through a fairly major reorganisation of my data, and need to > resize the physical volumes in my LVM setup. > > Currently I have sd[a-d]6, which are physical volumes for the volume group =91data=92, > and sd[a-d]7, which contain nothing. My plan was to get rid of p7 on each device > and extend p6 to include that space. However when I tried on sda, I got an error > after of Couldn't find device with uuid=85 > > These are the steps I took: > > * Deactivate all vg=92s > * Fdisk /dev/sda > * Delete p7 > * Delete p6 > * Create p6 with start at start of old p6, end at end of old p7 > * Write part table > > At this point, sda7 has gone and sda6 is the correct size (checked with blockdev > =96getsz). But running a pvscan, lvm tells me it cant find sda6. > > What am I missing? > > > > Regards > > Karl --bound1241540435--