Microsoft Virtualization Discussions

Re: Event 12289 Volume Shadow Copy Service error: Unexpected error DeviceIoControl

I am having the same problem with smvi and protection manager.  Working with ESXi 5.0U1 and smvi v4.1.  I see this with machines that run SQL or Web services.

I found an interesting artifact from this.  If you go to the VM that is failing, and look at the device manager's hidden devices:

To work around this behavior and display devices when you click Show hidden devices

  1. Click Start, point to All Programs, point to Accessories, and then click Command Prompt.
  2. At a command prompt, type the following command , and then press ENTER: 

    set devmgr_show_nonpresent_devices=1

  3. Type the following command a command prompt, and then press ENTER: 

    start devmgmt.msc

  4. Troubleshoot the devices and drivers in Device Manager.

    NOTE: Click Show hidden devices on the View menu in Device Manager before you can see devices that are not connected to the computer.

You will see hidden disk drives, hidden storage volumes, and possibly hidden ShadowStorage devices.

If you clear all of these devices, you should get a good snapshot.  But, in my test so far, they come right back and then the snapshot fails again.

My thought is that these extra devices represent the snapshot process creating shadows and that they aren't closing out properly and get left behind.  Haven't gotten any further than that yet, but I am continuing to look and test.