Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to retain LVM during P2V

Posted on 2010-09-10
2
Medium Priority
?
2,340 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 2000 total points
ID: 33651554
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
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…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

916 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