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

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

 



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@joerdens.de>
To: <linux-lvm@sistina.com>
Cc: <hank@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@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.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