ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Dmitriy D. Shadrinov" <shadrinov@ntechs.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Проблема режима bond с etcnet-0.9.10-alt19 и страше
Date: Tue, 28 Mar 2017 18:52:11 +0300
Message-ID: <D2269CE6-CE3F-4AA4-B2E0-8CFBFFE8BFBB@ntechs.ru> (raw)
In-Reply-To: <m337egnxzr.fsf@ns.lioka.obninsk.ru>

14 марта 2017 г., в 10:00, sbolshakov@altlinux.ru написал(а):

> Что ж, надеюсь увидеть патч в следующем письме на эту тему,
> раз уж мы в devel@

Проблема оказалась в том что модуль bonding при загрузке автоматически создает
bond0 и далее этот интерфейс мешать созданию правильного,
предлагаю решение, основанное на create-vlan:

--- create-bond.orig	2017-03-28 18:43:50.200116428 +0300
+++ create-bond	2017-03-28 18:42:24.380112788 +0300
@@ -6,6 +6,11 @@
 : ${HOST:?HOST must be set for $NAME}
 : ${BONDOPTIONS:?BONDOPTIONS must be set for $NAME}
 
+$MODPROBE bonding max_bonds=0 || {
+	print_error "bonding kernel module not found"
+	exit 2
+}
+
 $IP link add $NAME type bond mode ${BONDMODE:-$DEFAULT_BONDMODE} ${BONDOPTIONS//=/ }
 
 for host in $HOST; do



      reply	other threads:[~2017-03-28 15:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-13 15:20 Dmitriy D. Shadrinov
2017-03-13 16:13 ` sbolshakov
2017-03-13 18:19   ` Dmitriy D. Shadrinov
2017-03-13 18:29     ` Dmitriy D. Shadrinov
2017-03-14  7:00       ` sbolshakov
2017-03-28 15:52         ` Dmitriy D. Shadrinov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D2269CE6-CE3F-4AA4-B2E0-8CFBFFE8BFBB@ntechs.ru \
    --to=shadrinov@ntechs.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git