Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 175326

An error occurred while consolidating disks: 9 (Bad file descriptor)

$
0
0

Hi,

 

I am running:

  • ESXi 6.7.0 (Build 8169922)
  • vSphere Client version 6.7.0.42000

 

There was a power outage in our data center yesterday and today when I try to power on a VM I get:

 

The redo log of '<hostname>.vmdk' is corrupted. If the problem persists, discard the redo log.

 

I then went through the KB article: https://kb.vmware.com/s/article/1006585 "Corrupt redo log causes errors within the virtual machine while powering on ESXi"

 

On the Snapshot Manager there are no snapshots available so I tried consolidating the snapshots from CLI but I get:

 

"An error occurred while consolidating disks: 9 (Bad file descriptor)."

 

I then followed steps in KB article https://kb.vmware.com/s/article/1002310 "Consolidating/Committing snapshots in ESXi"

 

When I run:

 

vim-cmd vmsvc/snapshot.create 9 SnapshotTest AsnapshotDescription 0 0

 

It returns:

 

Create Snapshot:

 

Yes, empty response; and when I run:

 

vim-cmd vmsvc/snapshot.removeall 9

 

It returns:

 

Remove All Snapshots:

 

Empty response again; and all <hostname>-00000#-sesparse.vmdk are still in the VM folder, and I get the "The redo log [...]" error message again when I try to power on the VM.

 

I also tried:

 

vmkfstools -i "<hostname>-000001.vmdk" "newdisk.vmdk" -d thin

 

but I get:

 

Clone: 9% done.Failed to clone disk: Bad file descriptor (589833)

 

I have also rebooted the ESXi server and did "services.sh restart" with no luck.

 

I have checked that all VMDK files are error free with:

 

vmkfstools -x check <hostname>.vmdk

 

I have checked the chain for consistency with

 

vmkfstools -e <hostname>.vmdk

 

It all looks OK.

 

What else can I try to recover this VM?

 

Many thanks!


Viewing all articles
Browse latest Browse all 175326

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>