Tested behavior of various Linux distributions on Server 2012 R2. The
following distributions were tested:
RHEL 7.0
SLES 12
Ubuntu 14.10
All three Linux releases behaved the same. If the Hyper-V Manager is used to
remove the media from the VMs DVD drive, an
error is returned. However, if the eject command is used from within the guest
OS, the DVD media is removed from the VMs
DVD drive.
Repro steps:
1. Add a .iso to the VMs DVD drive.
2. Mount the /dev/sr0 device if it is not auto mounted by the kernel.
3. Unmount the /dev/sr0 device.
4. From Hyper-V manager, try to set the VMs DVD drive media to none.
Results:
On step 4, the following error is returned:
Failed to remove device ‘Microsoft:Hyper-V:Virtual CD/DVD
Disk’: Provider is not capable of the attempted operation
(0x80041024).
Could not change the media. The media is currently locked by
the guest operating system.
On a bare metal Ubuntu 14.04 system, after inserting media into the DVD drive,
the media is auto mounted.
If I then push the media eject button on the physical DVD drive, the tray is
ejected, but the
device /dev/sr0 still shows as mounted.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1177148
Title:
DVD medium locked and not released by Ubuntu on Windows server 2012
and OS133/134
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1177148/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs