Skip to content

Snapshot based disk migration #699

Open
@s4heid

Description

@s4heid

Is your feature request related to a problem? Please describe.

Currently, Azure does not support a direct migration from Premium SSD v2 or Ultra SSD to other disk types, as detailed here. This limitation prevents the use of the native disk update feature for those looking to switch storage types from Premium SSD v2 or Ultra Disks.

Describe the solution you'd like

Although direct support is not available yet, changing the disk type is feasible by utilizing snapshots. If you're transitioning from Premium SSD v2 or Ultra Disks, the update_disk method should do the following steps:

  1. unmounting the disk
  2. creating a snapshot, ensuring the completionPercent reaches 100
  3. generating a new disk from this snapshot
  4. mounting the new disk
  5. removing the snapshot again

Pending Task: evaluate and compare the efficiency of using regular copy methods versus snapshots.

Additional context
This request is a continuation of issue #697 and has been suggested by @MSSedusch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Waiting for Changes | Open for Contribution

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions