Solved

How to retain LVM during P2V

Posted on 2010-09-10
2
2,201 Views
Last Modified: 2012-05-10
I have several Linux Boxes that I have been asked to convert P2V. My linux admins are not happy that the LVM does copy over using the live P2V conversion. Any ideas on how I can fix this or what I can do to retain this during the P2V process?
0
Comment
Question by:pfeinber
  • 2
2 Comments
 
LVL 7

Expert Comment

by:simonseztech
ID: 33651550
Converter does not support creating LVM on the target during live Linux conversion.

You can try using Converter coldclone CD, but you will need to reconfigure the target VM by yourself since cold clone does not suport reconfig Linux system. By reconfig I mean installing bootloader, patching initrd to have the right disk drivers, patching fstab etc.

Have a look here
http://technodrone.blogspot.com/2009/01/converting-linux-virtual-machine-with.html

In this case you can build a new VM with the same distro version with a temporally new name and new IP.

Then use rysnc (or nc) to transfer all the filesystem (exept /boot, /etc and of course /proc, /dev and other pseudo fs).

Finally copy old /etc/ in a new temporally location on the new VM and copy into this location the news fstab, modules (modprobe.conf or modules.conf, udev or similar), the new bootloader conf file (if is /etc) and then I swap the etc dirs and reboot the VM.

hope it help.
0
 
LVL 7

Accepted Solution

by:
simonseztech earned 500 total points
ID: 33651554
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now