Virtual mahcine getting stuck accessing host disk

Y a h y a 416 Reputation points
2020-07-30T07:04:21.107+00:00

Hi

Windows Server 2016 std + essentials host, and Windows Server 2016 std guest.

The Windows Server 2016 guest has a drive mapped from the host. On long disk operations to the host disk such as copying a large file, the guest gets stuck and eventually disk operation fails.

How can I solve this issue please?

Thanks

Regards

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,528 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ian Xue 37,721 Reputation points Microsoft Vendor
    2020-08-04T10:08:19.087+00:00

    Hi

    Not sure if it'caused by the VM or virtual disk. You could run chkdsk /f on the vhdx and see if it helps. If no, create a new VM, attach the virtual disk and check if the new VM sitll get stuck.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Ian Xue 37,721 Reputation points Microsoft Vendor
    2020-07-31T07:00:57.043+00:00

    Hi,
    Thank you for posting on our forum.

    Is your VM generation 1 or generation 2? What’s the format and type is your virtual disk? VHD or VHDX? Fixed or dynamic?

    Does the VM get stuck only when there're disk operation between VM and host? What abou other situations, for example, copying from a remote file share? Are there any error message when the disk operation fails?

    You may also try to attach another virtual disk and test if the VM still get stuck while writing to the new virtual disk.

    Best Regards,
    Ian

    0 comments No comments

  2. Y a h y a 416 Reputation points
    2020-08-01T03:58:24.22+00:00

    Hi Ian

    Generation 2. VHDX. Fixed

    Seems only disk operation is effecting the VM.

    I was trying to use host disk for temp db from Exchange Server 2016 VM during Exchange offline defrag and I got this;

    "Operation terminated with error -1022 (JET_errDiskIO, Disk IO error) after 10091.203 seconds."

    This fails every time.

    Regards

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.