Comments on Xen: How to Convert An Image-Based Guest To An LVM-Based Guest

Xen: How to Convert An Image-Based Guest To An LVM-Based Guest This short article explains how you can move/convert a Xen guest that uses disk images to LVM volumes. Virtual machines that use disk images are very slow and heavy on disk IO, therefore it's often better to use LVM. Also, LVM-based guests are easier to back up (using LVM snapshots).

4 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Andrew Perry

I would think formatting the new LVM as swap would be quicker than dd'ing the old image swap to the new LVM swap.  Any reason to dd it?

By: Andrew Perry

Great article to show the steps to make it simple!

It would be handy if you mentioned which Xen/Linux versions you are using as the configuration files are a bit different depending on which.

Andrew

By: Louise

Great howto.

On what OS did you do this? E.g. SLES and RHEL doesn't use quite the same commands for xen.

By: david

Yeah, I concur on the comments regarding distro & xen versions.

I tried this and wasn't able to get the instances to recognize the new storage.

I'm using CentOS 5.5 with xen 3.0.3.