[linux-lvm] How to grow a PV?

Thomas Kleffel thomas.kleffel at maintech.de
Fri Jun 20 10:06:01 UTC 2003


Hi!

> > I just installed 1.95.15 and pvresize tells me "Command not implemented
> > yet."
> > "pvresize --version" gives me the following:
> >
> >  > LVM version:       1.95.15 (2003-01-10)
> >  > Library version:      0.96.08-ioctrl (2003-03-27)
> >  > Driver version:      1.0.10
> >
> > Did I fetch an old version? Or do I need to get some bleeding-edge-stuff
> > from the CVS?
> > Or am I simply too stupid? :)
>
> No, you need to use pvcreate+vgcfgrestore with LVM2.
> Make a copy of your LVM metadata before you try it ;)
> (dd if=/dev/md0 of=md0.vgda bs)1k count=4k)

It worked perfectly :)
Thank you!

Regard,

Thomas






More information about the linux-lvm mailing list