How to browse Azure managed disk?

RdJNL 36 Reputation points
2020-12-19T22:07:54.253+00:00

I'm using a managed disk as storage for a kubernetes pod (postgres). Is there any way to explore and change the contents of the disk from the outside?

Azure Disk Storage
Azure Disk Storage
A high-performance, durable block storage designed to be used with Azure Virtual Machines and Azure VMware Solution.
572 questions
{count} votes

Accepted answer
  1. deherman-MSFT 33,141 Reputation points Microsoft Employee
    2020-12-21T17:56:13.197+00:00

    @RdJNL
    Managed disks cannot be opened or browsed from the outside, you need to be logged into the VM to view the contents. If you wish to view and change the contents of the disk you could use SFTP to login and browse the folders.

    Hope this helps. Let me know if you have further questions or issues.

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

    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.


1 additional answer

Sort by: Most helpful
  1. Sumarigo-MSFT 43,406 Reputation points Microsoft Employee
    2020-12-31T02:42:25.713+00:00

    @RdJNL You can export the vhd and mount it to something local to take a look at the contents. Other than that, there isn’t a way to look at the contents through the portal or Azure CLI if that’s what you are getting at.

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

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

    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