Is it possible to convert striped logical volume to linear logical volume?

Posted by JooMing on Server Fault See other posts from Server Fault or by JooMing
Published on 2011-02-01T20:01:33Z Indexed on 2011/02/01 23:27 UTC
Read the original article Hit count: 313

Filed under:
|

I've a logical volume that is striped across three physical volumes. I had to move this logical volume to another physical volume. This worked nicely with pvmove command. However, I discovered later that the logical volume is still striped and now all three stripes are on the same physical volume. Is there any way to convert striped logical volumes to linear logical volumes? I'm using LVM2 on linux.

I figured that the obvious possibility is to rename the striped logical volume, create a new linear logical volume, and then copy data over, but that requires taking the filesystem system offline for some time. Unfortunately, I can't do that before the next week. Is there any better alternative?

© Server Fault or respective owner

Related posts about linux

Related posts about lvm2