Jump to content

[?] Booting UNRAID with 2 connected "UNRAID" USB sticks


theone

Recommended Posts

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?

 

Link to comment

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

 

 

 

Link to comment

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

Link to comment

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>

vm.JPG.c8471ccfb95af455f1c1722a85b2f8d2.JPG

Link to comment

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?

 

 

Link to comment
  • 3 weeks later...
  • 4 months later...

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

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...