Renamed Network Interfaces are not detected in OMV GUI

  • Hello,


    I was facing a problem where network interfaces name changes whenever the NVMe SSD is added or removed from the motherboard


    Without SSD:

    • Built-in NIC = enp1s0
    • PCIe NIC = enp2s0
    • USB NIC = enx00909e9d7a7a

    With SSD installed:

    • Built-in NIC = enp2s0
    • PCIe NIC = enp3s0
    • USB NIC = enx00909e9d7a7a

    It looks like the NVMe SSD takes a higher priority in the motherboard and shifts the address for all other PCIe devices by 1

    USB NIC was not affected


    This change in interface name breaks macvtap networks for KVM and docker

    The solution I found is to force a static name for the interfaces using .link files in /etc/systemd/network/

    so I just renamed the PCIe NIC to lan1.

    I didn't rename the Built-in NIC as it might break something because it is the interface OMV uses while the others are for VMs, and docker.


    It worked just fine from the Debian side



    But the new interface was missing from OMV GUI



    and KVM plugin too (probably because it reads the interface names from the same database as OMV)



    For KVM it was an easy fix with command virsh net-define



    I know OMV doesn't like changes from CLI

    Problem #2: I mounted the drive using the command line or GUI tool and I can't pick that drive in the shared folder device dropdown.
    Solution #2: Never mount a drive with anything other than the OMV web interface. This creates the necessary database entries to populate the device dropdown.


    So is there a way for me to manually add this interface to OMV database, a command to scan the interfaces again or maybe (just maybe) impelling a way to rename interface from GUI.

  • crashtest

    Approved the thread.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!