hyper-v vm ubuntu cant work, shows IO error After host win10 shutdown and startup

tt6 0 Reputation points
2024-03-01T04:52:09.18+00:00
  • System: host: Win10 professional enable fast startup AMD processor r7 7840h hyper-v: ubuntu-22.04-live-server-amd64.iso install setting is all default

problem

When I startup Win10, with ubuntu on hyperv running when shutdown win10, ubuntu show errors like below and cannot work normallyUser's image

My solvement is forcing off the VM and the then start it , but doing it every time is agonizing.

Sleep the computer and awake will not cause this problem

compare with others

Test with the other two Intel-chipset computers, they does not has this problem

keywords: blk_update_request, I/O error, EXT4-fs(dm-0), __ext4_find_entry, hyperv,hyper-v,ubuntu,writing superblock,superblock,Buffer I/O,host startup

Windows for business Windows Client for IT Pros Storage high availability Virtualization and Hyper-V
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-03-21T08:02:16.15+00:00

    If your Hyper-V virtual machine running Ubuntu encounters IO errors after a Windows 10 host shutdown and startup, it could be due to various reasons. Here are some steps to troubleshoot and potentially resolve the issue:

    1. Ensure that Hyper-V Integration Services are installed and enabled within the Ubuntu virtual machine. Integration Services provide enhanced functionality and performance for virtual machines running on Hyper-V. You can check and enable Integration Services from the Hyper-V Manager while the virtual machine is running.
    2. Verify the virtual hard disk (VHDX) configuration for the Ubuntu virtual machine. Ensure that the disk file path is correctly specified and that there are no issues with disk permissions or disk space.
    3. Make sure that both the Windows 10 host and Ubuntu virtual machine are up to date with the latest updates and patches. Updates to the Hyper-V platform or Ubuntu kernel may address compatibility issues or bugs that could cause IO errors.
    4. Monitor system resource usage on the Windows 10 host to ensure that there are no resource constraints or bottlenecks that could affect the performance of the Ubuntu virtual machine. Insufficient resources such as CPU, memory, or disk I/O can lead to IO errors.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    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.