From owner-freebsd-jail@freebsd.org Thu Feb 21 03:17:08 2019 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9E45314EC9A1 for ; Thu, 21 Feb 2019 03:17:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2AED1873BC for ; Thu, 21 Feb 2019 03:17:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DF71A14EC99E; Thu, 21 Feb 2019 03:17:07 +0000 (UTC) Delivered-To: jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCDED14EC99D for ; Thu, 21 Feb 2019 03:17:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 68C3F873BA for ; Thu, 21 Feb 2019 03:17:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id AE0BC15AC4 for ; Thu, 21 Feb 2019 03:17:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1L3H6MI025038 for ; Thu, 21 Feb 2019 03:17:06 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1L3H6hk025027 for jail@FreeBSD.org; Thu, 21 Feb 2019 03:17:06 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 235863] file loss when adding faulty entry in a jail's /etc/fstab.foo after removing jail Date: Thu, 21 Feb 2019 03:17:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2019 03:17:08 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235863 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@FreeBSD.org |jail@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-jail@freebsd.org Thu Feb 21 13:01:44 2019 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5EFC714E0199 for ; Thu, 21 Feb 2019 13:01:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E9BDE71EEC for ; Thu, 21 Feb 2019 13:01:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 90C2214E0198; Thu, 21 Feb 2019 13:01:43 +0000 (UTC) Delivered-To: jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7E7B614E0197 for ; Thu, 21 Feb 2019 13:01:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1B6C571EE6 for ; Thu, 21 Feb 2019 13:01:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 705091B07A for ; Thu, 21 Feb 2019 13:01:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1LD1gRq061391 for ; Thu, 21 Feb 2019 13:01:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1LD1gUH061361 for jail@FreeBSD.org; Thu, 21 Feb 2019 13:01:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 235863] file loss when adding faulty entry in a jail's /etc/fstab.foo after removing jail Date: Thu, 21 Feb 2019 13:01:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: unixmig68@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: jail@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2019 13:01:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235863 --- Comment #1 from leaveemptyfordefault --- Follow up: reproducing the original bug, I am now able to do a recovery. In both original bug report and this follow-up, zfs was used. Using the same /etc/jail.conf, and a similar /etc/fstab.foo, getting the zfs fileset lost again, here's how it can be recovered: # mkdir /recovery # an arbitrary recovery = dir # zfs set mountpoint=3D/recovery zroot/j/foo.d # cd /recovery # ls # # nothing recovered # zfs set mountpoint=3D"legacy" zroot/j/foo.d # possibly a needed st= ep # zfs list | grep foo zroot/j/foo.d 71.7M 428M 71.7M legacy # zfs still lists usage # zfs set mountpoint=3D"/zroot/j/foo.d" zroot/j/foo.d #point zfs to org mountpoint # cd /zroot/j/foo.d # ls -1 foo.etc foo.root foo.homedir foo.tmp # files recovered --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-jail@freebsd.org Fri Feb 22 17:03:33 2019 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 94A0714F3953; Fri, 22 Feb 2019 17:03:33 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx1.enfer-du-nord.net (mx1.enfer-du-nord.net [IPv6:2001:41d0:302:1100::e:1def]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DAE6C75CB0; Fri, 22 Feb 2019 17:03:32 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from wmx1.enfer-du-nord.net (www.mer-waases.lan [10.2.2.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.enfer-du-nord.net (Postfix) with ESMTPSA id 445d2d5KYzz1BsT; Fri, 22 Feb 2019 18:03:21 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.101.1 at mail.enfer-du-nord.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Fri, 22 Feb 2019 18:03:21 +0100 From: Michael Grimm To: freebsd-net@freebsd.org Cc: freebsd-jail@freebsd.org Subject: Re: Performance issues with VNET/bridge/VLAN In-Reply-To: <9B0EC546-38E6-424E-9CC9-93F4C58B296F@punkt.de> References: <9B0EC546-38E6-424E-9CC9-93F4C58B296F@punkt.de> Message-ID: <355c746ae7ec884407299e2649283cfc@ellael.org> X-Sender: trashcan@ellael.org User-Agent: Roundcube Webmail/1.3.8 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.mer-waases.lan X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 17:03:33 -0000 Am 2019-02-22 11:31, schrieb Patrick M. Hausen: [x-posted to freebsd-jail@freebsd.org] > The machine is an iocage jail host, all jails with VNET. > > The problem is: network performance in the jails (not on the host!) is > abysmal > with the second setup. Not consistently so, everything *seems* to work > but e.g. a customer complained that checking out a project from github > happend at 15k/s … that’s when we started to investigate. [...] > *Any* idea what might be going on here? We use VNET all the same on all > the > hosts and it is still labelled „experimental", yes. But all the parts > that > make up the different setups - bridge(4), vlan(4) - have been in > FreeBSD > for ages. I’m just combining features orthogonally like every good > sysadmin ;-) > > If someone is willing to do some investigation, I think I can provide a > test > system and remote access … This sounds familiar to me, please have a look at the following two threads: https://lists.freebsd.org/pipermail/freebsd-jail/2019-February/003684.html https://lists.freebsd.org/pipermail/freebsd-net/2017-December/049470.html If your hosts run on cloud infrastructure odds are that the mentioned settings will work in your case. Regards, Michael From owner-freebsd-jail@freebsd.org Fri Feb 22 18:48:41 2019 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57D3C14F6984; Fri, 22 Feb 2019 18:48:41 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from kagate.punkt.de (kagate.punkt.de [217.29.33.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D597281E1B; Fri, 22 Feb 2019 18:48:40 +0000 (UTC) (envelope-from hausen@punkt.de) Received: from hugo10.ka.punkt.de (hugo10.ka.punkt.de [217.29.44.10]) by gate2.intern.punkt.de with ESMTP id x1MImcGc082412; Fri, 22 Feb 2019 19:48:38 +0100 (CET) Received: from [217.29.46.121] ([217.29.46.121]) by hugo10.ka.punkt.de (8.14.2/8.14.2) with ESMTP id x1MImcVN006457; Fri, 22 Feb 2019 19:48:38 +0100 (CET) (envelope-from hausen@punkt.de) From: "Patrick M. Hausen" Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: Performance issues with VNET/bridge/VLAN Date: Fri, 22 Feb 2019 19:48:37 +0100 References: <9B0EC546-38E6-424E-9CC9-93F4C58B296F@punkt.de> <355c746ae7ec884407299e2649283cfc@ellael.org> To: FreeBSD Net , freebsd-jail@freebsd.org In-Reply-To: <355c746ae7ec884407299e2649283cfc@ellael.org> Message-Id: <8ABA2B5F-6A94-4907-B623-6B7E9BC83CB3@punkt.de> X-Mailer: Apple Mail (2.3445.9.1) X-Rspamd-Queue-Id: D597281E1B X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.95 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.951,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Feb 2019 18:48:41 -0000 Hi! > Am 22.02.2019 um 18:03 schrieb Michael Grimm : >=20 > Am 2019-02-22 11:31, schrieb Patrick M. Hausen: >=20 > [x-posted to freebsd-jail@freebsd.org] >=20 >> The machine is an iocage jail host, all jails with VNET. >> The problem is: network performance in the jails (not on the host!) = is abysmal >> with the second setup. Not consistently so, everything *seems* to = work >> but e.g. a customer complained that checking out a project from = github >> happend at 15k/s =E2=80=A6 that=E2=80=99s when we started to = investigate. >=20 > [...] >=20 >> *Any* idea what might be going on here? We use VNET all the same on = all the >> hosts and it is still labelled =E2=80=9Eexperimental", yes. But all = the parts that >> make up the different setups - bridge(4), vlan(4) - have been in = FreeBSD >> for ages. I=E2=80=99m just combining features orthogonally like every = good sysadmin ;-) >> If someone is willing to do some investigation, I think I can provide = a test >> system and remote access =E2=80=A6 >=20 > This sounds familiar to me, please have a look at the following two = threads: >=20 > = https://lists.freebsd.org/pipermail/freebsd-jail/2019-February/003684.html= > = https://lists.freebsd.org/pipermail/freebsd-net/2017-December/049470.html >=20 > If your hosts run on cloud infrastructure odds are that the mentioned = settings will work in your case. Bare metal. We *provide* cloud infrastructure by the means of jails and = VNET. See this URL for the shameless marketing plug [tm] ;-) Or my talk at = EuroBSDCon 2017 in Paris. https://infrastructure.punkt.de/de/produkte/proserver.html And no PF, no NAT, no IPFW - just the setup I showed in my first mail and of course epair(4) interfaces added to the bridge by iocage =E2=80=A6 We happened to have a handful of servers without enough free uplink = ports in the respective racks and thought we could get away cheaply using = trunks and VLANs. But I=E2=80=99ll fiddle with LRO nonetheless and report if that changes = anything. Thanks Patrick --=20 punkt.de GmbH Internet - Dienstleistungen - Beratung Kaiserallee 13a Tel.: 0721 9109-0 Fax: -100 76133 Karlsruhe info@punkt.de http://punkt.de AG Mannheim 108285 Gf: Juergen Egeling From owner-freebsd-jail@freebsd.org Sat Feb 23 22:56:16 2019 Return-Path: Delivered-To: freebsd-jail@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7F57315079AD; Sat, 23 Feb 2019 22:56:16 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from mx2.enfer-du-nord.net (mx2.enfer-du-nord.net [IPv6:2001:41d0:401:2100::5:8a0e]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D908272969; Sat, 23 Feb 2019 22:56:15 +0000 (UTC) (envelope-from trashcan@ellael.org) Received: from [IPv6:2003:e9:7f29:ac01:c583:48db:f286:7fe3] (p200300E97F29AC01C58348DBF2867FE3.dip0.t-ipconnect.de [IPv6:2003:e9:7f29:ac01:c583:48db:f286:7fe3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx2.enfer-du-nord.net (Postfix) with ESMTPSA id 446Nq73fZxzFRn; Sat, 23 Feb 2019 23:56:03 +0100 (CET) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.101.1 at mail.enfer-du-nord.net From: Michael Grimm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: Performance issues with VNET/bridge/VLAN Date: Sat, 23 Feb 2019 23:56:00 +0100 References: <9B0EC546-38E6-424E-9CC9-93F4C58B296F@punkt.de> <355c746ae7ec884407299e2649283cfc@ellael.org> <8ABA2B5F-6A94-4907-B623-6B7E9BC83CB3@punkt.de> To: FreeBSD Net , freebsd-jail@freebsd.org In-Reply-To: <8ABA2B5F-6A94-4907-B623-6B7E9BC83CB3@punkt.de> Message-Id: <79A4C471-FCDF-4C2D-BBEF-6512F3AF608F@ellael.org> X-Mailer: Apple Mail (2.3445.102.3) X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,RDNS_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mail.kaan-bock.lan X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Feb 2019 22:56:16 -0000 Hi On 22. Feb 2019, at 19:48, Patrick M. Hausen wrote: > epair(4) interfaces added to the bridge These are my number one suspects when it comes to performance loss = within a VNET jail compared to the host system.=20 > But I=E2=80=99ll fiddle with LRO nonetheless and report if that = changes anything. I'm interested to learn if bare metal might behave comparable to cloud = infrastructure or not? Regards, Michael=