July 13, 20241 yr I got around to hooking up my Bluray Drive to install an older version of Quickbooks on a Windows 10 VM. The BIOS see's the drive but I can't find it in Unraid. Not sure if it's managed my unassigned devices like SD Cards readers, etc or what it's supposed to show up? But it's not. Edited July 13, 20241 yr by csimpson
July 13, 20241 yr Community Expert You are likely to get better informed feedback if you attach your system’s diagnostics zip file to your next post in this thread. It is always a good idea when asking questions to supply your diagnostics so we can see details of your system, how you have things configured, and the current syslog.
July 13, 20241 yr Community Expert 12 minutes ago, csimpson said: Diagnostics attached. Thanks! diagnostics-20240713-1316.zip 142.45 kB · 0 downloads [7:0:0:0] cd/dvd HL-DT-ST DVDRAM GH41N MN01 /dev/sr0 /dev/sg6 state=running queue_depth=1 scsi_level=6 type=5 device_blocked=0 timeout=30 dir: /sys/bus/scsi/devices/7:0:0:0 [/sys/devices/pci0000:00/0000:00:17.0/ata6/host7/target7:0:0/7:0:0:0] Unlikely the drive will show in UD or Main tab.
July 13, 20241 yr Author 6 minutes ago, SimonF said: [7:0:0:0] cd/dvd HL-DT-ST DVDRAM GH41N MN01 /dev/sr0 /dev/sg6 state=running queue_depth=1 scsi_level=6 type=5 device_blocked=0 timeout=30 dir: /sys/bus/scsi/devices/7:0:0:0 [/sys/devices/pci0000:00/0000:00:17.0/ata6/host7/target7:0:0/7:0:0:0] Unlikely the drive will show in UD or Main tab. Hmmm, interesting to know. So how would I go about seeing it in my Windows 10 VM as a drive? That's the goal overall but figured that the first step is to see it in Unraid.
July 13, 20241 yr Community Expert 12 minutes ago, csimpson said: So how would I go about seeing it in my Windows 10 VM as a drive? Since it is seen at the hardware level you could pass it through to the VM. That way the VM provides any required drivers.
July 13, 20241 yr Author 5 minutes ago, itimpi said: Since it is seen at the hardware level you could pass it through to the VM. That way the VM provides any required drivers. Are there any guides to do this? I've searched, but it seems like most forum posts are problems or for external drives. This is the first VM I'e set up so it's a bit foreign to me.
July 13, 20241 yr Community Expert 13 minutes ago, csimpson said: Are there any guides to do this? I've searched, but it seems like most forum posts are problems or for external drives. This is the first VM I'e set up so it's a bit foreign to me. I dont have a system I can test with a sata drive at present. Cannot remember if this works. Change the OS install path of the Install ISO as the drive path. You could try /dev/sr0 or find the /dev/disk/by-id path fot the drive.
July 13, 20241 yr Author 14 minutes ago, SimonF said: I dont have a system I can test with a sata drive at present. Cannot remember if this works. Change the OS install path of the Install ISO as the drive path. You could try /dev/sr0 or find the /dev/disk/by-id path fot the drive. Tried that and /dev/sr0 gives the attached error. The /dev/disk/by-id/ option has me a little lost. Not sure why the OD Install ISO is being replaced with a BD Drive?
July 13, 20241 yr Community Expert 18 minutes ago, csimpson said: Tried that and /dev/sr0 gives the attached error. The /dev/disk/by-id/ option has me a little lost. Not sure why the OD Install ISO is being replaced with a BD Drive? Was just looking for a simple way to map the physical into the VM, But looking at the code it will only support a file. Install ISO would not be required once the VM is built. There may be a way to add via an XML edit, but will need to investigate.
July 13, 20241 yr Author 1 minute ago, SimonF said: Was just looking for a simple way to map the physical into the VM, But looking at the code it will only support a file. Install ISO would not be required once the VM is built. There may be a way to add via an XML edit, but will need to investigate. Okay, I have a much more upsetting issue now. I tried replacing /dev/sr0 with /dev/sg6 and now nothing is working. I can't click on the VM tab, it just hangs. Can't restart the system without holding the power button down for 5 seconds and doing an unclean restart. Tried twice, Parity check is going to happen, but I can't seem to go back into the VM settings and change it back. I didn't think that a VM that isn't set to autostart would cripple Unraid like this.
July 13, 20241 yr Author Okay, so I managed to reboot Unraid in Safe mode without the array running and disabled VM's in the VM Manager. However, if I enable VM Manager the entire system hangs. Can I delete the Windows 10 VM I created or edit the "OS Install ISO" without enabling the VM Manager?
July 13, 20241 yr Author I've uploaded the newest diagnostics file. No clue why enabling VM Manager brings Unraid to it's knees, even without the VM running. diagnostics-20240713-1506.zip
July 13, 20241 yr Community Expert 37 minutes ago, csimpson said: I've uploaded the newest diagnostics file. No clue why enabling VM Manager brings Unraid to it's knees, even without the VM running. diagnostics-20240713-1506.zip 87.79 kB · 0 downloads open a command line and do mv /usr/local/sbin/qemu /usr/local/sbin/qemu.old this will allow you to enable VM Manager without VMs starting. Once you updated the VM run mv /usr/local/sbin/qemu.old /usr/local/sbin/qemu It is not simple to passthru a physical cd, Sorry for any issue caused. Do you have an option of ripping to an ISO file then you can add in the template which will be the easy way. I have a drive passed through, But cannot test fully need to reboot to fix my CD drive as they goto sleep if not used for a while, So not tested fully. XML Edit for my system. <disk type='block' device='cdrom'> <driver name='qemu' type='raw' cache='none'/> <source dev='/dev/sr0' index='1'/> <backingStore/> <target dev='hdd' bus='sata' tray='open'/> <readonly/> <serial>cdrom</serial> <alias name='sata0-0-3'/> <address type='drive' controller='0' bus='0' target='0' unit='3'/> </disk>
July 13, 20241 yr Author 2 minutes ago, SimonF said: open a command line and do mv /usr/local/sbin/qemu /usr/local/sbin/qemu.old Tried this, then I enabled VM Manager, clicked on VM's and it hangs. It just shows the spinning loading icon in the browser tab.
July 13, 20241 yr Community Expert 9 minutes ago, csimpson said: Tried this, then I enabled VM Manager, clicked on VM's and it hangs. It just shows the spinning loading icon in the browser tab. Any errors in the system log?
July 13, 20241 yr Author Just now, SimonF said: Any errors in the system log? I've uploaded the newest diagnostics. Unfortunately, I need to run out for a bit with my kids but will be back later this evening. Thank-you for helping, I'm stressing out. diagnostics-20240713-1618.zip
July 13, 20241 yr Community Expert If you can stop VM Manager you can delete the Libvirt image file and recreate which will start VM manager a fresh and you would need to recreate the VM. Disk image for the VM Disk will be intact.
July 14, 20241 yr Author 15 hours ago, SimonF said: If you can stop VM Manager you can delete the Libvirt image file and recreate which will start VM manager a fresh and you would need to recreate the VM. Disk image for the VM Disk will be intact. Okay, so I deleted the Libvirt image file and then initiated a new VM install. Rather than going through the whole process of setting up Windows, downloading apps, mounting drives, etc I took the img file and copied it over to the new VM directory that was created and replaced the old. It worked! Thank-you SimonF for helping me get the straightened out. I suppose that I can make a daily backup of the Windows 10 Image and that's what stores all of the windows preferences, etc? So now back to the CD-ROM issue. I'll tackle that today but I'll look at your other settings. I'm curious why passing a CD-ROM or DVD drive through is so tricky? To have a VM set up to rip discs I'd think this is a more common task? Edited July 14, 20241 yr by csimpson
July 14, 20241 yr Author Ungh... I just did something so stupid. I deleted the "Folder" with the VM - Poof, gone! Looks like the Dynamix Recycle Bin plugin doesn't track images.. I need to step away from any technology today. Too tired, making careless stupid mistakes.
July 14, 20241 yr Author I didn't take my own advice because I'm impatient... Reinstalled the VM AND MADE A BACKUP OF IT! Now back to where I was with my first post yesterday, lol.
July 14, 20241 yr Community Expert You can't pass just one SATA device, you'd have to pass an entire controller. Easiest is to use a USB drive since you can pass that. If you don't have a USB interface or another machine to put the drive in to make an image of the disc you should be able to just dd /dev/sr0 into an iso file from unraid terminal and then assign that file to the VM. There are also Docker containers like Ripper and Automatic Ripping Machine that you can pass /dev/sr0 to and they'll make an image/rip of whatever you put in the drive automatically. Edited July 14, 20241 yr by Kilrah
July 15, 20241 yr Author Good to know. I was able to rip the Disc and make an ISO of it. New problems, but I'll post a new support thread. Too tired tonight to do it. My windows VM is freezing all the time and only way to gain access again either through Splashtop or VM Control (VNC) is to "Force Stop" it.
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.