Managed disk successfully attached to VM but not mounted

RAVINDRA H (ravinh) 21 Reputation points
2021-10-20T16:10:07.773+00:00

Hi All,

I'm trying to create an instance of Cisco C8000V router VM instance in Azure and attach a 2TB data disk. Though both the VM creation and data disk attachment to the VM is successful I see that the volume is not getting mounted.

Below output shows that the volume has been attached to VM (lsblk command output).

[vm30:/]$ lsblk | grep 2T
sdc 8:32 0 2T 0 disk
`-sdc1 8:33 0 2T 0 part
[vm30:/]$

However, df -Th does not show this volume mounted.
[vm30:/]$ df -Th | grep 2T
[vm30:/]$

Please let me know what might be causing this issue and how to resolve the same.

Thanks & Regards,
-Ravi

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,164 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.
574 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pradeep Kommaraju 2,546 Reputation points
    2021-10-20T18:37:14.523+00:00

    Hi @RAVINDRA H (ravinh) ,

    Thanks for reaching out to Microsoft Q&A Platform .

    Let me explain you the concept of attaching a data disk here ,This involved two steps :

    1. Attaching the new data disk to the VM through portal/powershell/CLI/API .
    2. Once the disk is attached we should manually log into the VM and either initialize or mount the disk .

    Ref:
    https://learn.microsoft.com/en-us/azure/virtual-machines/windows/attach-managed-disk-portal
    https://learn.microsoft.com/en-us/azure/virtual-machines/linux/attach-disk-portal

    So the question is did you try to mount the disk manually ?

    Please do let me know if this answer is acceptable in your use case or do let me know if you have any further questions on the same .

    Thanks and Regards ,
    Pradeep

    1 person found this answer helpful.
    0 comments No comments