Solved

How to retain LVM during P2V

Posted on 2010-09-10
2
2,182 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
Comment Utility
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
Comment Utility
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…

763 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

7 Experts available now in Live!

Get 1:1 Help Now