TimV Posted January 24, 2021 Share Posted January 24, 2021 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. Quote Link to comment
SimonF Posted January 24, 2021 Share Posted January 24, 2021 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. Quote Link to comment
TimV Posted January 25, 2021 Author Share Posted January 25, 2021 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. 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:~# Quote Link to comment
TimV Posted January 25, 2021 Author Share Posted January 25, 2021 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. 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. Quote Link to comment
TimV Posted January 25, 2021 Author Share Posted January 25, 2021 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. Found it... Forget about my question on where to find it. Quote Link to comment
TimV Posted January 25, 2021 Author Share Posted January 25, 2021 (edited) 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 January 25, 2021 by TimV Quote Link to comment
SimonF Posted January 25, 2021 Share Posted January 25, 2021 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. Which version of the docker are you using? I am using jlesage/makemkv Quote Link to comment
TimV Posted January 25, 2021 Author Share Posted January 25, 2021 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. Quote Link to comment
Recommended Posts
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.