Received: from agk.surrey.redhat.com (agk.surrey.redhat.com [172.16.10.74]) by pobox.surrey.redhat.com (8.12.8/8.12.8) with ESMTP id j68Hcr3N013284 for ; Fri, 8 Jul 2005 18:38:53 +0100 Received: from agk by agk.surrey.redhat.com with local (Exim 4.34) id 1DqwoP-0000cl-PE for linux-lvm@redhat.com; Fri, 08 Jul 2005 18:38:53 +0100 Date: Fri, 8 Jul 2005 18:38:53 +0100 From: Alasdair G Kergon Subject: Re: [linux-lvm] pvextend Message-ID: <20050708173853.GU12337@agk.surrey.redhat.com> References: <20050708164536.GE15561@wavehammer.waldi.eu.org> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <20050708164536.GE15561@wavehammer.waldi.eu.org> 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: linux-lvm@redhat.com On Fri, Jul 08, 2005 at 06:45:36PM +0200, Bastian Blank wrote: > I found some mails about a pvextend but noone implemented it. If I see pvresize > it correctly, I just need to change the value of pe_count and commit the > metadata, correct? No:-) > If yes, a poor mans pvextend is vi and pvcreate with the changed > metadata backup. Yes. vgcfgbackup edit file pvcreate --restorefile --uuid vgcfgrestore A pvresize command needs to implement that same sequence of commands internally. (similar to the way vgconvert works) Alasdair -- agk@redhat.com