[linux-lvm] Is it possible to change the PE size on a live volume?

Denie Andriessen D.Andriessen at pink.nl
Mon Oct 21 13:06:01 UTC 2002


Hi,

I had that same problem/miscalculation once..

What I wanted to do was, to create a new volumegroup, that only holds the
last (new) disk(s) that you want to add.
Then, move as much as possible of the data to the new disk, scrink the old
volume as much as possible (e2fsadm first, then vgreduce old voulme, PVmove,
vgextend on the new volume, e2fsadm on the new volume, repeat untill done..
last go, vgremove old volumegroup, and presto..It takes quite a while to
complete, depending on the size of your volume..... (and I was in the
situation that the disk I added was larger then the largest partition I had
in the initial situation..

Good tip: Try and test it with the empty space on the new disk first !

Unfortunatelt it failed.. (had old LVM tools, with a minor bug in it)

----- Original Message -----
From: "Frank Joerdens" <frank at joerdens.de>
To: <linux-lvm at sistina.com>
Cc: <hank at fas-art.com>
Sent: Monday, October 21, 2002 7:40 PM
Subject: [linux-lvm] Is it possible to change the PE size on a live volume?


> Greetings. My volume is 225 GB in size and getting too small.
> Unfortunately, I used the default PE size when creating the volume
> group. Is there any way I can overcome the 256 GB limit without
> recreating the entire thing (where would I put all the data that's on
> there right now?)?
>
> Cheers, Frank
>
> _______________________________________________
> 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/
>





More information about the linux-lvm mailing list