- Ensure the VM is fully powered on and operational after the failover.
- Manually eject the virtual DVD from the VM settings in the Azure portal.
- Verify the recovery point is complete and valid.
- Check that you're using the latest version of the Azure Migrate tools and MOC operator.
- Review migration settings to ensure the virtual DVD is not included.
- Retry the migration after ejecting or detaching the virtual DVD.
- Ensure no processes inside the VM are using the virtual DVD.
- Check migration logs for any additional error details.
Azure Migrate gives a cannot eject virtual DVD error
Moc-operator cannot eject virtual DVD during migration to Azure local after fail over complete.
3 answers
Sort by: Most helpful
-
Lionel Ong 20 Reputation points
2025-01-05T23:05:45.7733333+00:00 -
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.
-
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.