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

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



On Mon, Oct 21, 2002 at 08:08:04PM +0200, Denie Andriessen wrote:
> 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 !

Good plan!

Thanks, Frank



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