After resizing the VM to allocate less memory, the VM does not start the Linux OS.

Luciana Menegon Lage 0 Reputation points
2023-06-13T15:55:30.8666667+00:00
After making a size of the VM to allocate less memory, from 128Gb to 64Gb, the VM does not start the Linux OS, it seems that it does not find the disks.
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,041 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Luke Murray 11,436 Reputation points MVP Volunteer Moderator
    2023-06-13T20:21:15.4366667+00:00

    If you resize it back, to the original size does it work?

    Are the disks still attached?

    Its possible the VM was resized to a SKU that doesn't support the disk type you are using, verify that the SKU supports Premium Disk etc if you are running a premium disk.

    1 person found this answer helpful.
    0 comments No comments

  2. vipullag-MSFT 26,487 Reputation points Moderator
    2023-06-21T05:15:30.23+00:00

    Hello Luciana Menegon Lage

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    Adding to previous response from lukemurraynz, If you have resized an Azure VM to allocate less memory and the Linux OS is not starting, it's possible that the resizing process has caused issues with disk configuration or disk detection.

    If the disk is still attached to the VM, you can try to troubleshoot the issue by following these steps:

    1. Restart the VM and go to the serial console by clicking on "Serial console" in the left-hand menu.
    2. Check if there are any error messages related to the disk or file system.
    3. If there are error messages, you can try to fix the file system by running a file system check. To do this, you can boot the VM from a Linux rescue disk and run the file system check from there.

    If you are still unable to start the VM after trying these steps, you may need to restore the VM from a backup or create a new VM from the disk.

    Hope this helps.

    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.