[linux-lvm] pvextend

Alasdair G Kergon agk at redhat.com
Fri Jul 8 17:38:53 UTC 2005


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 at redhat.com




More information about the linux-lvm mailing list