Resizing Root Encrypted Azure linux VM

Nurdin 21 Reputation points
2022-10-15T08:07:58.13+00:00

Hi,

I upgraded Ubuntu VM OSDisk size from 64 GB to 80 GB by Portal.
Now I need to resize root filesystem due to already 100% usage.
250629-20221015-df-h.jpeg

250731-20221015-lsblk.jpeg

I tried to resize /dev/sda1 using fdisk and reboot.
The problem is after reboot I can't log in to the VM and get error "Network error: connection timed out".

I seem to be stuck here. Can somebody help? Thank you

Azure Disk Encryption
Azure Disk Encryption
An Azure service for virtual machines (VMs) that helps address organizational security and compliance requirements by encrypting the VM boot and data disks with keys and policies that are controlled in Azure Key Vault.
175 questions
{count} votes

Accepted answer
  1. Sumarigo-MSFT 47,106 Reputation points Microsoft Employee
    2022-10-18T11:18:26.343+00:00

    @Nurdin Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    Based on the error message, can you please refer to this article helps you find and correct the problems that occur due to Secure Shell (SSH) errors, SSH connection failures, or SSH is refused when you try to connect to a Linux virtual machine (VM). You can use the Azure portal, Azure CLI, or VM Access Extension for Linux to troubleshoot and resolve connection problems.

    Please let us know if you have any further queries. I’m happy to assist you further.

    ----------

    Please do not forget to 251536-accept-answer.png and “251606-image.png” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.