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.

cdrom not found

Featured Replies

I have an external usb uhd cdrom that unraid is not seeing and I'm  sure I'm  overlooking something simple.    The drive has worked on a multitude of other machines so it's  not that.   I plugged the drive in and it spins up.   My makemkv docker doesnt see it and it's not in the unassigned drives section.   my searches only return info on passing cdroms to vm's which I'm  not doing.

 

What am i missing?

 

 Thanks.

20 minutes ago, TimV said:

I have an external usb uhd cdrom that unraid is not seeing and I'm  sure I'm  overlooking something simple.    The drive has worked on a multitude of other machines so it's  not that.   I plugged the drive in and it spins up.   My makemkv docker doesnt see it and it's not in the unassigned drives section.   my searches only return info on passing cdroms to vm's which I'm  not doing.

 

What am i missing?

 

 Thanks.

If you run lsscsi from cmd line do you see the drive will be call sr0 or similar.

 

[8:0:0:0]    cd/dvd  ASUS     BW-16D1HT        3.01  /dev/sr0

 

then on container add extra parms, you may need change permission of the /dev/sr0 device also.

 

image.png.7cd381e97a1ce13bf37cfb12006134ce.png

  • Author
4 hours ago, SimonF said:

If you run lsscsi from cmd line do you see the drive will be call sr0 or similar.

 

[8:0:0:0]    cd/dvd  ASUS     BW-16D1HT        3.01  /dev/sr0

 

then on container add extra parms, you may need change permission of the /dev/sr0 device also.

 

image.png.7cd381e97a1ce13bf37cfb12006134ce.png

 

Nope.  Nothing like that.

 

root@Cygnus:~# lsscsi
[0:0:0:0]    disk    SanDisk' Cruzer Fit       1.00  /dev/sda 
[1:0:0:0]    disk    ATA      ST8000VN004-2M21 SC60  /dev/sdd 
[1:0:1:0]    disk    ATA      ST8000VN004-2M21 SC60  /dev/sde 
[1:0:2:0]    disk    ATA      ST8000VN004-2M21 SC60  /dev/sdf 
[5:0:0:0]    disk    ATA      ST10000NE0008-2J EN01  /dev/sdb 
[6:0:0:0]    disk    ATA      ST8000VN004-2M21 SC60  /dev/sdc 
[8:0:0:0]    disk    Seagate  Expansion Desk   0915  /dev/sdg 
[9:0:0:0]    disk    WD       easystore 25FB   3005  /dev/sdh 
[9:0:0:1]    enclosu WD       SES Device       3005  -        
[N:0:4:1]    disk    Samsung SSD 970 EVO 1TB__1                 /dev/nvme0n1
root@Cygnus:~# ls /dev/sr0
/bin/ls: cannot access '/dev/sr0': No such file or directory
root@Cygnus:~# 

  • Author
5 hours ago, SimonF said:

If you run lsscsi from cmd line do you see the drive will be call sr0 or similar.

 

[8:0:0:0]    cd/dvd  ASUS     BW-16D1HT        3.01  /dev/sr0

 

then on container add extra parms, you may need change permission of the /dev/sr0 device also.

 

image.png.7cd381e97a1ce13bf37cfb12006134ce.png

 

Where do I access the Extra Parameters?   I'm looking in the config.

 

I'm thinking Unraid may not support my CD's.   They are BU40N's by Archon.  I hooked up a finicky LiteOn CD and now /dev/sr0 is showing up.  

  • Author
5 hours ago, SimonF said:

If you run lsscsi from cmd line do you see the drive will be call sr0 or similar.

 

[8:0:0:0]    cd/dvd  ASUS     BW-16D1HT        3.01  /dev/sr0

 

then on container add extra parms, you may need change permission of the /dev/sr0 device also.

 

image.png.7cd381e97a1ce13bf37cfb12006134ce.png

Found it... Forget about my question on where to find it.

  • Author

I've played around with it... changed cables and my BU40N showed up.. added the suggested line to to extra parms, restarted it and it still says no optical drives are available.   Did the chmod o+r on /dev/sr0 and /dev/sg0 and verified they took.  Nothing.

 

The log shows this:

 

[cont-init.d] 95-check-optical-drive.sh: looking for usable optical drives...
[cont-init.d] 95-check-optical-drive.sh: found optical drive [/dev/sr0, /dev/sg6], but it is not usable because:
[cont-init.d] 95-check-optical-drive.sh: --> the host device /dev/sg6 is not exposed to the container.
[cont-init.d] 95-check-optical-drive.sh: no usable optical drive found.
[cont-init.d] 95-check-optical-drive.sh: exited 0.
[cont-init.d] 96-install-autodiscripper-srv.sh: executing...
[cont-init.d] 96-install-autodiscripper-srv.sh: automatic disc ripper disabled.
[cont-init.d] 96-install-autodiscripper-srv.sh: exited 0.

 

 

Does that mean /dev/sr0 and /dev/sg6 are related to each other?

Edited by TimV

sg_map will show mappings. just notice my sgX is not correct, but still finds with sr0.

 

i# sg_map
/dev/sg0  /dev/sda
/dev/sg1  /dev/sdb
/dev/sg2  /dev/sdc
/dev/sg3  /dev/sr0
/dev/sg4  /dev/sdd
/dev/sg5  /dev/sde
/dev/sg6  /dev/sdf
/dev/sg7  /dev/sdg
/dev/sg8  /dev/sdh
/dev/sg9  /dev/sdi
/dev/sg10  /dev/sdj
/dev/sg11  /dev/sdk
/dev/sg12  /dev/sdl
/dev/sg13  /dev/sdm
/dev/sg14  /dev/sdn
/dev/sg15  /dev/sdo

 

you may need to also set docker to privileged.

 

image.thumb.png.0dbd50c7c4091843620df0bd80fcbfe5.png

 

Which version of the docker are you using? I am using jlesage/makemkv

  • Author

I am using the same version of docker.  Thanks for the sg_map command, that will help in the future as I plan on having 2-3 cdroms attached.

Archived

This topic is now archived and is closed to further replies.

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.