Azure Migrate gives a cannot eject virtual DVD error

Chris Davis 45 Reputation points
2025-01-04T08:11:58.15+00:00

Moc-operator cannot eject virtual DVD during migration to Azure local after fail over complete.

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
848 questions
{count} votes

3 answers

Sort by: Most helpful
  1. Lionel Ong 20 Reputation points
    2025-01-05T23:05:45.7733333+00:00
    1. Ensure the VM is fully powered on and operational after the failover.
    2. Manually eject the virtual DVD from the VM settings in the Azure portal.
    3. Verify the recovery point is complete and valid.
    4. Check that you're using the latest version of the Azure Migrate tools and MOC operator.
    5. Review migration settings to ensure the virtual DVD is not included.
    6. Retry the migration after ejecting or detaching the virtual DVD.
    7. Ensure no processes inside the VM are using the virtual DVD.
    8. Check migration logs for any additional error details.

  2. Jon McCabe 5 Reputation points MVP
    2025-01-07T16:41:51.09+00:00

    Is this a Gen1 or Gen2 Hyper-V VM? And what do you mean "removes migrated VM from the Azure Local cluster"? Are you saying the migration fails completely? Have you looked in both Failover Cluster Manager and Hyper-V Manager? I know there can be issues if the source VM is using the D:\ drive or has an ISO mounted because that is needed for the Arc seed.


  3. Jon McCabe 5 Reputation points MVP
    2025-01-09T14:11:18.96+00:00

    Not sure which workaround you are referring to, but to enable Guest Management on a Gen1 migrated VM you need to follow the steps outlined here:

    Enable guest management for migrated VMs (preview)

    Hope this helps.

    0 comments No comments

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.