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

Re: [linux-lvm] LVM limit on PE's/size?



On Nov 29, 2001  11:40 -0500, Peter Skensved wrote:
>       
> >In general you should plan for the largest possible Logical Volume size
> >during the lifetime of a Volume Group and set the Physical Extent size
> >(vgcreate -s) acordingly. Even though Linux does not support more than 2TB
> >per block device today, it will be in the future and you won't suffer from
> >the LVM1 constraint ITR.
> 
>     Is there any way to change the PE size `after the fact ' ?
 
 No.

> I have a 255.99 GB logical volume ( three 80 GB drives ) with PE size set
> to 4 Mb. Is there a non-destructive way to increase the PE size so that I
> can add more drives ? Or do I have to back everything up and start from
> scratch ?

Well, if you are adding more drives, you could always create a new VG with
the larger PE size, copy over all of your data, and then add the old drives
into the new VG after removing them from the old VG.  Sadly, the PE size
seems to be stored in the PV header (as well as the VG header), so it may
be that you need to re-initialize the PV to change the PE size (maybe not,
I don't know).

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/




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