Re: Re: [OxLUG] LVM2 problems

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

 



On Fri, Oct 15, 2004 at 10:18:07PM +0100, Paul Warren wrote:
> Is there any way around this?  Would growing the partition help?
 
Only some careful calculations and growing it backwards
so there's the right amount of space at the start.

Otherwise you'd have to relocate the first physical extents of
data elsewhere, so you have enough unused space at the beginning 
of the disk, then edit the metadata carefully to remove
the now-unused extents and shift the start of the data to where
LVM1 expects it to be.

The tests in lib/format1/format1.c:_pv_setup() 
  /* Retain existing extent locations exactly */
check for equality because that's all there's been time to test
(and should cover most cases of lvm1->lvm2->lvm1).
Checking instead for no overlap should be sufficient but hasn't been
tested.

Alasdair
-- 
agk@redhat.com

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux