Can we migrate disk from one suse VM to other Suse VM

Ankit 1 Reputation point
2022-08-23T06:10:44.48+00:00

We are planning to unmount the filesystem from one Suse VM to other Suse VM. Can someone help to provide the steps, how we cn move disk from one VM to other.

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

1 answer

Sort by: Most helpful
  1. Jackson Martins 9,636 Reputation points MVP
    2022-08-23T07:05:45.687+00:00

    Hi @Ankit
    You have two ways to achieve this.

    First, if the disk is a data disk, I'll need to shut down the VM, detach the disk, and attach it to the new VM.

    Reference: https://learn.microsoft.com/en-us/azure/virtual-machines/linux/detach-disk

    Second, if it's your VM's OS disk, you'll need to delete the VM but keep the disk:

    233966-keep-os-disk.png

    After removing the VM and keeping the disk, you can attach it to another VM.

    Get in touch if you need more help with this issue.

    --please don't forget to "[Accept the answer]" if the reply is helpful--