2013年6月4日 星期二

How to resolve Vmware ESXi 無法增加虛擬硬碟大小的問題

vmware Thick provision size grey out issue:

   Please make sure the belong item before you continue to manual remove all snapshot

1.make sure there no vmware tool install is in progress

2.Have tried to delete all snapshots in snapshot manager, but always hung on 95% or 99 %

 

 

[Resolve]

1.enable Esxi ssh console

2.logon to ssh console

3.restart all service to manual cancel remove vmware snapshot progress

  services.sh restart

4.Follow the vmware kb to manually delete snapshot

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1002310

a.Run this command to get a list of virtual machines and the VMID for each virtual machine:

# vim-cmd vmsvc/getallvms

b.To verify if the snapshot exists, run this command and check the Snapshot Name, Snapshot Created On, and Snapshot State:

  1. # vim-cmd vmsvc/snapshot.get [VMID]

    The output appears similar to:

    Get Snapshot: |-ROOT --Snapshot Name : Test --Snapshot Desciption : --Snapshot Created On : 7/27/2011 13:49:55 --Snapshot State : powered on
c.if vmware id is 5 ,use belong command to remove it manually
 # vim-cmd vmsvc/snapshot.removeall [VMID]
 # vim-cmd vmsvc/snapshot.removeall 5

 

[Additional]

if the problem still exists, please try to shrink a thin vmdk first and use vm convert to import again.

沒有留言:

Obsidian 插件介紹:Text Generator

Text Generator 是 Obsidian 的一個插件,它可以根據給定的提示自動生成文本。這個插件使用 GPT-3 語言模型,能夠產生類似人類的文本,非常適合編寫故事、文章、電子郵件和其他類型文本。 主要功能: **生成文本:**根據提示生成各種長度的...