From owner-freebsd-fs@freebsd.org Sun Oct 30 21:00:03 2016 Return-Path: Delivered-To: freebsd-fs@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 3327FC2701A for ; Sun, 30 Oct 2016 21:00:03 +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 mx1.freebsd.org (Postfix) with ESMTPS id 1F56C1156 for ; Sun, 30 Oct 2016 21:00:03 +0000 (UTC) (envelope-from bugzilla-noreply@FreeBSD.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9UL01m5070189 for ; Sun, 30 Oct 2016 21:00:02 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201610302100.u9UL01m5070189@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-fs@FreeBSD.org Subject: Problem reports for freebsd-fs@FreeBSD.org that need special attention Date: Sun, 30 Oct 2016 21:00:02 +0000 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Oct 2016 21:00:03 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ------------+-----------+--------------------------------------------------- New | 203492 | mount_unionfs -o below causes panic Open | 136470 | [nfs] Cannot mount / in read-only, over NFS Open | 139651 | [nfs] mount(8): read-only remount of NFS volume d Open | 140068 | [smbfs] [patch] smbfs does not allow semicolon in Open | 144447 | [zfs] sharenfs fsunshare() & fsshare_main() non f Open | 203419 | solaris assert: (dn->dn_phys->dn_nlevels == 0 && Open | 211491 | System hangs after "Uptime" on reboot with ZFS 7 problems total for which you should take action. From owner-freebsd-fs@freebsd.org Mon Oct 31 00:05:46 2016 Return-Path: Delivered-To: freebsd-fs@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 0CDBBC25499 for ; Mon, 31 Oct 2016 00:05:46 +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 mx1.freebsd.org (Postfix) with ESMTPS id F08441F89 for ; Mon, 31 Oct 2016 00:05:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u9V05i2C021079 for ; Mon, 31 Oct 2016 00:05:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 213915] [zfs] lots of CKSUM errors and sometimes even 'unkown error 122' Date: Mon, 31 Oct 2016 00:05:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-STABLE 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: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc 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-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2016 00:05:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213915 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-fs@FreeBSD.org CC|freebsd-amd64@FreeBSD.org | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Mon Oct 31 14:47:09 2016 Return-Path: Delivered-To: freebsd-fs@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 52D0EC27F33 for ; Mon, 31 Oct 2016 14:47:09 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id 1C93813AC; Mon, 31 Oct 2016 14:47:09 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.17.133] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 60307CB1; Mon, 31 Oct 2016 17:47:02 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: Re: ZFS L2ARC checksum errors after compression References: <921575537.20161029143626@serebryakov.spb.ru> <3dae7691-fcd1-b3b9-445c-b81d6f0cdc52@FreeBSD.org> To: Andriy Gapon , freebsd-fs From: Lev Serebryakov Organization: FreeBSD Message-ID: Date: Mon, 31 Oct 2016 17:47:00 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <3dae7691-fcd1-b3b9-445c-b81d6f0cdc52@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Oct 2016 14:47:09 -0000 On 29.10.2016 16:32, Andriy Gapon wrote: > I think that a recent upstream change, compressed ARC support, reintroduced an a > old problem that was fixed a while ago. Nope. This patch didn't help. r308088 with this patch shows checksum errors as soon as "ALLOC" on L2ARC becomes greater than "SIZE". Also, "zpool list -v" shows "16.0E" of free space: % zpool list -v NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT ... gpt/l2arc 185G 189G 16.0E - 0% 102% ... -- // Lev Serebryakov From owner-freebsd-fs@freebsd.org Tue Nov 1 13:26:32 2016 Return-Path: Delivered-To: freebsd-fs@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 B2C40C27746 for ; Tue, 1 Nov 2016 13:26:32 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id 7D805164A; Tue, 1 Nov 2016 13:26:32 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.17.133] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id B2537E1C; Tue, 1 Nov 2016 16:26:30 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: Re: ZFS L2ARC checksum errors after compression References: <921575537.20161029143626@serebryakov.spb.ru> <3dae7691-fcd1-b3b9-445c-b81d6f0cdc52@FreeBSD.org> To: Andriy Gapon , freebsd-fs From: Lev Serebryakov Organization: FreeBSD Message-ID: <9cf86479-a8ce-eb30-bcf0-44d8f7a01054@FreeBSD.org> Date: Tue, 1 Nov 2016 16:26:29 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <3dae7691-fcd1-b3b9-445c-b81d6f0cdc52@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Nov 2016 13:26:32 -0000 On 29.10.2016 16:32, Andriy Gapon wrote: > I think that a recent upstream change, compressed ARC support, reintroduced an a > old problem that was fixed a while ago. Also, allocated size is growing and I don't believe in this statistic: NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT cache - - - - - - gpt/l2arc 185G 338G 16.0E - 0% 182% I don't have data with SUCH comressibility on given pool, best "compression ratio" on one of FSes is 1.30, and is negligible on all others (it is media files, mostly). -- // Lev Serebryakov From owner-freebsd-fs@freebsd.org Thu Nov 3 19:12:18 2016 Return-Path: Delivered-To: freebsd-fs@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 04C70C2D228 for ; Thu, 3 Nov 2016 19:12:18 +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 mx1.freebsd.org (Postfix) with ESMTPS id E8BFF1CD6 for ; Thu, 3 Nov 2016 19:12:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uA3JCHwu087370 for ; Thu, 3 Nov 2016 19:12:17 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 176449] zfs(1): ZFS NFS export went wrong with special hostname character Date: Thu, 03 Nov 2016 19:12:18 +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: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: la5lbtyi@aon.at X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-fs@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-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2016 19:12:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D176449 --- Comment #5 from Martin Birgmeier --- May I suggest that my patch be committed and then this issue closed? -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Thu Nov 3 19:43:18 2016 Return-Path: Delivered-To: freebsd-fs@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 0D9BDC2DD0D for ; Thu, 3 Nov 2016 19:43:18 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [148.251.9.81]) by mx1.freebsd.org (Postfix) with ESMTP id CB0C21E04; Thu, 3 Nov 2016 19:43:17 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from [192.168.17.133] (unknown [89.113.128.32]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id 9F035462; Thu, 3 Nov 2016 22:43:09 +0300 (MSK) Reply-To: lev@FreeBSD.org Subject: Re: ZFS L2ARC checksum errors after compression References: <921575537.20161029143626@serebryakov.spb.ru> <3dae7691-fcd1-b3b9-445c-b81d6f0cdc52@FreeBSD.org> To: Andriy Gapon , freebsd-fs From: Lev Serebryakov Organization: FreeBSD Message-ID: Date: Thu, 3 Nov 2016 22:43:07 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <3dae7691-fcd1-b3b9-445c-b81d6f0cdc52@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2016 19:43:18 -0000 On 29.10.2016 16:32, Andriy Gapon wrote: Looks like L2ARC is unusable now if your have compression enabled on FSes. It shows 2x compression (ALLOC = 2xSIZE), and tons of checksum errors. I simply don't have compressible enough data on my FSes! It is mostly media files! Looks like this data is bogus. > I think that a recent upstream change, compressed ARC support, reintroduced an a > old problem that was fixed a while ago. -- // Lev Serebryakov From owner-freebsd-fs@freebsd.org Thu Nov 3 22:46:18 2016 Return-Path: Delivered-To: freebsd-fs@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 C331CC2D813 for ; Thu, 3 Nov 2016 22:46:18 +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 mx1.freebsd.org (Postfix) with ESMTPS id B2AD91FBC for ; Thu, 3 Nov 2016 22:46:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uA3MkIKp042975 for ; Thu, 3 Nov 2016 22:46:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 176449] zfs(1): ZFS NFS export went wrong with special hostname character Date: Thu, 03 Nov 2016 22:46:19 +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: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eborisch+FreeBSD@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-fs@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-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2016 22:46:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D176449 --- Comment #6 from eborisch+FreeBSD@gmail.com --- (In reply to Martin Birgmeier from comment #5) Is there a case my (smaller) patch doesn't handle? https://bz-attachments.freebsd.org/attachment.cgi?id=3D158168 (Attached to bug #168158) --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Thu Nov 3 22:56:00 2016 Return-Path: Delivered-To: freebsd-fs@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 58449C2DDEC; Thu, 3 Nov 2016 22:56:00 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: from connect.ultra-secure.de (connect.ultra-secure.de [88.198.71.201]) by mx1.freebsd.org (Postfix) with ESMTP id 720E71BB5; Thu, 3 Nov 2016 22:55:59 +0000 (UTC) (envelope-from rainer@ultra-secure.de) Received: (Haraka outbound); Thu, 03 Nov 2016 23:57:22 +0100 Authentication-Results: connect.ultra-secure.de; iprev=pass; auth=pass (plain); spf=none smtp.mailfrom=ultra-secure.de Received-SPF: None (connect.ultra-secure.de: domain of ultra-secure.de does not designate 217.71.83.52 as permitted sender) receiver=connect.ultra-secure.de; identity=mailfrom; client-ip=217.71.83.52; helo=[192.168.1.200]; envelope-from= Received: from [192.168.1.200] (217-071-083-052.ip-tech.ch [217.71.83.52]) by connect.ultra-secure.de (Haraka/2.6.2-toaster) with ESMTPSA id 1DED0C7C-3780-4DD2-B1DF-EBCDAFC0F998.1 envelope-from (authenticated bits=0); Thu, 03 Nov 2016 23:57:20 +0100 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: zfs receive leads to a stuck server From: Rainer Duffner In-Reply-To: <4707908B-4868-4AA6-ADD6-D24121EFAE38@ultra-secure.de> Date: Thu, 3 Nov 2016 23:54:46 +0100 Cc: freebsd-stable Content-Transfer-Encoding: quoted-printable Message-Id: <60B441B0-F5C8-417D-95CF-23ED52E252F0@ultra-secure.de> References: <4707908B-4868-4AA6-ADD6-D24121EFAE38@ultra-secure.de> To: FreeBSD Filesystems X-Mailer: Apple Mail (2.3124) X-Haraka-GeoIP: EU, CH, 451km X-Haraka-ASN: 24951 X-Haraka-GeoIP-Received: X-Haraka-ASN: 24951 217.71.80.0/20 X-Haraka-ASN-CYMRU: asn=24951 net=217.71.80.0/20 country=CH assignor=ripencc date=2003-08-07 X-Haraka-FCrDNS: 217-071-083-052.ip-tech.ch X-Haraka-p0f: os="Mac OS X " link_type="DSL" distance=12 total_conn=14 shared_ip=Y X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on spamassassin X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Haraka-Karma: score: 6, good: 1476, bad: 1, connections: 1791, history: 1475, asn_score: 955, asn_connections: 1050, asn_good: 957, asn_bad: 2, pass:asn, relaying X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2016 22:56:00 -0000 > Am 01.10.2016 um 18:02 schrieb Rainer Duffner = : >=20 > Hi, >=20 > I posted this before, but I didn=E2=80=99t really get an answer and = I=E2=80=99m still looking for ways to debug this. >=20 > I have to servers (HP DL 380 Gen8, 192 GB RAM, 6C CPU). > I=E2=80=99ve outfitted them with HP=E2=80=99s H22x cards (really OEMed = 9207-8x, three altogether) that I recently cross-flashed to LSI=E2=80=99s = latest firmware. And it turns out, using anything branded by HP is just asking for ulcers = and headaches. We replaced said HBAs with LSI^WAvago^WBroadcom HBAs - and everything = started working as it should. There are still hangs at 03:00 and 04:00 (when the snapshots that got = deleted on the master get deleted on the slave) - but that's not really = a problem because they are much shorter than before and nobody is using = the system at that time. So, while the H22x-cards are =E2=80=9Eclose enough to a LSI2308-based = card so that the driver actually thinks it=E2=80=99s a 2308 - they are = in fact not. Also, with the original LSI cards, you can use LSI=E2=80=99s FreeBSD = flash utility and have a far better life overall. From owner-freebsd-fs@freebsd.org Fri Nov 4 14:46:48 2016 Return-Path: Delivered-To: freebsd-fs@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 A6CF2C2FD12 for ; Fri, 4 Nov 2016 14:46:48 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citapm.icyb.net.ua (citapm.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id A63CEDE0; Fri, 4 Nov 2016 14:46:47 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citapm.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA00925; Fri, 04 Nov 2016 16:46:45 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1c2flV-000Of6-5t; Fri, 04 Nov 2016 16:46:45 +0200 Subject: Re: ZFS L2ARC checksum errors after compression To: lev@FreeBSD.org, freebsd-fs References: <921575537.20161029143626@serebryakov.spb.ru> <3dae7691-fcd1-b3b9-445c-b81d6f0cdc52@FreeBSD.org> From: Andriy Gapon Message-ID: <3bd7cb79-ec5a-3b7c-0642-24a7b1f001e6@FreeBSD.org> Date: Fri, 4 Nov 2016 16:20:20 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2016 14:46:48 -0000 On 03/11/2016 21:43, Lev Serebryakov wrote: > On 29.10.2016 16:32, Andriy Gapon wrote: > > Looks like L2ARC is unusable now if your have compression enabled on > FSes. It shows 2x compression (ALLOC = 2xSIZE), and tons of checksum > errors. I simply don't have compressible enough data on my FSes! It is > mostly media files! Looks like this data is bogus. > >> I think that a recent upstream change, compressed ARC support, reintroduced an a >> old problem that was fixed a while ago. > Lev, because of the confusing variable names I made a mistake in the patch that I offered you. Could you please try a new slight different patch? Also, I think that there could be another problem in addition to the one that I see. But I am quite busy at the moment, no time to investigate. Maybe on the weekend or some time next week. Thank you for reporting and testing. Index: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c =================================================================== --- sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c (revision 308225) +++ sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c (working copy) @@ -7028,7 +7028,22 @@ l2arc_write_buffers(spa_t *spa, l2arc_dev_t *dev, continue; } - if ((write_asize + HDR_GET_LSIZE(hdr)) > target_sz) { + /* + * We rely on the L1 portion of the header below, so + * it's invalid for this header to have been evicted out + * of the ghost cache, prior to being written out. The + * ARC_FLAG_L2_WRITING bit ensures this won't happen. + */ + ASSERT(HDR_HAS_L1HDR(hdr)); + + ASSERT3U(HDR_GET_PSIZE(hdr), >, 0); + ASSERT3P(hdr->b_l1hdr.b_pdata, !=, NULL); + ASSERT3U(arc_hdr_size(hdr), >, 0); + uint64_t size = arc_hdr_size(hdr); + uint64_t asize = vdev_psize_to_asize(dev->l2ad_vdev, + size); + + if ((write_psize + asize) > target_sz) { full = B_TRUE; mutex_exit(hash_lock); ARCSTAT_BUMP(arcstat_l2_write_full); @@ -7063,21 +7078,6 @@ l2arc_write_buffers(spa_t *spa, l2arc_dev_t *dev, list_insert_head(&dev->l2ad_buflist, hdr); mutex_exit(&dev->l2ad_mtx); - /* - * We rely on the L1 portion of the header below, so - * it's invalid for this header to have been evicted out - * of the ghost cache, prior to being written out. The - * ARC_FLAG_L2_WRITING bit ensures this won't happen. - */ - ASSERT(HDR_HAS_L1HDR(hdr)); - - ASSERT3U(HDR_GET_PSIZE(hdr), >, 0); - ASSERT3P(hdr->b_l1hdr.b_pdata, !=, NULL); - ASSERT3U(arc_hdr_size(hdr), >, 0); - uint64_t size = arc_hdr_size(hdr); - uint64_t asize = vdev_psize_to_asize(dev->l2ad_vdev, - size); - (void) refcount_add_many(&dev->l2ad_alloc, size, hdr); /* -- Andriy Gapon From owner-freebsd-fs@freebsd.org Fri Nov 4 15:52:38 2016 Return-Path: Delivered-To: freebsd-fs@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 A108EC2F720 for ; Fri, 4 Nov 2016 15:52:38 +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 mx1.freebsd.org (Postfix) with ESMTPS id 90895E54 for ; Fri, 4 Nov 2016 15:52:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uA4FqbAS095878 for ; Fri, 4 Nov 2016 15:52:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 176449] zfs(1): ZFS NFS export went wrong with special hostname character Date: Fri, 04 Nov 2016 15:52:38 +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: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: la5lbtyi@aon.at X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-fs@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-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2016 15:52:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D176449 --- Comment #7 from Martin Birgmeier --- It's been a while... if I remember correctly I wanted to preserve options n= ot in the list of known options but already starting with a dash. -- Martin --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Fri Nov 4 18:05:54 2016 Return-Path: Delivered-To: freebsd-fs@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 A6383C2F95A for ; Fri, 4 Nov 2016 18:05:54 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22a.google.com (mail-wm0-x22a.google.com [IPv6:2a00:1450:400c:c09::22a]) (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 4CCA1E62 for ; Fri, 4 Nov 2016 18:05:54 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22a.google.com with SMTP id p190so67058821wmp.1 for ; Fri, 04 Nov 2016 11:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=ss5ZYCmnoA1gzWtW/2t2Hc7tFA8YRZs8vMrN7Nu6w88=; b=W103IDDfsgPMt3dSPT7g6h4hTJHqu5qEeEYzFqW3+kNPLRveXO7dnBVNlb7LlWiLEX oqgNd/61DikVsD5dUc/uE7k4nl928v/jG0aKpHCAvkESFPldzK8PC2DJjy00rhoe4S91 tw7QAJIvNhzkIHYoH9TF2oiSXck80BUopeJtUrVQIzFE/koi8TwH/kjlVrFQm9rrZw4/ 3S9C3ZwfVgmVXUZ5AycNEKjFBbZtpTqy0U5sFahTAbGkBpWkU6yCVnIw//NAIwtPSiBn MGcCwDSzNx/yU4mY/xfKUy3IAn+n731BzxxJHrJ0gBHwX7bzuZdT34zVN7V7KkkO12Se kuRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=ss5ZYCmnoA1gzWtW/2t2Hc7tFA8YRZs8vMrN7Nu6w88=; b=QPCqOd+QK5AHSaFWjoX2bjm+JzNk0Y/HeCz4QH2YdUez9jbWeYzTAc/t4L1eAvxxX+ II3YChyNdrlZOEl2zdqNNn6HbkWOY0tfPRYNLkinjxuNiqKqgY9EEfEhr8rzjRmC/5XQ GWK0LxudDKTUlWOazbsPEswKfdfyaCgdpImHm5iRswjV01v/SAVcLF/o8g2jiGpJGZrH 6D0z4ApOZWNtaHrww9yzVpcD8714pEqgLbfUN1rYlVwam9vLbhOK6MntnIYfqQSCN+vK Usu7Z/sISxi0YKJLwXAqVljdcXYMztbxj9rD27y5vXHxOapvyHvU0Ej0daW23HZEPT4T lfFA== X-Gm-Message-State: ABUngvfPrXlctAN2+7s8KPDK4B2Sg5TSgNEGwWiQaRPymdnibYHv5tgrZh1DV7mTtZ2trw== X-Received: by 10.28.126.146 with SMTP id z140mr4487154wmc.84.1478282752563; Fri, 04 Nov 2016 11:05:52 -0700 (PDT) Received: from [192.168.0.16] (val90-3-78-208-196-128.fbx.proxad.net. [78.208.196.128]) by smtp.gmail.com with ESMTPSA id jx8sm15491388wjc.2.2016.11.04.11.05.51 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 04 Nov 2016 11:05:51 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: ZFS L2ARC checksum errors after compression From: Ben RUBSON In-Reply-To: <3bd7cb79-ec5a-3b7c-0642-24a7b1f001e6@FreeBSD.org> Date: Fri, 4 Nov 2016 19:05:55 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <6D16D1E0-CA33-44DB-AB88-9257A8BDE67F@gmail.com> References: <921575537.20161029143626@serebryakov.spb.ru> <3dae7691-fcd1-b3b9-445c-b81d6f0cdc52@FreeBSD.org> <3bd7cb79-ec5a-3b7c-0642-24a7b1f001e6@FreeBSD.org> To: freebsd-fs X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2016 18:05:54 -0000 > On 04 Nov 2016, at 15:20, Andriy Gapon wrote: >=20 > On 03/11/2016 21:43, Lev Serebryakov wrote: >> On 29.10.2016 16:32, Andriy Gapon wrote: >>=20 >> Looks like L2ARC is unusable now if your have compression enabled on >> FSes. It shows 2x compression (ALLOC =3D 2xSIZE), and tons of = checksum >> errors. I simply don't have compressible enough data on my FSes! It = is >> mostly media files! Looks like this data is bogus. >>=20 >>> I think that a recent upstream change, compressed ARC support, = reintroduced an a >>> old problem that was fixed a while ago. >>=20 >=20 > Lev, >=20 > because of the confusing variable names I made a mistake in the patch = that I > offered you. Could you please try a new slight different patch? > (...) > + if ((write_psize + asize) > target_sz) { Do you think the issue comes from this test ? target_sz is only the threshold under which we still have to write = buffers to L2. Note that I also proposed a modification around this test in the = following PR : https://github.com/openzfs/openzfs/pull/189 Here is an extract of the interesting code : uint64_t size =3D arc_hdr_size(hdr); passed_sz +=3D size; if (passed_sz > headroom) { /* * Searched too far. */ mutex_exit(hash_lock); break; } if (!l2arc_write_eligible(guid, hdr)) { mutex_exit(hash_lock); continue; } if ((write_asize + size) > target_sz) { full =3D B_TRUE; mutex_exit(hash_lock); break; } Note that I also faced the 16.0E bug in 11.0-RC3 (which has not = compressed ARC support) : https://www.illumos.org/issues/7410 Ben From owner-freebsd-fs@freebsd.org Sat Nov 5 01:42:38 2016 Return-Path: Delivered-To: freebsd-fs@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 DB2ADC2FAC4 for ; Sat, 5 Nov 2016 01:42:38 +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 mx1.freebsd.org (Postfix) with ESMTPS id CAAD2DF0 for ; Sat, 5 Nov 2016 01:42:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id uA51gcD1064763 for ; Sat, 5 Nov 2016 01:42:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 176449] zfs(1): ZFS NFS export went wrong with special hostname character Date: Sat, 05 Nov 2016 01:42:38 +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: 9.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: eborisch+FreeBSD@gmail.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-fs@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-fs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Nov 2016 01:42:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D176449 --- Comment #8 from eborisch+FreeBSD@gmail.com --- (In reply to Martin Birgmeier from comment #7) The current behavior strips leading dashes from un-recognized options. Input =3D -foo -ro mapall test_host test-host current output =3D foo -ro -mapall test_host test host w/patch in bug #168158 =3D foo -ro -mapall test_host test-host w/patch in bug #176449 =3D -foo -ro -mapall test_host test-host So the other patch is minimal change (only fixes preserving dashes inside h= ost names) while the patch here also passes unrecognized options with leading dashes. Not sure which is preferred in this case; stripping the dash is likely not optimal from a security point of view, as -foo becomes the hostname foo... Should it perhaps remove strings that look like options but aren't recogniz= ed? Or pass them as (invalid) arguments into exports? --=20 You are receiving this mail because: You are the assignee for the bug.=