RSS
Use the vmkfstools command to check or repair a virtual disk if it gets corrupted.
-x|--fix [check|repair]
For example,
vmkfstools -x check /vmfs/volumes/my_datastore/my_disk.vmdk
check-circle-line
exclamation-circle-line
close-line
RSS
Use the vmkfstools command to check or repair a virtual disk if it gets corrupted.
-x|--fix [check|repair]
For example,
vmkfstools -x check /vmfs/volumes/my_datastore/my_disk.vmdk
check-circle-line
exclamation-circle-line
close-line
Some times the VM fails to power ON, there may be issues with the VMDK file, you can use below steps to check and repair the VMDK file.
- Login to ESXi console using Putty.
- Go to folder where your VM is located.
- Run below command to check if the .vmdk is corrupted.
- vmkfstools –fix check disk-001.vmdk
- If your disk requires repairing, run below command.
- vmkfstools –fix repair disk-001.vmdk
- Create new disk image from the old one to avoid further issues.
- vmkfstools -i disk-001.vmdk disk-new-001.vmdk
- Add the new disk-new-001.vmdk to the VM.
Hope above steps help in resolving the issue.
Published
June 12, 2017January 17, 2019
Rate this post
Если у вас на системе виртуализации ESX повредился файл VMDK, первое что необходимо, использовать утилиту
vmkfstools —fix check disk-s001.vmdk
После этого мы можем использовать команду для ремонта диска:
vmkfstools —fix repair disk-s001.vmdk
Так же можно пропробовать скопировать старый диск в новый:
vmkfstools -i disk-s001.vmdk disk-new.vmdk
Есть проблемы с установкой и администрирование серверов ? Обращайтесь — [email protected]
Похожие статьи:
- Как конвертировать образа DD и qcow2 и RAW img в образ VMDK для Vmware
- Что делать, если тормозит Docker?
- Что делать, если сайт выдает ошибку 503, 504
- Что делать если mysql выдает: MySQL server PID file could not be found!
Posted by K_9 2015-03-19T20:27:58Z
Hi all;
I have a Windows Server 2008 R2 VM on ESXi 5.1 host managed by vCenter 5.5.
The VM C drive is suffering Event ID 55 (The file system structure on disk is corrupt and unusable. Please run the chkdsk utility on the volume «Drive_letter:»)
CHKDSK fixes the issue for few days, and then the issue occurs again.
Any idea how to check the VMDK disk for errors?
Thank you.
6 Replies
-
The VMDK is just a file that sits on top of another file structure. Is this local disk, SAN or something else?
Was this post helpful?
thumb_up
thumb_down
-
All the storage is on EMC SANs… Is there a way to check the VMDK file integrity «check for errors. Other VMs on the same host are all ok.
Was this post helpful?
thumb_up
thumb_down
-
You run a check disk just as you normally would from within the VM that has the troubled disk attached. If you need to check individual file integrity (VHDx/VMDK’s are just files to begin with) then on VMware ESXi, this is how you do it:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalI… Opens a new window
Was this post helpful?
thumb_up
thumb_down
-
I know this is old—we have a similar issue happening with a 2008 server on ESX 6.5. Every couple of weeks we get such severe corruption it crashes. Did you ever get it to stop?
Was this post helpful?
thumb_up
thumb_down
-
There is actually a check and repair option now in
VMKFSTOOLS with -x (lowercase) I found it detailed on this website’s page http://www.enterprisedaddy.com/2016/08/use-vmkfstools-virtual-disks/ Opens a new window I don’t know when this was included in the tool, but its worth checking to see if its there for you.
Was this post helpful?
thumb_up
thumb_down