Public bug reported:

I believe there are benefits of having a separate /var partition,
unfortunately having bonding-configured network start up with the OS is
not one of them. Or atleast not in a timely fashion.

I've done this experiment on two identical hp bl460c g1 blades, only
difference was the partitioning scheme.

Here's the identical /etc/network/interfaces

# The loopback network interface
auto lo
iface lo inet loopback

# The badass network interface
auto bond0
iface bond0 inet dhcp
        bond-slaves none
        bond-mode 1
        bond-miimon 100

# The primary network interface
auto eth0
iface eth0 inet manual
        bond-master bond0
        bond-primary eth0 eth1

# The secondary network interface
auto eth1
iface eth1 inet manual
        bond-master bond0
        bond-primary eth0 eth1


--- System 1 (all in one /)

user@s6:~$ cat /proc/partitions 
major minor  #blocks  name

 104        0   71652960 cciss/c0d0
 104        1     498688 cciss/c0d0p1 # /boot
 104        2    3906560 cciss/c0d0p2 # swap
 104        3   67246080 cciss/c0d0p3 # /

dmesg snippet
[   14.193012] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   14.193018] bonding: Warning: either miimon or arp_interval and arp_ip_target
[   14.199096] bonding: bond0: Adding slave eth0.
[   14.200677] bnx2 0000:03:00.0: irq 42 for MSI/MSI-X
[   14.221628] bonding: bond0: Setting MII monitoring interval to 100.
[   14.272860] bnx2 0000:03:00.0: eth0: using MSI
[   14.274190] bonding: bond0: enslaving eth0 as an active interface with a down
[   14.275050] bonding: bond0: setting mode to active-backup (1).
[   14.277050] bonding: bond0: Setting eth0 as primary slave.
[   14.277407] bonding: bond0: Adding slave eth1.
[   14.280579] bnx2 0000:07:00.0: irq 43 for MSI/MSI-X
[   14.309899] bnx2 0000:03:00.0: eth0: NIC SerDes Link is Up, 1000 Mbps full du
[   14.364853] bnx2 0000:07:00.0: eth1: using MSI
[   14.366436] bonding: bond0: enslaving eth1 as a backup interface with a down 
[   14.368132] ADDRCONF(NETDEV_UP): bond0: link is not ready
[   14.368148] bonding: bond0: link status definitely up for interface eth0, 100
[   14.368155] bonding: bond0: making interface eth0 the new active one.
[   14.368194] bonding: bond0: first active interface up!
[   14.371073] ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
[   14.371573] bonding: bond0: Setting eth0 as primary slave.

--- System 2 (separate /var)

user@s7:~$ cat /proc/partitions 
major minor  #blocks  name

 104        0   71652960 cciss/c0d0
 104        1     498688 cciss/c0d0p1 # /boot
 104        2    7812096 cciss/c0d0p2 # /
 104        3    3906560 cciss/c0d0p3 # swap
 104        4   59433984 cciss/c0d0p4 # /var

dmesg snippet
[   10.292235] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[   10.292241] bonding: Warning: either miimon or arp_interval and arp_ip_target
[   10.295027] bonding: bond0: Setting MII monitoring interval to 100.
[   10.297930] bonding: bond0: setting mode to active-backup (1).
[  372.551921] bonding: bond0: Adding slave eth0.
[  372.553329] bnx2 0000:03:00.0: irq 42 for MSI/MSI-X
[  372.640011] bnx2 0000:03:00.0: eth0: using MSI
[  372.641288] bonding: bond0: enslaving eth0 as a backup interface with a down 
[  372.646658] bonding: bond0: Setting eth0 as primary slave.
[  372.662081] bnx2 0000:03:00.0: eth0: NIC SerDes Link is Up, 1000 Mbps full du
[  372.696026] bonding: bond0: link status definitely up for interface eth0, 100
[  372.696033] bonding: bond0: making interface eth0 the new active one.
[  372.696087] bonding: bond0: first active interface up!
[  372.697349] ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
[  372.730648] bonding: bond0: Adding slave eth1.
[  372.733831] bnx2 0000:07:00.0: irq 43 for MSI/MSI-X
[  372.832014] bnx2 0000:07:00.0: eth1: using MSI
[  372.833286] bonding: bond0: enslaving eth1 as a backup interface with a down 
[  372.837525] bonding: bond0: Setting eth0 as primary slave.

** Affects: ifenslave-2.6 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bonding partition

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/924513

Title:
  network with bonding does not start on ubuntu with separate /var
  partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifenslave-2.6/+bug/924513/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to