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.

Custom Udev rules at boot

Featured Replies

Problem:

I would like to enable SR-IOV for a specific network interface at boot time.


Background:

I have several network interfaces in the server. 
I would like to activate SR-IOV for one of these interfaces and then Combine the VFs to a pool with virsh.

 

Due to the network pool, SR-IOV must be active before starting the libvirt service and therefore activation with the go-script is not possible.

 

Activation via module parameters (config/modprobe.d) is an option, but all interfaces are of the same type and SR-IOV would be activated for all of them (which in my case means the creation of 256 VFs).
Furthermore, Intel has marked the module parameter as deprecated and will remove it in the long term.

image.thumb.png.2357a2bebead4dbfa246e96287298366.png

 

Therefore the only option is the Activation with udev (recommended by Intel), for example with the following rule

 

SUBSYSTEM=="pci", ACTION=="add", KERNEL=="0000:81:00.1", DRIVER=="ixgbe", ATTR{vendor}=="0x8086", ATTR{device}=="0x10fb", ATTR{sriov_numvfs}="63"


Unfortunately Unraid currently does not offer the possibility to execute your own udev rules at start time.

 

Solution:

Please give the user the opportunity to store their own udev rules on the stick, which will be executed at boot.

For example, like config/modprobe.d, an folder config/rules.d.

 

Many thanks

2 hours ago, F4IL3D said:

go-script is not possible.

Libvirt is not started until the array is running. you should be able to add before the emhttp start in the go file.

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

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.