VMware vCenter Converter P2V ESXi 常见问题

实用 VMware vCenter Converter 转换物理机/虚拟机  到ESX 常见问题

1. Unable to query the live source machine

复制代码
# 查看是否有多次 mount 挂载的分区
df -h
# 卸载
umount /xxx
# 如果在使用中,可以使用lsof查看
lsof | grep xxx

# 是否有启动docker
# docker 默认会有重复挂载分区的情况,转换前关闭docker服务

复制代码

 

2. 98% FAILED: Unable to reconfigure the destination virtual machine

复制代码
# 一般这种情况,所有的分区都已经转换完成,整个过程完成了98%
# 可以看转换日志查看确认
# 如果是linux直接启动虚拟机会报错:FAILED: An error occurred during the conversion:
'optional value not set'
# Volume Group "VolGroup00" Not Found # 解决方案1 使用系统镜像升级、或修复启动
# 解决方案2
使用系统镜像进入紧急恢复模式,恢复

 # Solution:

 mkinitrd -v -f --with=sd_mod --force-lvm-probe /boot/initrd-xxxxx.img kernel_name
 # For example:
 mkinitrd -v -f --with=sd_mod --force-lvm-probe /boot/initrd-2.4.18-19.8.el5.img 2.4.18-19.8

参考:https://communities.vmware.com/t5/Virtual-Machine-Guest-OS-and-VM/Volume-Group-quot-VolGroup00-quot-Not-Found/td-p/2519350

https://serverfault.com/questions/718860/no-volume-groups-found-centos

复制代码

 

 

 

3. FAILED: fault.HelperVmFailedToObtainIpFault.summary

# FAILED: Unable to obtain the IP address of the helper virtual machine
# P2v 设置选项中 # 需要设置 Helper VM network # 设置一个同网断 的临时ip

 

 

4.  使用非root用户报错:make sure that you can run sudo without entering a password when logged in to the source machine over SSH as “your_username”.

# 添加用户到sudo,并允许不输入密码执行sudo操纵
# vi /etc/sudoers your_username ALL=(ALL) NOPASSWD: ALL

 

5. FAILED: A general system error occurred: # :22 SSH-1.99-OpenSSH_4.3 

# P2v CentOS5 会报此错误
# 需要升级sshd到sshv2
# 可以参考文章:
Centos5 源码升级sshd
# 可以从远端telnet 服务器22 查看是否升级成功

 

posted @   i学笔记  阅读(1539)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示