VMware Cloud Community
rmuthukr
Contributor
Contributor

p2 failed unable to create partition table linux

Hi

 

I am trying to create p2v from source RHEL 7.9 server, it failed 

Message is

'An error occurred during the conversion " cannot create partition table"

already have 4 primary partition so cannot crate extended partition to hold the 5 logical partitions needed'

Reply
0 Kudos
6 Replies
plamen_d
VMware Employee
VMware Employee

Hello and welcome to the community

 

This is an interesting case. It likely means there is an MBR disk with more than 4 basic volumes on it. As a workaround I may suggest one or both of these:

- set the disk with these volumes to become a logical volume group (there is a 'To LVG' button in 'Data to copy' in the Options page in the wizard)

- add a new disk and move some of the volumes there

HTH,

Plamen

Reply
0 Kudos
rmuthukr
Contributor
Contributor

Hi Mr.Plamen

 

Thank you very much for the response. The option of to_LVG is disabled while converting. 

 

Muthukumar

Reply
0 Kudos
plamen_d
VMware Employee
VMware Employee

Hi Mr. Muthukumar,

This probably means the disk contains the boot and/or system volume(s). In that case what is left is to move the other volumes to a new disk. There you can make them either basic or logical (logical volumes are usually recommended).

I am curious what the volumes on the source machine look like. Could you share that information? E.g. by pasting the options page in the wizard, 'data to copy', 'advanced', 'destination layout' view. Or the results of some command on the source that shows it (mount, df, blkid, ...)

 

Regards,

Plamen

Reply
0 Kudos
rmuthukr
Contributor
Contributor

Hi

 

I am attaching the screen shot from the source system

Muthukumar

Reply
0 Kudos
plamen_d
VMware Employee
VMware Employee

Hi and thanks for the info.

It basically justifies my suspicions - a single disk split into 8 partitions with basic volumes on them. I would say this is not the contemporary way of dealing with storage. I'd recommend, if you can afford it, to you use the opportunity presented by converting the machine and make your volumes more flexible. I.e. leave only '/' (dev/sda10) and '/boot/efi' (/dev/sda9) on the destination disk, move all other volumes to a new virtual disk, and enable LVM on it.

 

Regards,

Plamen

Reply
0 Kudos
rmuthukr
Contributor
Contributor

Hi Mr.Plamen

Thank you very much for your guidance.

We are able to migrate after leaving a backup partition. Which we will migrate later on.

Than you once again for your prompt responses

 

Muthukumar 

 

 

 

 

Reply
0 Kudos