Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Pass through a host DVD Drive

Featured Replies

On 6/21/2020 at 4:26 AM, Germanus4711 said:

I had some success with the following inserted into the <disk> section:

<disk type='block' device='cdrom'>
  <driver name='qemu' type='raw'/>
  <source dev='/dev/sr0'/>
  <target dev='hdg' bus='sata'/>
  <readonly/>
</disk>

Given that lsscsi revealed:
[4:0:0:0]    cd/dvd  TSSTcorp DVDWBD SH-B123L  SB04  /dev/sr0 

I confirm it works for me as well. Thanks

And I didn't need the lsscsi command as I could find the correct information from the Tools menu and System Devices

image.thumb.png.e87491cdc6c31129206d2edc16367263.png

  • 2 months later...

Hello, unfortunately I also have the problem that my drive is detected in Windows Device Manager as an unknown SCSI device and I can't install the appropriate driver. What am I doing wrong?

 

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

 

image.png.6ecdc1ac3d3ce09b1b30fe1226b0efe0.png

Edited by Pixelpaule

After I have looked at everything again in peace, it has finally worked. My two Blu ray drives, which are connected to the mainboard via SATA, are now also recognized in freshly set up VMs. I made the mistake all the time and forgot the following line:

<controller type='scsi' index='0' model='virtio-scsi'/>

 

  • 1 year later...
On 6/20/2020 at 10:56 PM, Germanus4711 said:

I had some success with the following inserted into the <disk> section:

<disk type='block' device='cdrom'>
  <driver name='qemu' type='raw'/>
  <source dev='/dev/sr0'/>
  <target dev='hdg' bus='sata'/>
  <readonly/>
</disk>

Given that lsscsi revealed:
[4:0:0:0]    cd/dvd  TSSTcorp DVDWBD SH-B123L  SB04  /dev/sr0 

 

I can confirm this is the solution worked for me

 

Thanks alot for saving hours of troubleshooting. 

Edited by Moriarty

  • 1 year later...
On 6/20/2020 at 6:26 PM, Germanus4711 said:

I had some success with the following inserted into the <disk> section:

<disk type='block' device='cdrom'>
  <driver name='qemu' type='raw'/>
  <source dev='/dev/sr0'/>
  <target dev='hdg' bus='sata'/>
  <readonly/>
</disk>

Given that lsscsi revealed:
[4:0:0:0]    cd/dvd  TSSTcorp DVDWBD SH-B123L  SB04  /dev/sr0 

 

This is the way :-)

 

Or is it? I cannot update firmware on drive. And I note it says in the XML read only so not good for a burner...

 

Tried adding a separate controller but that is causing my machine to bootloop (old ASM1061 card).

Edited by methanoid
WASNT working

@methanoid

Check out (my) first 2 responses to this post.   I speant a lot of time and went through a lot of controllers to find a solution that worked (full speed read and write, full direct functions in vm, can update firmware, etc ) and would not cause bootloops in my rig.  

 

In short, I'm using an out of the box odd controller that I've blacklisted.     

 

A lot of controllers caused issues.   A specific  ASM1062 one did not.

 

The 1 thing that will not work doing this in my rig is reboot unraid.   I need to power off, then power on. 

 

@testdasi has a post in this chain with a dedicated link to folks that got full read write without a controller.

 

This method did not provide full access to the drive in my rig.

 

Edited by landS

@landS yeah I tried passing two different cards I had but didnt work (as I stated).. Plenty other devices pass so no idea why these wont but not buying a card or tying up a slot for burner. But will put burner in another machine, update FW and then back in unRAID box for bluray ripping and then that XML method will be fine

On 6/20/2020 at 1:26 PM, Germanus4711 said:

I had some success with the following inserted into the <disk> section:

<disk type='block' device='cdrom'>
  <driver name='qemu' type='raw'/>
  <source dev='/dev/sr0'/>
  <target dev='hdg' bus='sata'/>
  <readonly/>
</disk>

Given that lsscsi revealed:
[4:0:0:0]    cd/dvd  TSSTcorp DVDWBD SH-B123L  SB04  /dev/sr0 

 

This worked perfectly fine for me. Thanks!

  • 3 months later...

Howdy folks - I upgraded from (Supermicro X10SRA-F, E5-1650 v3, Nvidia 1060 Ti) to (ASUS Pro WS W680-ACE IPMI, i9-14900K, Nvidia 3050 6GB).

 

Alas, UNRAID fails to boot with the (PCIe Card - ASM1062 Serial ATA for BD ODD) card attached, which I previously passed through for ODD.

 

Now that I've added the ODD (a CD/DVD/Blu-Ray Rewriter) via XML (info below), the disk shows up under my computer, and I can open it to see contents.

For example, DVD movies have 2 folders in them, Bluray have folders in them, etc.

 

The issue is that programs on the computer are not recognizing the drive as a disk drive, and as such DVD movies and Bluray movies are not accessible. 

Does anyone see what may be wrong, or have a direction I can try?  THANK YOU

 

lsscsi gives me

[5:0:0:0]    cd/dvd  HL-DT-ST BD-RE  WH16NS40  1.02  /dev/sr0

 

And adding into the Windows 10 XML's <disk> section

<disk type='block' device='cdrom'>

  <driver name='qemu' type='raw'/>

  <source dev='/dev/sr0'/>

  <target dev='hdg' bus='sata'/>

  <readonly/>

</disk>

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.