theone Posted September 18, 2015 Share Posted September 18, 2015 Hello, I currently have 2 UNRAID servers: * Production server (PRO license) * Virtualized development server running under Windows Virtualbox with USB stick passed through with a BASIC license. I want to run the Virtualized development server under UNRAID Virtualbox. This will cause the production server to have upon boot 2 USB sticks named "UNRAID". Can I boot unRAID with 2 connected "UNRAID" USB sticks? * The 1st is the UNRAID production server USB stick with the actual production license. * The 2nd is for the UNRAID Virtual Machine I will be running over Virtualbox for development purposes with the Basic License. Is there any other way of doing it? Quote Link to comment
peter_sm Posted September 19, 2015 Share Posted September 19, 2015 This is possible, I have one KVM unraid VM that use one of my 2 USB sticks for the pro licence, I boot with both these USB:s connected , but I "hide" the USB that my VM use in syslinux.cfg with pci-stub.ids, without that it will not work. My VM boots from an .vhd image file and use the USB for the licencing. //Peter Quote Link to comment
theone Posted September 19, 2015 Author Share Posted September 19, 2015 This is possible, I have one KVM unraid VM that use one of my 2 USB sticks for the pro licence, I boot with both these USB:s connected , but I "hide" the USB that my VM use in syslinux.cfg with pci-stub.ids, without that it will not work. My VM boots from an .vhd image file and use the USB for the licencing. //Peter Can you elaborate on how you hide it... Quote Link to comment
peter_sm Posted September 19, 2015 Share Posted September 19, 2015 This is my modified line in syslinux.cfg append pci-stub.ids=8086:1e31 initrd=/bzroot use lspci -nn 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) Then I use this code in my xml file to pass trough my USB <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=00:14.0,bus=pcie.0'/> </qemu:commandline> Quote Link to comment
jonp Posted September 19, 2015 Share Posted September 19, 2015 Peter is passing through an entire USB controller that has one of the USB sticks and the other is attached to a different USB controller. Quote Link to comment
peter_sm Posted September 19, 2015 Share Posted September 19, 2015 That's right , one controller have my USB for the VM, my other USB are on another controller. Don't know if you can use pci.stubs on a single device Quote Link to comment
jonp Posted September 19, 2015 Share Posted September 19, 2015 No, you can't. PCI stubs are for PCI devices only, not individual USB devices. Quote Link to comment
theone Posted September 19, 2015 Author Share Posted September 19, 2015 I will give it a try but I dont thnk it will work. If it hides the usb controller from unraid then virtualbox which is running on it will probably not see it as well, wouldnt it? Quote Link to comment
theone Posted September 20, 2015 Author Share Posted September 20, 2015 I ran lspci -nn: 00:14.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI [8086:8c31] (rev 05) 00:1a.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #2 [8086:8c2d] (rev 05) 00:1d.0 USB controller [0c03]: Intel Corporation 8 Series/C220 Series Chipset Family USB EHCI #1 [8086:8c26] (rev 05) From this output I assume I have 3 USB controllers on the motherboard/chipset, correct? If so how do I know to which USB controller the USB stick is connected to? Quote Link to comment
theone Posted October 7, 2015 Author Share Posted October 7, 2015 When you use PCI stub (on a USB motherboard controller or any other PCI device), does it hide it completely from unRAID? will it not be listed under PCI devices anymore (until stub removed)? Quote Link to comment
peter_sm Posted October 7, 2015 Share Posted October 7, 2015 You should see it even if you use pci stub Quote Link to comment
theone Posted October 7, 2015 Author Share Posted October 7, 2015 You should see it even if you use pci stub And if i connect a usb drive to that usb controller will unraid see it or not? Quote Link to comment
peter_sm Posted October 7, 2015 Share Posted October 7, 2015 Use lspci -knn look for kernel drive in use Quote Link to comment
peter_sm Posted October 7, 2015 Share Posted October 7, 2015 You should see it even if you use pci stub And if i connect a usb drive to that usb controller will unraid see it or not? No, only if you pass through to a VM, but you can try and see if you can use it in Unraid, but I think no. Quote Link to comment
theone Posted March 2, 2016 Author Share Posted March 2, 2016 I am trying to map my USB ports on the X10SLL-F board and have a problem. Please look at my post http://lime-technology.com/forum/index.php?topic=36768.msg450458#msg450458 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.