VMware Cloud Community
socalvm
Contributor
Contributor

Linux P2V Question/issue

Hello,

I'm new to the VMWare Communities and have only recently taken on an active role in managing our VMWare implementations after unfortunate company downsizing. I've been virtualizing an older legacy infrastructure over the past month or so and have had fairly good luck in reducing physical infrastructure. These are all Windows Servers.

I ran into an issue that I hope someone can help me with in trying to virtualize a Linux server. I've attached a screenshot so that someone who may have run into a Linux P2V issue could see the error. Basically, the server is configured to mount the root as follows:

# more /etc/fstab

/dev/VolGroup00/LogVol00 / ext3 defaults 1 1

UUID=636ba1cf-f315-4d5d-a3a3-edac9fb14e15 /boot ext3 defaults 1 2

tmpfs /dev/shm tmpfs defaults 0 0

devpts /dev/pts devpts gid=5,mode=620 0 0

sysfs /sys sysfs defaults 0 0

proc /proc proc defaults 0 0

/dev/VolGroup00/LogVol01 swap swap defaults 0 0

#

You'll see in the screenshot that the virtualized server is now trying to mount /dev/sdb1 and /dev on /sysroot

I know this is causing the issue, I'm just not sure how to resolve this. I'll keep looking for aditional information but any help would be greatly appreciated.

Thanks in Advance,

Mike

0 Kudos
9 Replies
TomHowarth
Leadership
Leadership

Welcome to the forums, I am moving your post to a more appropiate forum for greater visibility for your question

If you found this or any other answer useful please consider the use of the Helpful or correct buttons to award points

Tom Howarth VCP / vExpert

VMware Communities User Moderator

Blog: www.planetvm.net

Contributing author for the upcoming book "[VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment|http://my.safaribooksonline.com/9780136083214]”. Currently available on roughcuts

Tom Howarth VCP / VCAP / vExpert
VMware Communities User Moderator
Blog: http://www.planetvm.net
Contributing author on VMware vSphere and Virtual Infrastructure Security: Securing ESX and the Virtual Environment
Contributing author on VCP VMware Certified Professional on VSphere 4 Study Guide: Exam VCP-410
AndreTheGiant
Immortal
Immortal

You can see this link:

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

PS: which Linux version are you converting?

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
socalvm
Contributor
Contributor

I have Fedora installed: 2.6.25-14.fc9

0 Kudos
AndreTheGiant
Immortal
Immortal

Have you used Converter 4.0.1 in hot/live mode?

In this case is normal that your loose LVM, see page 10 in:

http://www.vmware.com/pdf/converter_standalone_guide401.pdf

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
maishsk
Expert
Expert

If you have any questions about the walk through please don't hesitate to ask.
Maish

Virtualization Architect & Systems Administrator

Maish Saidel-Keesing • @maishsk • http://technodrone.blogspot.com • VMTN Moderator • vExpert • Co-author of VMware vSphere Design
0 Kudos
azn2kew
Champion
Champion

Have you try using Platespin PowerConvert tool that does a great job for all Linux source guests. But here is a great guide how to P2V Linux guest from Petri site http://www.petri.co.il/physical-to-virtual-conversion-of-linux-servers-with-vmware-converter-bootcd....

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!!

Regards,

Stefan Nguyen

VMware vExpert 2009

iGeek Systems Inc.

VMware, Citrix, Microsoft Consultant

If you found this information useful, please consider awarding points for "Correct" or "Helpful". Thanks!!! Regards, Stefan Nguyen VMware vExpert 2009 iGeek Systems Inc. VMware vExpert, VCP 3 & 4, VSP, VTSP, CCA, CCEA, CCNA, MCSA, EMCSE, EMCISA
0 Kudos
socalvm
Contributor
Contributor

Sorry for not responding sooner, had a high priority project come up. Anyway, I am using converter 4..x in with a live server.

0 Kudos
AndreTheGiant
Immortal
Immortal

Convert 4 change LVM in normal disk.

But is strange that it is usinging sdb instead of sda.

You can try to fix with the boot CD in rescue mode.

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
okuyucu
Contributor
Contributor

I have a similar problem:

- i have a linux running as ec2 instance

- i installed and ran the vm converter standalone server on linux

- installed converter standalone client on window

- started steps to convert a powered on machine that is remote

- gave ip/user/pass credentials and the client times out with this error

PS: I am able to ssh to my linux using the IP/user/pass given above

0 Kudos