mount CD/DVD drive into VM error


Recommended Posts

Hello,

I have a problem mounting my DVD drive in a win10 VM.

I get always this error when trying to start the VM:

Quote

Requested operation is not valid: SCSI device 9:0:0:0 is already in use by other domain(s) as 'non-shareable'

 

lsscsi:

[9:0:0:0]cd/dvd HL-DT-ST BD-RE BH16NS55 1.03 /dev/sr0

 

Added in VM-XML:

<hostdev mode='subsystem' type='scsi' managed='no' rawio='yes'>
      <source>
        <adapter name='scsi_host9'/>
        <address bus='0' target='0' unit='0'/>
      </source>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
</hostdev>

 

When I try to use it in Docker, everything works fine!

(Docker container with the drive mounted turned of while starting VM...)

 

Would be very cool if someone could help me

Thanks!

Edited by hans-peter123
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.