[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] pvextend



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]