Opened 5 years ago

#636 new defect

mondo doesn't handle SMBIOS NIC names from PCI card

Reported by: mikeshap Owned by: bruno
Priority: normal Milestone: 3.0.5
Component: mondo Version: 3.0.1
Severity: normal Keywords:
Cc:

Description

  • Server: Proliant ML350p Gen8
  • OS: RHEL 6.1 x86_64
  • Kernel boot line has: biosdevname=1
  • Command line: mondoarchive -9NO -n mrou10:/nwinstall -p mondo-6.1-gen8 -d mondo/ml350g8 -s 650m

On Gen8 servers, biosdevname results in a change in naming for network devices. Embedded NIC's will not be called ethX; they will be named emX. PCI card NIC's will be called pXpY where X is the card slot and Y is the port on the card.

Here are the NIC's on the server:

# ifconfig | grep Ethernet
em1       Link encap:Ethernet  HWaddr 9C:8E:99:4C:0C:48  
em2       Link encap:Ethernet  HWaddr 9C:8E:99:4C:0C:49  
em3       Link encap:Ethernet  HWaddr 9C:8E:99:4C:0C:4A  
em4       Link encap:Ethernet  HWaddr 9C:8E:99:4C:0C:4B  
p4p1      Link encap:Ethernet  HWaddr 00:26:55:DC:09:42  
p4p2      Link encap:Ethernet  HWaddr 00:26:55:DC:09:43  

Only p4p2 has an IP address configured:

p4p2      Link encap:Ethernet  HWaddr 00:26:55:DC:09:43  
          inet addr:16.118.11.226  Bcast:16.118.11.255  Mask:255.255.254.0
          inet6 addr: fe80::226:55ff:fedc:943/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:590976 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1091811 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:41220986 (39.3 MiB)  TX bytes:1656328201 (1.5 GiB)
          Interrupt:30 Memory:f7fa0000-f7fc0000 

The problem is that mondoarchive sets NETFS-DEV to em1 instead of p4p2.

I'd be happy to modify the code if you let me know which source version to use.

Change History (0)

Note: See TracTickets for help on using tickets.