Solved

How to retain LVM during P2V

Posted on 2010-09-10
2
2,248 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
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 edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
This video shows you how to use a vSphere client to connect to your ESX host as the root user. Demonstrates the basic connection of bypassing certification set up. Demonstrates how to access the traditional view to begin managing your virtual mac…

726 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