[linux-lvm] How to grow a PV?

Heinz J . Mauelshagen mauelshagen at sistina.com
Thu Jun 12 08:58:01 UTC 2003


On Thu, Jun 12, 2003 at 02:45:49PM +0200, Thomas Kleffel wrote:
> Hi again...
> 
> ...I'm sorry for having to ask again...

No problem.

> 
> Heinz J . Mauelshagen wrote:
> 
> > LVM2 supports PV resizing. 
> 
> 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)

> 
> Thanks for your help,
> 
> Thomas Kleffel
> 
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Sistina Software Inc.
Senior Consultant/Developer                       Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at Sistina.com                           +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the linux-lvm mailing list