How to check health status of vmdk.
search cancel

How to check health status of vmdk.

book

Article ID: 282643

calendar_today

Updated On:

Products

Support Portal

Issue/Introduction

This article to shows:

  • how to check health status of vmdk
  • how to repair a disk with errors

 

Environment

vsphere 7.0/vsphere 8.0

Resolution

1. Run command below to check vmdk health status.

# vmkfstools -x check /path/to/machine.vmdk

 

If the disk is healthy, the output would be:

Disk is error free

Otherwise, it would be:

Disk needs repair.

2. If the vmdk is not error free, run the below command to repair it:

# vmkfstools -x repair /path/to/machine.vmdk

If it is repaired successfully, the output would be:

Disk was successfully repaired.