[linux-lvm] Re: Resizing PV

Heinz J . Mauelshagen mauelshagen at sistina.com
Mon Sep 22 08:25:01 UTC 2003


On Mon, Sep 22, 2003 at 03:12:55PM +0200, Måns Rullgård wrote:
> "Heinz J . Mauelshagen" <mauelshagen at sistina.com> writes:
> 
> > pe_start is the sector offset into the device.
> 
> OK, I thought it might be, but I wasn't sure.
> 
> > Yes, you need to reduce pe_count by 32 making it 1157 and vgcfgrestore.
> > You need to have recent LVM2 code so that vgcfgrestore updates the pe_count
> 
> How recent?  Is this new enough?
> 
>   LVM version:     2.00.03 (2003-07-13)
>   Library version: 1.00.02-ioctl (2003-07-12)
>   Driver version:  4.0.0

Should do it.

> 
> I'm using whatever device-mapper is in Linux 2.6.0-test5.

That's ok. device-mapper isn't involved in such
userspace metadata updates to the PVs.

> 
> > properly (and of course, the 32 PEs need to be empty).
> 
> -- 
> 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