[linux-lvm] Resizing PV

Heinz J . Mauelshagen mauelshagen at sistina.com
Mon Sep 22 05:45:01 UTC 2003


On Mon, Sep 22, 2003 at 12:21:59PM +0200, Måns Rullgård wrote:
> 
> Is it possible to reduce the size of a PV, freeing some space at the
> end?  I can make sure that the end is unused, of course.

No such command implemented yet.

Hack:
you can use LVM2 and change the text format of the metadata by hand
before running vgcfgrestore to store it back onto the PVs.

If you want to follow this non-supported path, you want to take a copy
of the original metadata file in /etc/lvm/backup/ to be able to back out gain.

> 
> -- 
> Måns Rullgård
> mru at users.sf.net
> 
> 
> _______________________________________________
> 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