From owner-freebsd-net@freebsd.org Sat Feb 4 21:19:12 2017 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1BF40CCED9B for ; Sat, 4 Feb 2017 21:19:12 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-yw0-x229.google.com (mail-yw0-x229.google.com [IPv6:2607:f8b0:4002:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDB161870; Sat, 4 Feb 2017 21:19:11 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-yw0-x229.google.com with SMTP id w75so30926221ywg.1; Sat, 04 Feb 2017 13:19:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=NDG9IdjpfAg0k8vJ3BvOSX/dW/R2t3dX7AH+N0+UFYw=; b=Q+UxIVROOJA//rUPsYHCEQ27oZuqFsWZhhP1foxN3LtXoLTn4r2dcqOd+Uf5NFET3/ lw/fvi/5kNlGpwbUX9YIHjojjVPOA3elnTDuDJSActmxzJ/D0B+gmo4IqYNclSsdhCKy r9WxfJ2li3gfILvteRnwtQdGEvFvU3jq1n/i3OFZr3fJr/r1enA/QTcn+LPrrvs0qtnF 6FT3AgnygVR7KKvb5oENjHMVwRWh/ERa2qrfLXuLR8CRQWDaAdTTU4GhVvvtyUWlVs8J vmptxQdsTd5Y6t2ro8E8cYpi9g8pFjZcfVwATzn2MIZH4/tdpLGyrzL9tXmg4FLnpaVN 5wxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=NDG9IdjpfAg0k8vJ3BvOSX/dW/R2t3dX7AH+N0+UFYw=; b=csmL+dnU+q1ZKCcN3TeNGXni4KYDxNGxElaqpFAgcbBsRYZN9IsSqF2zVxGUFdqhEa JVTMWcXMhg3DQ8tVKyifoaW3a5oEjERZ5ByoWefBItIeyFjgABoke9BSPdV3SM+xaG+L EEPIPaxXizJwMTIozzNafkmoh856QsmGh8qK5rGrlTY3J98BxdEzEVJI7FNTZkPpJHZg oWMxxEZC6sKJEwf3YHIuXlWolGXzzF1EL2Iay1JxBwU4svvr8DO5E36yucv+Mhh2OTGU CX336Kyq2BXUO38E8SJeHjtq64xWSj3OMqXbQ+4acCBlTPT8rAQMxvOOUuQa2HAWs6gZ vz0Q== X-Gm-Message-State: AIkVDXKyAhAyQcMf2zJ67lXhvcpLpJuJsvwCZJ/vx6U7jqP8sOqsm8UeBb9HAB83l/lhPWdmtUGAo1ZPQl4H2g== X-Received: by 10.129.154.194 with SMTP id r185mr2235923ywg.252.1486243150899; Sat, 04 Feb 2017 13:19:10 -0800 (PST) MIME-Version: 1.0 Sender: asomers@gmail.com Received: by 10.129.38.133 with HTTP; Sat, 4 Feb 2017 13:19:09 -0800 (PST) Received: by 10.129.38.133 with HTTP; Sat, 4 Feb 2017 13:19:09 -0800 (PST) In-Reply-To: <7ea86432-a415-a868-e204-ac02b34f0f33@freebsd.org> References: <3b771270-245a-cf8a-9cbe-f55df7680812@freebsd.org> <20170204210054.GJ2092@kib.kiev.ua> <7ea86432-a415-a868-e204-ac02b34f0f33@freebsd.org> From: Alan Somers Date: Sat, 4 Feb 2017 14:19:09 -0700 X-Google-Sender-Auth: 4yJ8RjiGf3xqbqR4iekLxorHJq8 Message-ID: Subject: Re: NFSROOT and lagg(4) To: Sean Bruno Cc: FreeBSD Net , Konstantin Belousov Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2017 21:19:12 -0000 Are you mounting NFS with UDP? That handles switching interfaces better than TCP. You might be able to boot on em0, then configure lagg0 on em1, then add em0 to the lagg. On Feb 4, 2017 2:05 PM, "Sean Bruno" wrote: > > > On 02/04/17 14:00, Konstantin Belousov wrote: > > Look at reroot support, see reboot(8) option -r. I suspect you could > > need two reroots: first to some tmpfs or memory backed md(4) where > > ifconfig is present to reconfigure interfaces, second to boot into the > > final root. > > > I'll look into it. This looks like it might be a little more > complicated than just using an MDROOT for my purposes, but I'll > definitely take a look. > > sean > >