Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am dealing with a virtual machine that is receiving the following entry in the event log:

TIME OF EVENT: 7/30/2011 3:47:05 PM
EVENT LOG: System
EVENT SOURCE: disk
EVENT ID: 7
SEVERITY: Error
DESCRIPTION: The device, \Device\Harddisk3\DR3, has a bad block.

Pretty standard fare if this was a physical server, but I need to determine if this is an issue with a .vmdk file have a 'virtual' bad block or if this is occurring because of a physical disk on the SAN.

Is there a way to determine this without taking the VM offline?

share|improve this question
4  
What OS? What hypervisor? –  KCotreau Jul 31 '11 at 20:29
    
I would think that if there was a disk error you would see it in the log of the physical machine also. On the other hand, I can't imagine how a virtual machine could throw a disk error without the physical disk having an error. –  Loren Pechtel Jul 31 '11 at 21:23
    
Cosmic rays. I'm not really being facetious. It is possible for there to be a corrupted byte in the virtual drive that does not correspond to a real bad block. –  Abraxas Jul 31 '11 at 22:00
add comment

1 Answer

It's always possible that there is no bad block. I had that happen before. Running chkdsk /b on the drive fixed that problem. But the VM would need to be offline for that.

Testing both the real drive and the virtual one could be done with Windows running using HDTune. Use the full scan and look for the bad block(s). It isn't the best tool in the world, but it has the advantage that it runs in Windows and you can keep your VM running.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.