After OS and Data disk swapping, When I restart the VM the notification keeping loading without indicating successful restart or start or stop or VM resize...etc although the command is executed successfully, so what is the root cause of this issue?

2025-02-06T10:41:26.0266667+00:00

After OS and Data disk swapping, When I restart the VM the notification keeping loading without indicating successful restart or start or stop or VM resize...etc although the command is executed successfully, so what is the root cause of this issue, and how can I troubleshoot this?

This is related to windows 2019 VM

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,907 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,703 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Hania Lian 21,196 Reputation points Microsoft Vendor
    2025-02-12T15:15:33.8233333+00:00

    Hello,

    1. Check Activity Log and Resource Health

    Navigate to the VM’s Activity Log and check for any errors or warnings related to the VM or disk operations.

    Check the Resource Health to ensure the VM and its associated resources are in a healthy state.

    1. Use Serial Console (if available)

    Enable and connect to the Serial Console of the VM.

    Review the boot messages to identify any errors or issues during the startup process. For example:

    “Boot failed” or “No bootable device found.”

    Errors related to disk configuration or bootloader.

    3.Verify Disk Configuration

    Ensure the OS disk is correctly attached to the VM in the Azure Portal:

    Go to the VM’s Disks section.

    Verify that the OS disk is listed and configured correctly.

    If you swapped the disks manually, ensure that the ostype and caching settings are correctly configured for the OS disk.

    Best Regards,

    Hania Lian

    ============================================

    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.