Swap Disk in Azure VM

kash 1 Reputation point
2022-12-29T14:31:37.32+00:00

We had an issue with Azure Hosted VM which was a Linux Disk.
We have downloaded the VHD and fixed the issue with kernel.
I have uploaded it back however when I go to swap disk I am unable to find my disk which sits in a container however the Azure Swap disk option is trying to find it within the Resourcegroup which was orignally setup.

how do I fix this please.

thanks

Azure Storage
Azure Storage
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,535 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Andreas Baumgarten 123.5K Reputation points MVP Volunteer Moderator
    2022-12-29T14:45:34.913+00:00

    Hi @kash ,

    the easiest way might be to create a new VM based on the uploaded disk in the Azure Portal.

    • Navigate to Disks in the Azure Portal
    • Select the uploaded disk
    • Click on Create VM

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten


  2. kash 1 Reputation point
    2022-12-29T19:27:48.32+00:00

    @Andreas Baumgarten thanks for that.

    I take it, this process clones content of the disk into newly created one ?

    Many thanks


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.