[PVE-User] drbd network interfacename

Julian D. Seifert spam at julian-seifert.de
Thu Nov 24 13:31:27 CET 2011


Content of my 70-persistent-net.rules is:

# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:25:90:1d:30:93", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x8086:0x105e (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1b:21:7b:4d:2c", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:25:90:1d:30:92", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x8086:0x105e (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:1b:21:7b:4d:2d", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="drbdlink"


And of 65-drbd.rules:
KERNEL=="drbd*", IMPORT{program}="/sbin/drbdadm sh-udev minor-%m",
NAME="$env{DEVICE}", SYMLINK="drbd/by-res/$env{RESOURCE}
drbd/by-disk/$env{DISK}"


Does THIS rule maybe match on drbdlink (after udev renames the network
interface according to our udev rule to drbdlink)? And then rename it to
drbd0? (To what does NAME="$env{DEVICE}" that evaluate?)
I didn't think this would apply as drbd deals with block devices)


Am 24.11.2011 13:23, schrieb Julian D. Seifert:
> Hi list,
> 
> I have a fairly basic question. In short after an upgrade from Proxmox
> 1.8 -> 1.9 our drbd network interface got renamed to drbd0 and I can't
> find the udev rule or whatever caused this.
> 
> We used a custom name for the interface prior to the upgrade "drbdlink".
> After the upgrade on a reboot the following happened:
> 
> Nov 23 23:36:10 vpsnode01-rz kernel: udev: renamed network interface
> eth3 to drbdlink
> Nov 23 23:36:10 vpsnode01-rz kernel: udev: renamed network interface
> drbdlink to drbd0
> 
> In /etc/udev/rules.d/70-persistent-net.rules I can only see our own rule
> defining drbdlink as name.
> Is there any other place proxmox might mangle with interface names?
> (We use a drbd block device as storage for the Ovz Containers)
> 
> vpsnode01-rz(the proxmox 1.9 host)
>      |
> |DRBD Block| < - - - - drbdlink interface - - - - > other host
> 
> We experienced the same thing on both hosts.
> 
> I'm thankful for any hints/advices on that, I'm not even sure IF it is
> related to proxmox or to debian itself.
> 
> regards,
> 
>   Julian Seifert
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user




More information about the pve-user mailing list