I know this is an old thread but I have this problem as well.
I have a MacPro v5.1 with the cd/dvd tray and the original internal Pioneer DVD drive.
If I insert a new disk when one is not present, the DVD mounts just fine.
It is only after putting the machine to sleep at night or having it go to sleep on its own do I have problems.
After waking up from sleep mode, if there is a DVD disk in the internal DVD drive, the DVD drive and disk are not mounted.
They have disappeared from the finder.
The DVD drive and disk are not shown in the sidebar of the finder.
They are not shown on the desktop of the finder.
The keyboard eject button does not work even thought there is a DVD disk in the drive.
Opening up an appliation (DVD player, iTunes, Disk Utility) does not help.
The drive and DVD disk do not show up in iTunes and Disk utility to mount them.
If I start up the DVD player, an error message appears: "There was an initialization error. A valid DVD drive could not be found. [-70012]
Relaunching the finder does not help.
I know restarting the computer works.
However, I have having to constantly restart the computer after sleep so that the internal DVD drive is mounted with its disk inside.
I tried staring up parallels desktop (v9) suggestion above but this did not work either.
With parallels desktop, I tried recognizing the drive but it did not work either.
At least parallels does see the drive.
I have tried looking into many of the CD ejection methods, including using the terminal commands.
None of these seem to work if the DVD drive is not mounted.
I don't want to physically pull out on the DVD tray for fear of damaging it.
I am open to other ideas - please don't say just restart the computer because I know this works.