I tried attached a managed disk to my Linux VM but it is not reflecting

osuolale emmanuel 1 Reputation point
2020-06-25T10:37:46.803+00:00

Yesterday i tried creating a Linux VM and Attaching a disk to it by following the instruction on MIcrosoft Learn, I was able to do everything successful and the disk actually showed when i used lsblk command
When i then tried to resize it that worked great too and when i used lsblk it showed
But when i tried to verify it using
ssh azureuser@$ipaddress df -h
The disk i tried to resize still maintained it previous size
Can anybody helo me

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,560 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
754 questions
Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
600 questions
{count} votes

2 answers

Sort by: Most helpful
  1. deherman-MSFT 35,556 Reputation points Microsoft Employee
    2020-06-29T15:34:25.713+00:00

    @osuolale emmanuel Please see the document Expand virtual hard disks on a Linux VM with the Azure CLI. From your description it sounds like you still need to resize the filesystem. You can find details in the provided document.

    --------------------------------------------------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

  2. osuolale emmanuel 1 Reputation point
    2020-06-29T17:57:50.413+00:00

    I have already resized it and that worked perfectly, but after mounting it, It didn't reflect