VMware Cloud Community
jarends3
Contributor
Contributor

Linux P2V fails at 3% Error: Failed to clone the volume mounted on '/boot

I'm doing a P2V of a RHEL 4 box. All goes well until it fails at 3% with the error Error: Failed to clone the volume mounted on '/boot'

0 Kudos
7 Replies
athlon_crazy
Virtuoso
Virtuoso

which converter u used? list your /etc/fstab, fdisk -l, etc & perhaps someone could help you..

VMware newbie..

Zen Systems Sdn Bhd

www.no-x.org

http://www.no-x.org
0 Kudos
jarends3
Contributor
Contributor

Using converter 4.

# cat /etc/fstab

  1. This file is edited by fstab-sync - see 'man fstab-sync' for details

/dev/LVG00/lv00 / ext3 defaults 1 1

LABEL=/boot /boot ext3 defaults 1 2

/dev/LVG01/lv00 /export ext3 defaults 1 2

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

none /dev/shm tmpfs defaults 0 0

none /proc proc defaults 0 0

none /sys sysfs defaults 0 0

/dev/LVG00/lv01 swap swap defaults 0 0

/dev/hda /media/cdrom auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

/dev/fd0 /media/floppy auto pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0 0

As part of the converter process I am increasing the size of /export

# fdisk -l

Disk /dev/hdb: 80.0 GB, 80026361856 bytes

255 heads, 63 sectors/track, 9729 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/hdb1 1 9729 78148161 8e Linux LVM

Disk /dev/sda: 4569 MB, 4569600000 bytes

255 heads, 63 sectors/track, 555 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/sda1 * 1 13 104391 83 Linux

/dev/sda2 14 555 4353615 8e Linux LVM

0 Kudos
AndreTheGiant
Immortal
Immortal

You are using LVM.

I'm not sure that they are supported by Converter. Also only a few distros are supperted.

Andre

**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
AndreTheGiant
Immortal
Immortal

If you want to try a manual procedure you can read:

http://communities.vmware.com/docs/DOC-5751

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

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

LVM is not supported? I did not realize that. VMware Converter is supposed to support RHEL4.

AndreTheGiant - thank you for the links, but I'm not sure either applies in my case. The first link is for converter 3. The second one seems to address my issue a bit more closely. However, when doing the conversion, I get 3 disks (none are missing).

0 Kudos
vmweathers
Expert
Expert

LVM on the source is supported in Linux P2V, it's just not "preserved" in the target. Instead every LVM volume is converted into a partition. This is mentioned in the user manual/guide.

Please see this thread for your cloning failure, I believe it is a network configuration error:

http://communities.vmware.com/message/1212820#1212820

If that doesn't resolve your problem, then please post the logs for this conversion by selecting it in the GUI and then clicking the "Export logs..." link near the event log at the bottom right of the main window.

BTW, just because a distro is "supported" it doesn't mean we'll be able to support every possible variation of features you could be using on it. Linux is quite a diverse beast.

(If your question has been resolved please mark the answers as "Helpful" or "Correct".)

(If your question has been resolved please mark the answers as "Helpful" or "Correct".)
0 Kudos
jarends3
Contributor
Contributor

I discovered this was a network problem right before your posting. Was a fairly complex situation where two vlans can normally communicate, except in a case where a computer on that vlan is in one particular building.

0 Kudos