Solved

How to retain LVM during P2V

Posted on 2010-09-10
2
2,222 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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:
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…

832 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