From owner-freebsd-fs@freebsd.org Sun Feb 18 00:23:41 2018 Return-Path: Delivered-To: freebsd-fs@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 AC3B0F20671 for ; Sun, 18 Feb 2018 00:23:41 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49C5775D3C for ; Sun, 18 Feb 2018 00:23:41 +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 6DFCB1F873 for ; Sun, 18 Feb 2018 00:23:40 +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 w1I0Nelh019018 for ; Sun, 18 Feb 2018 00:23:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1I0NemE019015 for freebsd-fs@FreeBSD.org; Sun, 18 Feb 2018 00:23:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 222199] zfs command crashed with option checksum=skein Date: Sun, 18 Feb 2018 00:23:39 +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.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 00:23:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222199 --- Comment #7 from commit-hook@freebsd.org --- A commit references this bug: Author: mav Date: Sun Feb 18 00:23:13 UTC 2018 New revision: 329489 URL: https://svnweb.freebsd.org/changeset/base/329489 Log: MFC r328234: MFV r328233: 8898 creating fs with checksum=3Dskein on the boot pools fails ungraceful= ly illumos/illumos-gate@9fa2266d9a78b8366e1cd2d5f050e8b5e37d558c https://www.illumos.org/issues/8898: # zfs create -o checksum=3Dskein rpool/test internal error: Result too large Abort (core dumped) Not a big deal per se, but should be handled correctly. Reviewed by: Toomas Soome Reviewed by: Andy Stormont Approved by: Dan McDonald Author: Yuri Pankov PR: 222199 Changes: _U stable/11/ stable/11/cddl/contrib/opensolaris/cmd/zfs/zfs.8 stable/11/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Feb 18 18:59:45 2018 Return-Path: Delivered-To: freebsd-fs@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 5354AF21A09 for ; Sun, 18 Feb 2018 18:59:45 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE7FA85476 for ; Sun, 18 Feb 2018 18:59:44 +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 291AE132A for ; Sun, 18 Feb 2018 18:59:44 +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 w1IIxibo085608 for ; Sun, 18 Feb 2018 18:59:44 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1IIxiIB085607 for freebsd-fs@FreeBSD.org; Sun, 18 Feb 2018 18:59:44 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: freebsd-fs@FreeBSD.org Subject: [Bug 226007] LOR after unmounting UFS partition on 'memstick' media Date: Sun, 18 Feb 2018 18:59: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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me 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: short_desc 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-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 18:59:45 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226007 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|LOR after unmounting UFS |LOR after unmounting UFS |partition on =C2=B4 memstick' |partition on 'memstic= k' |media |media Assignee|freebsd-bugs@FreeBSD.org |freebsd-fs@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Sun Feb 18 20:13:19 2018 Return-Path: Delivered-To: freebsd-fs@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 333F0F26B1A for ; Sun, 18 Feb 2018 20:13:19 +0000 (UTC) (envelope-from michelle@sorbs.net) Received: from hades.sorbs.net (hades.sorbs.net [72.12.213.40]) by mx1.freebsd.org (Postfix) with ESMTP id A2F4568EF4 for ; Sun, 18 Feb 2018 20:13:18 +0000 (UTC) (envelope-from michelle@sorbs.net) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from isux.com (203-206-128-220.perm.iinet.net.au [203.206.128.220]) by hades.sorbs.net (Oracle Communications Messaging Server 7.0.5.29.0 64bit (built Jul 9 2013)) with ESMTPSA id <0P4D00F6P1THDJ00@hades.sorbs.net> for freebsd-fs@freebsd.org; Sun, 18 Feb 2018 11:22:31 -0800 (PST) Subject: Re: ZFS pool faulted (corrupt metadata) but the disk data appears ok... To: Ben RUBSON , "freebsd-fs@freebsd.org" References: <54D3E9F6.20702@sorbs.net> <54D41608.50306@delphij.net> <54D41AAA.6070303@sorbs.net> <54D41C52.1020003@delphij.net> <54D424F0.9080301@sorbs.net> <54D47F94.9020404@freebsd.org> <54D4A552.7050502@sorbs.net> <54D4BB5A.30409@freebsd.org> <54D8B3D8.6000804@sorbs.net> <54D8CECE.60909@freebsd.org> <54D8D4A1.9090106@sorbs.net> <54D8D5DE.4040906@sentex.net> <54D8D92C.6030705@sorbs.net> <54D8E189.40201@sorbs.net> <54D924DD.4000205@sorbs.net> <54DCAC29.8000301@sorbs.net> <9c995251-45f1-cf27-c4c8-30a4bd0f163c@sorbs.net> <8282375D-5DDC-4294-A69C-03E9450D9575@gmail.com> <73dd7026-534e-7212-a037-0cbf62a61acd@sorbs.net> <027070fb-f7b5-3862-3a52-c0f280ab46d1@sorbs.net> <42C31457-1A84-4CCA-BF14-357F1F3177DA@gmail.com> From: Michelle Sullivan Message-id: <5eb35692-37ab-33bf-aea1-9f4aa61bb7f7@sorbs.net> Date: Mon, 19 Feb 2018 06:13:08 +1100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 In-reply-to: <42C31457-1A84-4CCA-BF14-357F1F3177DA@gmail.com> X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 20:13:19 -0000 Ben RUBSON wrote: > On 02 Feb 2018 21:48, Michelle Sullivan wrote: > >> Ben RUBSON wrote: >> >>> So disks died because of the carrier, as I assume the second >>> unscathed server was OK... >> >> Pretty much. >> >>> Heads must have scratched the platters, but they should have been >>> parked, so... Really strange. >> >> You'd have thought... though 2 of the drives look like it was wear >> and wear issues (the 2 not showing red lights) just not picked up on >> the periodic scrub.... Could be that the recovery showed that one >> up... you know - how you can have an array working fine, but one disk >> dies then others fail during the rebuild because of the extra workload. > > Yes... To try to mitigate this, when I add a new vdev to a pool, I > spread the new disks I have among the existing vdevs, and construct > the new vdev with the remaining new disk(s) + other disks retrieved > from the other vdevs. Thus, when possible, avoiding vdevs with all > disks at the same runtime. > However I only use mirrors, applying this with raid-Z could be a > little bit more tricky... > Believe it or not... # zpool status -v pool: VirtualDisks state: ONLINE status: One or more devices are configured to use a non-native block size. Expect reduced performance. action: Replace affected devices with devices that support the configured block size, or migrate data to a properly configured pool. scan: none requested config: NAME STATE READ WRITE CKSUM VirtualDisks ONLINE 0 0 0 zvol/sorbs/VirtualDisks ONLINE 0 0 0 block size: 512B configured, 8192B native errors: No known data errors pool: sorbs state: ONLINE scan: resilvered 2.38T in 307445734561816429h29m with 0 errors on Sat Aug 26 09:26:53 2017 config: NAME STATE READ WRITE CKSUM sorbs ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 mfid0 ONLINE 0 0 0 mfid1 ONLINE 0 0 0 mfid7 ONLINE 0 0 0 mfid8 ONLINE 0 0 0 mfid12 ONLINE 0 0 0 mfid10 ONLINE 0 0 0 mfid14 ONLINE 0 0 0 mfid11 ONLINE 0 0 0 mfid6 ONLINE 0 0 0 mfid15 ONLINE 0 0 0 mfid2 ONLINE 0 0 0 mfid3 ONLINE 0 0 0 spare-12 ONLINE 0 0 3 mfid13 ONLINE 0 0 0 mfid9 ONLINE 0 0 0 mfid4 ONLINE 0 0 0 mfid5 ONLINE 0 0 0 spares 185579620420611382 INUSE was /dev/mfid9 errors: No known data errors It would appear that the when I replaced the damaged drives it picked one of them up as being rebuilt from back in August (before it was packed up to go) and that was why it saw it as 'corrupted metadata' and spent the last 3 weeks importing it, it rebuilt it as it was importing it.. no dataloss that I can determine. (literally just finished in the middle of the night here.) -- Michelle Sullivan http://www.mhix.org/ From owner-freebsd-fs@freebsd.org Sun Feb 18 20:45:29 2018 Return-Path: Delivered-To: freebsd-fs@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 45643F02880 for ; Sun, 18 Feb 2018 20:45:29 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 D35926A955 for ; Sun, 18 Feb 2018 20:45:28 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6DD57260329; Sun, 18 Feb 2018 21:45:25 +0100 (CET) To: "freebsd-fs@FreeBSD.org" From: Hans Petter Selasky Subject: Kernel Panic - panic: sleeping thread Message-ID: <1f2be3de-fc5a-e493-1aaf-626b1e6c7dcb@selasky.org> Date: Sun, 18 Feb 2018 21:45:25 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 20:45:29 -0000 FYI: https://github.com/FreeBSDDesktop/kms-drm/issues/21 > Jan 8 08:48:19 tony kernel: panic: sleeping thread > Jan 8 08:48:19 tony kernel: cpuid = 2 > Jan 8 08:48:19 tony kernel: time = 1515238200 > Jan 8 08:48:19 tony kernel: KDB: stack backtrace: > Jan 8 08:48:19 tony kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00545ce130 > Jan 8 08:48:19 tony kernel: vpanic() at vpanic+0x19c/frame 0xfffffe00545ce1b0 > Jan 8 08:48:19 tony kernel: panic() at panic+0x43/frame 0xfffffe00545ce210 > Jan 8 08:48:19 tony kernel: turnstile_alloc() at turnstile_alloc/frame 0xfffffe00545ce240 > Jan 8 08:48:19 tony kernel: turnstile_wait() at turnstile_wait+0x308/frame 0xfffffe00545ce290 > Jan 8 08:48:19 tony kernel: __mtx_lock_sleep() at __mtx_lock_sleep+0x15a/frame 0xfffffe00545ce320 > Jan 8 08:48:19 tony kernel: vget() at vget+0x1e7/frame 0xfffffe00545ce370 > Jan 8 08:48:19 tony kernel: cache_lookup() at cache_lookup+0x9dc/frame 0xfffffe00545ce470 > Jan 8 08:48:19 tony kernel: vfs_cache_lookup() at vfs_cache_lookup+0xac/frame 0xfffffe00545ce4d0 > Jan 8 08:48:19 tony kernel: VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0x7c/frame 0xfffffe00545ce500 > Jan 8 08:48:19 tony kernel: lookup() at lookup+0x6c1/frame 0xfffffe00545ce5a0 > Jan 8 08:48:19 tony kernel: namei() at namei+0x488/frame 0xfffffe00545ce670 > Jan 8 08:48:19 tony kernel: kern_statat() at kern_statat+0x98/frame 0xfffffe00545ce880 > Jan 8 08:48:19 tony kernel: sys_fstatat() at sys_fstatat+0x2f/frame 0xfffffe00545ce980 > Jan 8 08:48:19 tony kernel: amd64_syscall() at amd64_syscall+0xa48/frame 0xfffffe00545ceab0 > Jan 8 08:48:19 tony kernel: Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe00545ceab0 > Jan 8 08:48:19 tony kernel: --- syscall (552, FreeBSD ELF64, sys_fstatat), rip = 0x800dc3a4a, rsp = 0x7fffffffddc8, rbp = 0x7fffffffde70 --- --HPS From owner-freebsd-fs@freebsd.org Sun Feb 18 21:32:58 2018 Return-Path: Delivered-To: freebsd-fs@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 2354BF062B9 for ; Sun, 18 Feb 2018 21:32:58 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 B408A6CD78 for ; Sun, 18 Feb 2018 21:32:57 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [62.141.128.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 47CA926027E; Sun, 18 Feb 2018 22:32:56 +0100 (CET) Subject: Re: Kernel Panic - panic: sleeping thread From: Hans Petter Selasky To: "freebsd-fs@FreeBSD.org" References: <1f2be3de-fc5a-e493-1aaf-626b1e6c7dcb@selasky.org> Message-ID: Date: Sun, 18 Feb 2018 22:32:56 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <1f2be3de-fc5a-e493-1aaf-626b1e6c7dcb@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 21:32:58 -0000 On 02/18/18 21:45, Hans Petter Selasky wrote: > FYI: > > https://github.com/FreeBSDDesktop/kms-drm/issues/21 > > Jan 8 08:48:19 tony kernel: Sleeping thread (tid 101931, pid 35022) owns a non-sleepable lock > Jan 8 08:48:19 tony kernel: KDB: stack backtrace of thread 101931: > Jan 8 08:48:19 tony kernel: sched_switch() at sched_switch+0x619/frame 0xfffffe00559f38b0 > Jan 8 08:48:19 tony kernel: mi_switch() at mi_switch+0xf1/frame 0xfffffe00559f38e0 > Jan 8 08:48:19 tony kernel: sleepq_timedwait() at sleepq_timedwait+0x2f/frame 0xfffffe00559f3920 > Jan 8 08:48:19 tony kernel: _cv_timedwait_sbt() at _cv_timedwait_sbt+0x18b/frame 0xfffffe00559f3980 > Jan 8 08:48:19 tony kernel: amd64_syscall() at amd64_syscall+0x694/frame 0xfffffe00559f3ab0 > Jan 8 08:48:19 tony kernel: Xfast_syscall() at Xfast_syscall+0xfb/frame 0xfffffe00559f3ab0 > Jan 8 08:48:19 tony kernel: --- syscall (41315), rip = 0x800b68e0d, rsp = 0x7fffffffe4e0, rbp = 0x7fffffffe580 --- I can only find one consumer of cv_timedwait_sbt() and that is in ZFS . --HPS From owner-freebsd-fs@freebsd.org Sun Feb 18 22:35:02 2018 Return-Path: Delivered-To: freebsd-fs@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 9661EF0BA2F for ; Sun, 18 Feb 2018 22:35:02 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3421F700C7 for ; Sun, 18 Feb 2018 22:35:02 +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 8596F3202 for ; Sun, 18 Feb 2018 22:35:01 +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 w1IMZ1hQ004418 for ; Sun, 18 Feb 2018 22:35:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1IMZ1Jc004417 for freebsd-fs@FreeBSD.org; Sun, 18 Feb 2018 22:35:01 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: freebsd-fs@FreeBSD.org Subject: [Bug 226007] LOR after unmounting UFS partition on 'memstick' media Date: Sun, 18 Feb 2018 22:35:01 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: vidwer+fbsdbugs@gmail.com 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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Feb 2018 22:35:02 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226007 --- Comment #1 from vidwer+fbsdbugs@gmail.com --- Build: FreeBSD 12-CURRENT r329531 Hardware: amd64 The commands executed to gather the LOR from dmesg were: # mount /dev/da0p3 /mnt # strings /mnt/boot/kernel/kernel | egrep '^@\(#\)' # umount /mnt --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Mon Feb 19 01:14:51 2018 Return-Path: Delivered-To: freebsd-fs@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 5C91EF1854A for ; Mon, 19 Feb 2018 01:14:51 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (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 008FF76E4C for ; Mon, 19 Feb 2018 01:14:50 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id D4F0E141B4; Mon, 19 Feb 2018 01:14:49 +0000 (UTC) To: freebsd-fs , Kirk McKusick From: Allan Jude Subject: UFS panic when attempting to mount wrong device Message-ID: <8be41fc8-ea0a-da87-da89-68f531f1cb88@freebsd.org> Date: Sun, 18 Feb 2018 20:14:48 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MEUFdTuAaAJ3esYQ3eBJeNiwxGWZoW9qo" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 01:14:51 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --MEUFdTuAaAJ3esYQ3eBJeNiwxGWZoW9qo Content-Type: multipart/mixed; boundary="NXLZSNJkPBcU5vQ1YpYd484oxPWd4zf7U"; protected-headers="v1" From: Allan Jude To: freebsd-fs , Kirk McKusick Message-ID: <8be41fc8-ea0a-da87-da89-68f531f1cb88@freebsd.org> Subject: UFS panic when attempting to mount wrong device --NXLZSNJkPBcU5vQ1YpYd484oxPWd4zf7U Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable I accidentally forgot to specify -t cd9660 when mounting a CD image, and UFS panicked the machine: Unread portion of the kernel message buffer: panic: vtopde on a uva/gpa 0x0 cpuid =3D 1 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0034409550 vpanic() at vpanic+0x18d/frame 0xfffffe00344095b0 vpanic() at vpanic/frame 0xfffffe0034409630 pmap_kextract() at pmap_kextract+0x121/frame 0xfffffe0034409660 free() at free+0x5e/frame 0xfffffe00344096a0 ffs_mount() at ffs_mount+0xe2f/frame 0xfffffe0034409840 vfs_donmount() at vfs_donmount+0xf56/frame 0xfffffe0034409a80 sys_nmount() at sys_nmount+0x72/frame 0xfffffe0034409ac0 amd64_syscall() at amd64_syscall+0x79b/frame 0xfffffe0034409bf0 fast_syscall_common() at fast_syscall_common+0x101/frame 0x7fffffffd990 (kgdb) bt #0 __curthread () at ./machine/pcpu.h:230 #1 doadump (textdump=3D1) at /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c:347 #2 0xffffffff80ac9242 in kern_reboot (howto=3D260) at /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c:416 #3 0xffffffff80ac980d in vpanic (fmt=3D, ap=3D0xfffffe00344095f0) at /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c= :812 #4 0xffffffff80ac9620 in kassert_panic (fmt=3D0xffffffff81157632 "vtopde= on a uva/gpa 0x%0lx") at /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c:69= 8 #5 0xffffffff80f683a1 in vtopde (va=3D0) at /zroot/zfs_zstd/head/sys/amd64/amd64/pmap.c:835 #6 pmap_kextract (va=3D0) at /zroot/zfs_zstd/head/sys/amd64/amd64/pmap.c= :2237 #7 0xffffffff80aa3f2e in vtoslab (va=3D0) at /zroot/zfs_zstd/head/sys/vm/uma_int.h:455 #8 free (addr=3D0x8, mtp=3D0xffffffff8189bb20 ) at /zroot/zfs_zstd/head/sys/kern/kern_malloc.c:701 #9 0xffffffff80dc278f in ffs_mountfs (devvp=3D, mp=3D, td=3D) at /zroot/zfs_zstd/head/sys/ufs/ffs/ffs_vfsops.c:1047 #10 ffs_mount (mp=3D0xfffff80085dda000) at /zroot/zfs_zstd/head/sys/ufs/ffs/ffs_vfsops.c:531 #11 0xffffffff80b8ebc6 in vfs_domount_first (td=3D, fspath=3D0xfffff80003723800 "/mnt", vp=3D0xfffff80085baf938, vfsp=3D, fsflags=3D, optlist=3D) at /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:827 #12 vfs_domount (td=3D, fstype=3D, fspath=3D, fsflags=3D, optlist=3D) at /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:1117 #13 vfs_donmount (td=3D0xfffff800139c6560, fsflags=3D, fsoptions=3D0xfffff800054d6e00) at /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:684 #14 0xffffffff80b8dc42 in sys_nmount (td=3D0xfffff800139c6560, uap=3D0xfffff800139c6918) at /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:42= 7 #15 0xffffffff80f7ed0b in syscallenter (td=3D0xfffff800139c6560) at /zroot/zfs_zstd/head/sys/amd64/amd64/../../kern/subr_syscall.c:134 #16 amd64_syscall (td=3D0xfffff800139c6560, traced=3D0) at /zroot/zfs_zstd/head/sys/amd64/amd64/trap.c:935 #17 0xffffffff80f5a66d in fast_syscall_common () at /zroot/zfs_zstd/head/sys/amd64/amd64/exception.S:480 #18 0x0000000800c78000 in ?? () That that maybe a double free? --=20 Allan Jude --NXLZSNJkPBcU5vQ1YpYd484oxPWd4zf7U-- --MEUFdTuAaAJ3esYQ3eBJeNiwxGWZoW9qo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJaiiULAAoJEBmVNT4SmAt+Cb4P/1sa5EoKMWpU5+WQ3AI5Dw34 bhyWtB/f0zKi/pfRv8/ZUi70rixFFEeSI/DZ0mQ5v5h86SV9LiqouonHH2aeGQBs +UkOjQ5Pfs87zwlGxjC4ifJQbqNe32epU8qwjvjRq0RJeo/YNwrn1EXpmXpJNC4n 2s7vXBVtPXTDAiHPSeHc5ZsXyiOAM4RiUntROqhJ6ynx3t8ZVodpSAdruz9Qbqup 229dqTUSeaGY/s6srd1ncviO6BfxdQMtXb/HE7lNyMwuvHApgN7GYoS/VEFHFKPg WUSJiG5TxqosZm9ajnxbZlk98MYU5yzZ42CITm3icKrmDkQU5mHyaLBK+iGvp5Mo eyUUeuVRudedzWa2D7hdzVmuR41xSvAcGfBsYgtPOf9njIeC88PE55FecRN7TYem wMlaLAPrm6SqNtJPcQjNyQhPbc0FbLPMhXDlTyHuZAO8InwW/bXTt/vjsEIxAA+j gTeindtRetuOEAPQNMDZ0+OcAPi5pvSeXoAe/cbcjnVVHLYJEDZsrv2ZYm+iixPr yS4N5DAduVyBmxX1sRJbCSFa/AeTxf0naD06phin9KLEf4/2eQmB2lBcLVXL91cI R4seJxrIVhPsXtYGsknJLK0Q0+UvH6HJIJ5bqvZJdKVs25pVOWlKuTpEoxV1f1rH 61hfArUOImX+K9phkqRE =y09a -----END PGP SIGNATURE----- --MEUFdTuAaAJ3esYQ3eBJeNiwxGWZoW9qo-- From owner-freebsd-fs@freebsd.org Mon Feb 19 08:55:53 2018 Return-Path: Delivered-To: freebsd-fs@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 58E54F10356 for ; Mon, 19 Feb 2018 08:55:53 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED25668414 for ; Mon, 19 Feb 2018 08:55:52 +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 2386E10D97 for ; Mon, 19 Feb 2018 08:55:52 +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 w1J8tqEY047275 for ; Mon, 19 Feb 2018 08:55:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1J8tqRu047274 for freebsd-fs@FreeBSD.org; Mon, 19 Feb 2018 08:55:52 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 225795] panic: found unreferenced mountpoint when accessing and unmounting snapshots in parallel Date: Mon, 19 Feb 2018 08:55:52 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 08:55:53 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225795 --- Comment #4 from commit-hook@freebsd.org --- A commit references this bug: Author: avg Date: Mon Feb 19 08:55:23 UTC 2018 New revision: 329556 URL: https://svnweb.freebsd.org/changeset/base/329556 Log: relax an assert in zfsctl_snapdir_lookup to match r323578 Since r323578 we may remove the last reference to a covered vnode with vrele() instead of vput(). So, v_usecount may be decremented before the vnode is locked and zfsctl_snapdir_lookup may "catch" the vnode with v_usecount of zero and v_holdcnt of one. PR: 225795 Reported by: asomers MFC after: 1 week Changes: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_ctldir.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Mon Feb 19 09:53:03 2018 Return-Path: Delivered-To: freebsd-fs@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 AB98EF149F8 for ; Mon, 19 Feb 2018 09:53:03 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40AB56A9B3 for ; Mon, 19 Feb 2018 09:53: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7EFD011600 for ; Mon, 19 Feb 2018 09:53:02 +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 w1J9r2kS081688 for ; Mon, 19 Feb 2018 09:53:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1J9r2FE081684 for freebsd-fs@FreeBSD.org; Mon, 19 Feb 2018 09:53:02 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: freebsd-fs@FreeBSD.org Subject: [Bug 226007] LOR after unmounting UFS partition on 'memstick' media Date: Mon, 19 Feb 2018 09:53:02 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Not A Bug X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status resolution 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 09:53:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D226007 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |Closed Resolution|--- |Not A Bug --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Mon Feb 19 10:58:11 2018 Return-Path: Delivered-To: freebsd-fs@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 1C91CF1A100 for ; Mon, 19 Feb 2018 10:58:11 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (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 82A816E22E; Mon, 19 Feb 2018 10:58:10 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id w1JAvwFa035207 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 19 Feb 2018 12:58:01 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w1JAvwFa035207 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w1JAvw6D035206; Mon, 19 Feb 2018 12:57:58 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 19 Feb 2018 12:57:58 +0200 From: Konstantin Belousov To: Allan Jude Cc: freebsd-fs , Kirk McKusick , markj@freebsd.org Subject: Re: UFS panic when attempting to mount wrong device Message-ID: <20180219105758.GX94212@kib.kiev.ua> References: <8be41fc8-ea0a-da87-da89-68f531f1cb88@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8be41fc8-ea0a-da87-da89-68f531f1cb88@freebsd.org> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 10:58:11 -0000 On Sun, Feb 18, 2018 at 08:14:48PM -0500, Allan Jude wrote: > I accidentally forgot to specify -t cd9660 when mounting a CD image, and > UFS panicked the machine: > > Unread portion of the kernel message buffer: > panic: vtopde on a uva/gpa 0x0 > cpuid = 1 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > 0xfffffe0034409550 > vpanic() at vpanic+0x18d/frame 0xfffffe00344095b0 > vpanic() at vpanic/frame 0xfffffe0034409630 > pmap_kextract() at pmap_kextract+0x121/frame 0xfffffe0034409660 > free() at free+0x5e/frame 0xfffffe00344096a0 > ffs_mount() at ffs_mount+0xe2f/frame 0xfffffe0034409840 > vfs_donmount() at vfs_donmount+0xf56/frame 0xfffffe0034409a80 > sys_nmount() at sys_nmount+0x72/frame 0xfffffe0034409ac0 > amd64_syscall() at amd64_syscall+0x79b/frame 0xfffffe0034409bf0 > fast_syscall_common() at fast_syscall_common+0x101/frame 0x7fffffffd990 > > > > (kgdb) bt > #0 __curthread () at ./machine/pcpu.h:230 > #1 doadump (textdump=1) at > /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c:347 > #2 0xffffffff80ac9242 in kern_reboot (howto=260) at > /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c:416 > #3 0xffffffff80ac980d in vpanic (fmt=, > ap=0xfffffe00344095f0) at /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c:812 > #4 0xffffffff80ac9620 in kassert_panic (fmt=0xffffffff81157632 "vtopde > on a uva/gpa 0x%0lx") at /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c:698 > #5 0xffffffff80f683a1 in vtopde (va=0) at > /zroot/zfs_zstd/head/sys/amd64/amd64/pmap.c:835 > #6 pmap_kextract (va=0) at /zroot/zfs_zstd/head/sys/amd64/amd64/pmap.c:2237 > #7 0xffffffff80aa3f2e in vtoslab (va=0) at > /zroot/zfs_zstd/head/sys/vm/uma_int.h:455 > #8 free (addr=0x8, mtp=0xffffffff8189bb20 ) at > /zroot/zfs_zstd/head/sys/kern/kern_malloc.c:701 > #9 0xffffffff80dc278f in ffs_mountfs (devvp=, > mp=, td=) > at /zroot/zfs_zstd/head/sys/ufs/ffs/ffs_vfsops.c:1047 > #10 ffs_mount (mp=0xfffff80085dda000) at > /zroot/zfs_zstd/head/sys/ufs/ffs/ffs_vfsops.c:531 > #11 0xffffffff80b8ebc6 in vfs_domount_first (td=, > fspath=0xfffff80003723800 "/mnt", vp=0xfffff80085baf938, vfsp= out>, > fsflags=, optlist=) at > /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:827 > #12 vfs_domount (td=, fstype=, > fspath=, fsflags=, optlist=) > at /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:1117 > #13 vfs_donmount (td=0xfffff800139c6560, fsflags=, > fsoptions=0xfffff800054d6e00) at > /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:684 > #14 0xffffffff80b8dc42 in sys_nmount (td=0xfffff800139c6560, > uap=0xfffff800139c6918) at /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:427 > #15 0xffffffff80f7ed0b in syscallenter (td=0xfffff800139c6560) at > /zroot/zfs_zstd/head/sys/amd64/amd64/../../kern/subr_syscall.c:134 > #16 amd64_syscall (td=0xfffff800139c6560, traced=0) at > /zroot/zfs_zstd/head/sys/amd64/amd64/trap.c:935 > #17 0xffffffff80f5a66d in fast_syscall_common () at > /zroot/zfs_zstd/head/sys/amd64/amd64/exception.S:480 > #18 0x0000000800c78000 in ?? () > > > That that maybe a double free? More likely, a free of the uninitialized pointer. Try this. diff --git a/sys/ufs/ffs/ffs_subr.c b/sys/ufs/ffs/ffs_subr.c index 40db8bf01b1..4e167d98b65 100644 --- a/sys/ufs/ffs/ffs_subr.c +++ b/sys/ufs/ffs/ffs_subr.c @@ -174,8 +174,12 @@ ffs_sbget(void *devfd, struct fs **fsp, off_t altsuperblock, *fsp = NULL; if (altsuperblock != -1) { - if ((ret = readsuper(devfd, fsp, altsuperblock, readfunc)) != 0) + if ((ret = readsuper(devfd, fsp, altsuperblock, readfunc)) + != 0) { + if (*fsp != NULL) + (*fsp)->fs_csp = NULL; return (ret); + } } else { for (i = 0; sblock_try[i] != -1; i++) { if ((ret = readsuper(devfd, fsp, sblock_try[i], @@ -183,10 +187,15 @@ ffs_sbget(void *devfd, struct fs **fsp, off_t altsuperblock, break; if (ret == ENOENT) continue; + if (*fsp != NULL) + (*fsp)->fs_csp = NULL; return (ret); } - if (sblock_try[i] == -1) + if (sblock_try[i] == -1) { + if (*fsp != NULL) + (*fsp)->fs_csp = NULL; return (ENOENT); + } } /* * If not filling in summary information, NULL out fs_csp and return. From owner-freebsd-fs@freebsd.org Mon Feb 19 15:00:03 2018 Return-Path: Delivered-To: freebsd-fs@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 360FBF06598 for ; Mon, 19 Feb 2018 15:00:03 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C5D06792FC for ; Mon, 19 Feb 2018 15:00:02 +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 0B1C813FE3 for ; Mon, 19 Feb 2018 15:00:02 +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 w1JF01QC085838 for ; Mon, 19 Feb 2018 15:00:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1JF01aL085829 for freebsd-fs@FreeBSD.org; Mon, 19 Feb 2018 15:00:01 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: freebsd-fs@FreeBSD.org Subject: [Bug 225960] zfs: g_access leak when unmounting UFS on a zvol Date: Mon, 19 Feb 2018 15:00:01 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 15:00:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225960 --- Comment #6 from Andriy Gapon --- Created attachment 190802 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D190802&action= =3Dedit possible solution I have come up with a possible solution, haven't tested it yet. Perhaps there is a better way to fix the issue in GEOM core code, but I couldn'r think of one. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Mon Feb 19 15:17:18 2018 Return-Path: Delivered-To: freebsd-fs@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 8C61CF07B2A for ; Mon, 19 Feb 2018 15:17:18 +0000 (UTC) (envelope-from page.graham@frankmethods.com) Received: from mail-it0-x248.google.com (mail-it0-x248.google.com [IPv6:2607:f8b0:4001:c0b::248]) (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 2FBA979E97 for ; Mon, 19 Feb 2018 15:17:18 +0000 (UTC) (envelope-from page.graham@frankmethods.com) Received: by mail-it0-x248.google.com with SMTP id 11so8969528itj.3 for ; Mon, 19 Feb 2018 07:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=frankmethods-com.20150623.gappssmtp.com; s=20150623; h=mime-version:message-id:date:subject:from:to; bh=2b07r8n2U2Iv2mgzVrd9M+iCsKBnQ5FVY2ZZbzGFtIU=; b=GYxhRKgkclfxAdO1EIGf9W1189+nu7+oUHgXWfOA8FOgA6uvOLxzGWZuicVzALVcS+ +DZ1FPfJKNyHXECA4U5+we9JiyiwXKMlfjcKzJiqMPW0nXWm8SjuCJRTW94TOLToSb0r opwU84A76jRUP8FVsXoq/Bv9whVLh8nqGMu4VXA+Y7qdLsoYw6JZFaA71FJobnH/g9wG +FR/amDyDCjnhAKymUkOwlfApgbxO0diR2axX/IbtRkF0iKJ/RiIl/V847nATbF9Ji71 n6SmpqXgMl3giAimpyqwo3T5+l9Awq5gzOeZNudD1HXoZYbGk/RE/fU+NTkVfJJudGiV xdwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:message-id:date:subject:from:to; bh=2b07r8n2U2Iv2mgzVrd9M+iCsKBnQ5FVY2ZZbzGFtIU=; b=MR3BF0QL1lN54+I0jSMouFtJtbMJqJ0BIlk96BsKxmRzW4GeNpbFqKriRKsC2M0OS+ 9wvqVIoTpE9fXc/HUNHav55sno1TmV2hnwx0OTr7I5p5GteT8+f9+2R2AOtZL8co9IjT LbxwFz6IoeVx+lnvfEDvQ2YHUH0dkgY76JBpK2r1Iiz/R8PGJBWFDITrJ77UI7AxWO47 NKe5Lkilry3eXSMHqDKJM30oBVab+maGsL0Dt5DiQQ6vIUKj3QwnnIt1G5W4CATwoX5f TkoJtcu85zMQHVoEgem5QYYp941wC6u3Th31W0mfq+iWYu7OiKFldNP5lRIXY9iWMdJr WsdA== X-Gm-Message-State: APf1xPD3+NVihxnp5+goIrj3Ar2YR2u91AigwyT1ee8mRL6haMg7h9eo DT/eHWeeutRkiSMdlHlMbih8K4HNna07 X-Google-Smtp-Source: AH8x225LG/zZ6f8k1XnL+tDIgrlK3e79JCrYuZu6QFvSx/395W5z6uPrWLurkhtuKAtIUWjC2+82HuJPEA== MIME-Version: 1.0 X-Received: by 10.107.8.201 with SMTP id h70mr8466011ioi.39.1519053437556; Mon, 19 Feb 2018 07:17:17 -0800 (PST) Message-ID: <001a113f95888a80340565923025@google.com> Date: Mon, 19 Feb 2018 15:17:17 +0000 Subject: WebEx Accounts From: page.graham@frankmethods.com To: freebsd-fs@freebsd.org Content-Type: text/plain; charset="UTF-8"; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 15:17:18 -0000 PGRpdiBkaXI9Imx0ciI+DQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQoNCg0KDQo8cCBj bGFzcz0iTXNvTm9ybWFsIiBzdHlsZT0ibWFyZ2luOjBpbiAwaW4gIA0KOHB0O2xpbmUtaGVpZ2h0 OjEwNyU7Zm9udC1zaXplOjExcHQ7Zm9udC1mYW1pbHk6Q2FsaWJyaSxzYW5zLXNlcmlmIj48c3Bh biAgDQpzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEyMSkiPkhpLCA8YnI+DQo8YnI+DQp3b3VsZCB5 b3UgYmUgaW50ZXJlc3RlZCBpbiBhY3F1aXJpbmcgPGI+Q2lzY28gV2ViRXggU3lzdGVtcyBVc2Vy cyAgDQpMaXN0PC9iPsKgZm9yDQp5b3VyIG1hcmtldGluZyBjYW1wYWlnbj88YnI+PC9zcGFuPjxz cGFuICANCnN0eWxlPSJjb2xvcjpyZ2IoMzEsNzgsMTIxKTtmb250LXNpemU6MTFwdCI+V2UgY2Fu IHByb3ZpZGUgeW91IERhdGFiYXNlDQpmcm9twqA8L3NwYW4+PGIgc3R5bGU9ImNvbG9yOnJnYigz MSw3OCwxMjEpO2ZvbnQtc2l6ZToxMXB0Ij5Ob3J0aCBBbWVyaWNhLCAgDQpMYXRpbiBBbWVyaWNh LCBFTUVBLCBhbmQgQVBBQzwvYj48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEyMSk7 Zm9udC1zaXplOjExcHQiPi48L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz0iTXNvTm9ybWFsIiBzdHls ZT0ibWFyZ2luOjBpbiAwaW4gIA0KMC4wMDAxcHQ7bGluZS1oZWlnaHQ6bm9ybWFsO2ZvbnQtc2l6 ZToxMXB0O2ZvbnQtZmFtaWx5OkNhbGlicmksc2Fucy1zZXJpZiI+PGI+PHNwYW4gIA0Kc3R5bGU9 ImNvbG9yOnJnYigzMSw3OCwxMjEpIj5XZSBhbHNvIGhhdmUgY29tcGFuaWVzDQp1c2luZzogPC9z cGFuPjwvYj48c3BhbiBzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEyMSkiPlZNd2FyZSwgQWRvYmUs IE9yYWNsZSAgDQpDb3Jwb3JhdGlvbiwgTm9ydGVsLg0KSUJNLCBIdWF3ZWksIERlbGwsPHNwYW4+ PC9zcGFuPjwvc3Bhbj48L3A+DQoNCjxwIGNsYXNzPSJNc29Ob3JtYWwiIHN0eWxlPSJtYXJnaW46 MGluIDBpbiAgDQowLjAwMDFwdDtsaW5lLWhlaWdodDpub3JtYWw7Zm9udC1zaXplOjExcHQ7Zm9u dC1mYW1pbHk6Q2FsaWJyaSxzYW5zLXNlcmlmIj48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDMx LDc4LDEyMSkiPkF2YXlhLCBIZXdsZXR0LVBhY2thcmQsIENpdHJpeCBTeXN0ZW1zLCAgDQpKdW5p cGVyIE5ldHdvcmtzLCBBcmlzdGENCk5ldHdvcmtzLCBGb3J0aW5ldDxicj4NCjxicj4NCjxiPldl IGFsc28gaGF2ZSBvdGhlciB0eXBlcyBvZiBzcGVjaWFsaXN0DQp1c2VycyBsaWtlOjwvYj48L3Nw YW4+IDxzcGFuIHN0eWxlPSJjb2xvcjpyZ2IoMzEsNzgsMTIxKSI+VmlkZW8gQ29uZmVyZW5jZSwg IA0KT25saW5lIE1lZXRpbmdzLA0KU2hhcmluZyBNZWV0aW5ncywgU2VjdXJpdHkgYW5kIG1hbnkg bW9yZS4uPGJyPjxiPjxicj5JbmZvcm1hdGlvbiAgDQpGaWVsZHM8L2I+wqDigJMgTmFtZSwgVGl0 bGUsIEVtYWlsLCBQaG9uZSBOdW1iZXJzLA0KQ29tcGFueSBOYW1lLCBhbmQgQ29tcGFueSBEZXRh aWxzIGxpa2UsIFBoeXNpY2FsIEFkZHJlc3MsIFdlYiBBZGRyZXNzLCAgDQpSZXZlbnVlDQpTaXpl LCBFbXBsb3llZSBTaXplIGFuZCBpbmR1c3RyeS48c3Bhbj48L3NwYW4+PC9zcGFuPjwvcD4NCg0K PHAgY2xhc3M9ImdtYWlsLU1zb05vcm1hbEN4U3BNaWRkbGUiPjxzcGFuICANCnN0eWxlPSJjb2xv cjpyZ2IoMzEsNzgsMTIxKSI+UGxlYXNlIHJldmlldyBhbmQgbGV0IG1lIGtub3cgaWYgeW91IGFy ZSAgDQppbnRlcmVzdGVkIGluIGFueQ0Kb2YgdGhlIHRlY2hub2xvZ3kgdXNlcnMgb3IgZGlmZmVy ZW50IGNvbnRhY3QgbGlzdCBmb3IgeW91ciBjYW1wYWlnbnMgYW5kIEkgIA0Kd2lsbA0KcHJvdmlk ZSBtb3JlIGluZm9ybWF0aW9uIGZvciB0aGUgc2FtZS4gQW5kIEnigJlsbCBzZW5kIGFjcm9zcyBh IGZldyBzYW1wbGUNCnJlY29yZHMgZm9yIHlvdSB0byByZXZpZXcuPGJyPjwvc3Bhbj48c3BhbiAg DQpzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEyMSkiPjxicj5BcHByZWNpYXRlIHlvdXIgdGltZQ0K YW5kIGxvb2sgZm9yd2FyZCB0byBoZWFyIGZyb20geW91Ljwvc3Bhbj48c3BhbiAgDQpzdHlsZT0i Y29sb3I6cmdiKDMxLDc4LDEyMSkiPjxicj48L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz0iZ21haWwt TXNvTm9TcGFjaW5nQ3hTcEZpcnN0Ij48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEy MSkiPlJlZ2FyZHMsPGJyPjxiPjxicj5QYWdlICANCkdyYWhhbTxicj48L2I+PC9zcGFuPjxzcGFu ICANCnN0eWxlPSJjb2xvcjpyZ2IoMzEsNzgsMTIxKTtmb250LXdlaWdodDpib2xkO2xldHRlci1z cGFjaW5nOjAuMjVwdCI+TWFya2V0aW5nICANCkV4ZWN1dGl2ZTwvc3Bhbj48c3BhbiBzdHlsZT0i Y29sb3I6cmdiKDMxLDc4LDEyMSkiPjxicj48L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz0iZ21haWwt TXNvTm9TcGFjaW5nQ3hTcE1pZGRsZSI+PHNwYW4gY2xhc3M9ImdtYWlsLU1zb0Jvb2tUaXRsZSIg IA0Kc3R5bGU9ImxldHRlci1zcGFjaW5nOjAuMjVwdDtmb250LXdlaWdodDpib2xkO2ZvbnQtc3R5 bGU6aXRhbGljIj48c3BhbiAgDQpzdHlsZT0iY29sb3I6cmdiKDMxLDc4LDEyMSk7Zm9udC1zdHls ZTpub3JtYWwiPjxzcGFuPsKgPC9zcGFuPjwvc3Bhbj48L3NwYW4+PC9wPg0KDQo8cCBjbGFzcz0i Z21haWwtTXNvTm9TcGFjaW5nQ3hTcExhc3QiPjxzcGFuIGNsYXNzPSJnbWFpbC1Nc29Cb29rVGl0 bGUiICANCnN0eWxlPSJsZXR0ZXItc3BhY2luZzowLjI1cHQ7Zm9udC13ZWlnaHQ6Ym9sZDtmb250 LXN0eWxlOml0YWxpYyI+PHNwYW4gIA0Kc3R5bGU9ImNvbG9yOnJnYigzMSw3OCwxMjEpO2ZvbnQt c3R5bGU6bm9ybWFsIj48c3Bhbj7CoDwvc3Bhbj48L3NwYW4+PC9zcGFuPjwvcD4NCg0KPHAgY2xh c3M9ImdtYWlsLU1zb05vcm1hbEN4U3BGaXJzdCI+PHNwYW4gIA0Kc3R5bGU9ImNvbG9yOnJnYigy NDIsMjQyLDI0MikiPk9wdCBPdXQsIHBsZWFzZSByZXBseSB3aXRoIExlYXZlDQpPdXQgaW4gdGhl IFN1YmplY3QgTGluZS48L3NwYW4+PHNwYW4gIA0Kc3R5bGU9ImNvbG9yOnJnYigyNDIsMjQyLDI0 MikiPjxzcGFuPsKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKgIMKg IMKgIMKgIMKgIMKgIMKgwqA8L3NwYW4+PC9zcGFuPjwvcD48L2Rpdj4NCjxwPiZuYnNwOzwvcD48 YSBzdHlsZT0nZGlzcGxheTogYmxvY2s7IG1hcmdpbjogMzJweCAwIDQwcHggMDsgcGFkZGluZzog IA0KMTBweDsgZm9udC1zaXplOiAxZW07IHRleHQtYWxpZ246IGNlbnRlcjsgYm9yZGVyOiAwOyBi b3JkZXItdG9wOiAxcHggc29saWQgIA0KZ3JheTsgJyBocmVmPSdodHRwczovL2dvby5nbC8ya3Nk UnYnPnBvd2VyZWQgYnkgR1NNLiBGcmVlIG1haWwgbWVyZ2UgYW5kICANCmVtYWlsIG1hcmtldGlu ZyBzb2Z0d2FyZSBmb3IgR21haWwuPC9hPg0K From owner-freebsd-fs@freebsd.org Mon Feb 19 17:25:03 2018 Return-Path: Delivered-To: freebsd-fs@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 E6765F127C3 for ; Mon, 19 Feb 2018 17:25:02 +0000 (UTC) (envelope-from brent.watson@tradeshowattendees.com) Received: from IND01-MA1-obe.outbound.protection.outlook.com (mail-ma1ind01on0104.outbound.protection.outlook.com [104.47.100.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT TLS CA 4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE54A80D39 for ; Mon, 19 Feb 2018 17:25:01 +0000 (UTC) (envelope-from brent.watson@tradeshowattendees.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NETORG3368842.onmicrosoft.com; s=selector1-tradeshowattendees-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=HkF72sifva91lLgGxCb3WcLT2BupUey0OIjNgxKHxpo=; b=LZAePTlQ5mUPaYyf3HhZXlJU2RMxtv+7Sq90CcARFP2l2d8FJcxp1bIiQM17Db11yQM54QclwwV6ppsq/42yx4fcNpbON0RbYrxJcO5gOnV07cy2hSc+mOC3q492tIrxcxqI+dOztaEnS6vB5QzouFN3xSfNf0E1jOKpbqngT1g= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brent.watson@tradeshowattendees.com; Received: from LenovoPC (49.207.51.204) by PN1PR0101MB1376.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:13::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Mon, 19 Feb 2018 17:24:56 +0000 From: "Brent Watson" To: References: In-Reply-To: Subject: Southern California Linux Expo - SCALE Attendee List Date: Mon, 19 Feb 2018 22:54:56 +0530 Message-ID: <043801d3a9a6$9028e1e0$b07aa5a0$@tradeshowattendees.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: AdOpo14D59d7YROORQ6M7p+HeHTTXgAAn6gwAAABJrAAAAAToAAAAAQAAAAAAwAAAAAD8AAAAAQgAAAAA2AAAAAEYAAAAAOQAAAABMAAAAAD8AAAAAMgAAAABFAAAAADgAAAAAOAAAAABbAAAAAD4AAAAAQQAAAAA4AAAAAEsAAAAATgAAAABBAAAAADQAAAAASgAAAABOAAAAAEEAAAAANAAAAABKAAAAAE0AAAAAQwAAAABKAAAAAEAAAAAAQwAAAABdAAAAAEMAAAAASQAAAABPAAAAAEYAAAAATAAAAABSAAAAAEkAAAAAXw Content-Language: en-in X-Originating-IP: [49.207.51.204] X-ClientProxiedBy: SG2PR0401CA0007.apcprd04.prod.outlook.com (2603:1096:3:1::17) To PN1PR0101MB1376.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:13::9) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: fb15522c-b489-4d2d-4631-08d577bdb2a4 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4604075)(4534165)(7022125)(4603075)(7168020)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603307)(7153060)(7193020); SRVR:PN1PR0101MB1376; X-Microsoft-Exchange-Diagnostics: 1; PN1PR0101MB1376; 3:0nOZd6p4cmXtcGkFiun9fAXTk9fKZozWZOGWK9k7luL8uQR9HlWkP2ENZH4s2uHf9DWQVCuux4gqQJWK+VVNuYRG/gvvqkd9LXhPmqWOdeow4vkJbrgXyT6kNJmG09BagdtYobd9qxZjDYocBYe6UpzsifkvOuGC4DReWRT2+Zl+i5Vqq4uMJr4ppa6rBTzs2K/Ys7Pk+DoHPt8Z7nibGV8BG82CmYATvrL1Rw5vz/bdWE8WOMxItkRHeCEDU/FY; 25:3P+lkWnagjVLLhC46MtKe8tcqgk0JUYgEawUqH2OymV6/IpnSp+3MVi39fDiwuxboa+vPKb2AcG/YQRwZs4lLVDh6CWofrggZro2AjrS6c63SGqb+S3IlufD3Q9GsQKypWGX3a339A1DkTuMAeBHk6Z7UN1gw3SWdrZoYPBOA8weu401Sj3ojGLwBFTJy+3SBfMtceX2D2GJPvae4soa7NR+1xyfTY6pst6Jp/i2o72hVe/RXVpWAUphdZixiHe/CoAT26YbUyHT6CH2wxgxJSirkoo7jHv/5jHKfyBwfOWuAYRFSXS6x+J/ZjscVAtcDudsaOrnYlg32BjQWN/FcQ==; 31:mnzf2kkcgEz4x9SMTDEpsJdyDh1MAUlwLeRVgoveW7vIiuOVhnmP8lDtNnU8FbhQPNWRPnPNdUkaF2V1Rz8b9Bt/sX75lxV5l8rUtvTTtqPe8yFvGUeBpWQ7Ct3sV+tM6JN4m8fuOpmn6M0w8iUuNoLskYpxR7Wc/Jo/4Zm7q64xFEadGdYrehGraXP7x69p6cOArrMU4FrusPqjz7+c5T/SupwbC1pLJf8daDA6t1w= X-MS-TrafficTypeDiagnostic: PN1PR0101MB1376: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(28532068793085)(116415991822766)(21748063052155)(266576461109395); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231101)(944501161)(10201501046)(6041288)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(2016111802025)(6043046)(6072148)(201708071742011); SRVR:PN1PR0101MB1376; BCL:0; PCL:0; RULEID:; SRVR:PN1PR0101MB1376; X-Microsoft-Exchange-Diagnostics: 1; PN1PR0101MB1376; 4:L0VFSFCox/kB/wOHDy0iA4rmDfTFcz6dolDHJf6C3joaaFYivRguURMEzGVYZh5a3hun/pLr0ccH+/AIrzwq0zyMnO4stOZv4Hn3nIgV75LNj7qwz+APk2pl72mrb56r7pL6qFTi7iV+lcgkkNDbHZGoG0oo7cr/wieUtNM9tXSf+o6+5hPas/nA6BWTpwHEPA+DluNg0tHoWsphHqb0SVZ6pnKWFdJENXzQrl2zr9/4TJlGKyuXoCtFZnC/l3IboZjObuMzHO5nDlO/LqccSSyEbZXdlhHHm7THt9f0I+ZxcCibJsiyWSuus/9sd3ASDEOUmx5EhYpVE2MSRimc+CS/FnL+nL2nbrm/qDl2NvAH6nBux43upVRTt7TtfqbGlG4al4RExP+dNK4etlj5pLQ7J3I554not45K8CzT6LI= X-Forefront-PRVS: 0588B2BD96 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(346002)(396003)(366004)(39380400002)(39840400004)(376002)(84964002)(51414003)(189003)(199004)(50834003)(106356001)(6916009)(2351001)(5009440100003)(72586001)(71636004)(61296003)(66066001)(68736007)(260700001)(46816001)(270700001)(55236004)(54896002)(6306002)(6486002)(16586007)(44736005)(53936002)(1420700001)(84116003)(2906002)(386003)(81156014)(25786009)(81166006)(7736002)(45080400002)(76176011)(7826002)(8676002)(97736004)(316002)(478600001)(6116002)(3846002)(790700001)(105586002)(84326002)(186003)(86362001)(52116002)(16526019)(26005)(8936002)(5660300001)(102836004)(6496006)(75216001)(50226002)(36756003); DIR:OUT; SFP:1102; SCL:1; SRVR:PN1PR0101MB1376; H:LenovoPC; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:0; LANG:en; Received-SPF: None (protection.outlook.com: tradeshowattendees.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; PN1PR0101MB1376; 23:hf52V3VVTao93c9J+s1DRf3mOvWisYyuNzYAVV5?= =?us-ascii?Q?kL70gFz5aMGHrt7IdjcbzpVjqG1WRwtY6r3uILfBku+rfXJJ+lP3Gjchv1oW?= =?us-ascii?Q?UkYDUrHTC57W59eySPZ4isTGxeN/+l8OVdqEy0YIFXPPls/ZzF8rr3zLDZy1?= =?us-ascii?Q?kdk3VjSLR16eU9n019XEpMvX20flwgeVqB/b6cVzRkk3qrAdBp5ZHNgOCH83?= =?us-ascii?Q?TumiaQGHiJVArJny56t1f/AIbx0nQpgRaaCxm1dX1co3BHZo3e7MI1iyvpPU?= =?us-ascii?Q?PEdvCPaEKDwV5PD3HHCifOrfj8HP/rjmXJXBeNic5e+0t2hUJazOIQbexmem?= =?us-ascii?Q?d6NlcrdKEt+4ZVXUpt8k6mDOGbg0+t66c1TxX9SWxnPlHexXN8qMPN1Rwaeo?= =?us-ascii?Q?HTRGoeS+VknTl1J2GTPX2vrWTL/j1dBkh4hIqEkhO6faOlMJjL/VvSq4rM5u?= =?us-ascii?Q?tR9vG5UbtpThUTdRYVpV2U/w3Yg2iKSU8DTHpii0SnxQpVHdEk4IAfEpymTN?= =?us-ascii?Q?9MFoyX4Wp42mIv2DlSov9ts3uxzAplEOh+dL9Ey5EfmUMJeQG6LApxQvKxP6?= =?us-ascii?Q?l31+UjTEiF0VphOl5TO8JZizLBLQQ38t5nqAHvWPjwoRhHzZO0DOzvK0hhaB?= =?us-ascii?Q?anDVvc59/wJznhGi2Wk1ietnIUrDKHgrYqfPXZsW29IA7Z/uPbTpvjFd5al8?= =?us-ascii?Q?kRrtyNgjukgT9tmyLO34aDvM1mdrYe3js2DE95egHwZklLAgMq1v4XLad4iM?= =?us-ascii?Q?PLMyIBFG6ne0qtxWZ9Fh6seWWFYY4M+YC54i5HvGvanCh3wOk8kpIPL+oS4Z?= =?us-ascii?Q?sv4vTnkam8jOxI0I/9gH/EOt7bYEPJNyeLi8Y7otqfLP79U9Fx4Ln/eio3Dm?= =?us-ascii?Q?IEOGIGxZFUvV2GbdN5LZSmVP0fuOQ0Uicg3mSAKkZDvnGiTdpQH5kOgbwuGA?= =?us-ascii?Q?P97rVd0WalV5Csk8Zs6X5+IBoGanKNo6NRY9J/LukujLHgqQjyiiu65NAhhE?= =?us-ascii?Q?RQxkbtv6lLpkupKiHQa7eWNWQU+9jMyGcEvG37vUYxBQzDwyYWqynqpwoRVA?= =?us-ascii?Q?8pcWDyuOSjXTrPBh+kradRTxat+MiQTOU/FPnjPaiT5UCrWQOMUqxnMqLVQV?= =?us-ascii?Q?DoP61tpg6/krD4XZjOf7WNKM7VaBGkRa55Dz1598Or0AF86/W28/eY43oQ0J?= =?us-ascii?Q?AszWBRz6emEy8zcLoxJouv1AObyuRO7ZTufNrMscuFSy0yhBUYmA9ofI6WXK?= =?us-ascii?Q?uBmyU2VlpiV9Xu7bbJDOyHx0DAyWJ0UbW6u3W/oj2KyXgytxJm3PSf1ETx/n?= =?us-ascii?Q?MJZnC1JxrhctZmozVGpbsnCABEjHv6RsbutRlQCtBp7/jgukeqtp8+q6mNth?= =?us-ascii?Q?Gbf8aGxOzqaIJDTzf4se03tSf4dNZtpgsdZ0t2O62uGLDg1Rnc9pbtictk2h?= =?us-ascii?Q?kcj9NIhC7wg=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; PN1PR0101MB1376; 6:NU1AbE7tMuvfW+KSemfapKbJ8BjywrDLYnu5wB2fLlhxLjEwrdz4IY7WaSZqvUqfIWNb/gTn1XJ2Y67w6Mb5YnTp8pBquYeSlcux7RpTTkACCchLEl60XY+/QS/YpLlzWl8Neop85rXMn9ORrbGJqm3x4K7i6ahZRmhcGAjYoQ07pQ596qa5KkZP9Wh6ofLU5sUbkrUvcer42twlnz5YXEe6iWQfU8d9TgegEnRXvZDCcO9zUqR/RPLsDH//8BakersixwX8Q4I/F3fNYOlGNZfCW/7gvRYBCu3sJHecdQyQzwpYJ54fOx0TsLmoCLs0rxEZAbrOB2Cnj4ELbeHW3UoV6DrYcdMOhw/8OSow1IY=; 5:BywCmPlNzknlEC+7k5NxBQRt+pby3+AF3bTpsigSZsCmPLbsNqA0y2FMqbeZRtiTbjMD029lUxv6OZnhrSHMdFiMCQqF0HP0uvJhbw2BJk76zH568uXLM8/2jfcnA8hgt4y/a1qfrV6/bVzmrjzU4WCqe5iDsAJccaOhIqZ+qEU=; 24:jNY3y6ghglA2kWOpQALMJ6XBlc6M8kLv0kLIGJlT4pd0pecHK48Wn/sagZV4dVWkjASR+GJi5CjZEbn3bqWd7UklGUL3zV72dlG7U3x1aMI=; 7:zSvUX/WtkxYd31RtOywvCIyshVsMUj/Sq0lGoz4bSIH85I+ap89UImeleSl9dwibe2vExgGLErhwDWON+0LbiUlgMGSdI9zeuqrZdDkoQ7c1khpQEA/oaWHtfiHlOEZsGhzoIMf+/Cy6FWodmICJhJG7A0t8yj0c4cnDEqSHQx7HUbOXQMCdKQiJ0PY/8/geGxXVTUxtGJaGmJLPWn8lKRo+O5340ECFaAzwYTzEePo4FXuDKEiSRsZzPq0A+Gj0 SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: tradeshowattendees.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2018 17:24:56.8990 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fb15522c-b489-4d2d-4631-08d577bdb2a4 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 32919276-7333-4de0-8858-fec8b55a3430 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PN1PR0101MB1376 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 17:25:03 -0000 Greetings, Would you be interested in Southern California Linux Expo - SCALE ? We can provide you with 3,600 attendee contacts with their complete details (First Name, Middle Name, Last Name, Company, Web site/URL, Contact number, Fax number, Email Id, Industry, Employee size, Revenue size, Country, state, Zip Code and LinkedIn URL.) Please keep me posted if you are interested and I shall get back to you with Pricing and more details. I Look forward to hearing from you. Warm regards, Brent Watson Demand Generation Executive If you don't wish to receive our newsletters, reply back with "unsubscribe " in subject line From owner-freebsd-fs@freebsd.org Mon Feb 19 18:13:10 2018 Return-Path: Delivered-To: freebsd-fs@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 AA8C3F1720A for ; Mon, 19 Feb 2018 18:13:10 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D0A983ABE for ; Mon, 19 Feb 2018 18:13:10 +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 8776C15BEF for ; Mon, 19 Feb 2018 18:13:09 +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 w1JID9e1030469 for ; Mon, 19 Feb 2018 18:13:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1JID9nw030463 for freebsd-fs@FreeBSD.org; Mon, 19 Feb 2018 18:13:09 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: freebsd-fs@FreeBSD.org Subject: [Bug 225960] zfs: g_access leak when unmounting UFS on a zvol Date: Mon, 19 Feb 2018 18:13:09 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 18:13:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225960 --- Comment #7 from Alan Somers --- Your patch works for me. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Mon Feb 19 18:14:49 2018 Return-Path: Delivered-To: freebsd-fs@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 5F557F17525 for ; Mon, 19 Feb 2018 18:14:49 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E19D183D2A for ; Mon, 19 Feb 2018 18:14:48 +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 32C3E15BF7 for ; Mon, 19 Feb 2018 18:14:48 +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 w1JIElcl061660 for ; Mon, 19 Feb 2018 18:14:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1JIElV6061657 for freebsd-fs@FreeBSD.org; Mon, 19 Feb 2018 18:14:47 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 225795] panic: found unreferenced mountpoint when accessing and unmounting snapshots in parallel Date: Mon, 19 Feb 2018 18:14:48 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 18:14:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225795 --- Comment #5 from commit-hook@freebsd.org --- A commit references this bug: Author: asomers Date: Mon Feb 19 18:14:12 UTC 2018 New revision: 329597 URL: https://svnweb.freebsd.org/changeset/base/329597 Log: No longer skip snapshot_019_pos, now that PR 225795 is fixed PR: 225795 Sponsored by: Spectra Logic Corp Changes: projects/zfsd/head/tests/sys/cddl/zfs/tests/snapshot/snapshot_test.sh --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Mon Feb 19 18:28:49 2018 Return-Path: Delivered-To: freebsd-fs@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 1D503F185C2 for ; Mon, 19 Feb 2018 18:28:49 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from mx1.scaleengine.net (mx1.scaleengine.net [209.51.186.6]) (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 C06D58457A; Mon, 19 Feb 2018 18:28:48 +0000 (UTC) (envelope-from allanjude@freebsd.org) Received: from [10.1.1.2] (Seawolf.HML3.ScaleEngine.net [209.51.186.28]) (Authenticated sender: allanjude.freebsd@scaleengine.com) by mx1.scaleengine.net (Postfix) with ESMTPSA id 6F15E14F62; Mon, 19 Feb 2018 18:28:42 +0000 (UTC) Subject: Re: UFS panic when attempting to mount wrong device To: Konstantin Belousov Cc: freebsd-fs , Kirk McKusick , markj@freebsd.org References: <8be41fc8-ea0a-da87-da89-68f531f1cb88@freebsd.org> <20180219105758.GX94212@kib.kiev.ua> From: Allan Jude Message-ID: Date: Mon, 19 Feb 2018 13:28:41 -0500 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <20180219105758.GX94212@kib.kiev.ua> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="My8zo2MOJZ7wdu4Et3CUvDw2dr9u572Jy" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2018 18:28:49 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --My8zo2MOJZ7wdu4Et3CUvDw2dr9u572Jy Content-Type: multipart/mixed; boundary="CDvnTA209LuMR3FIm0zWIhTD6JwlIecH9"; protected-headers="v1" From: Allan Jude To: Konstantin Belousov Cc: freebsd-fs , Kirk McKusick , markj@freebsd.org Message-ID: Subject: Re: UFS panic when attempting to mount wrong device References: <8be41fc8-ea0a-da87-da89-68f531f1cb88@freebsd.org> <20180219105758.GX94212@kib.kiev.ua> In-Reply-To: <20180219105758.GX94212@kib.kiev.ua> --CDvnTA209LuMR3FIm0zWIhTD6JwlIecH9 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2018-02-19 05:57, Konstantin Belousov wrote: > On Sun, Feb 18, 2018 at 08:14:48PM -0500, Allan Jude wrote: >> I accidentally forgot to specify -t cd9660 when mounting a CD image, a= nd >> UFS panicked the machine: >> >> Unread portion of the kernel message buffer: >> panic: vtopde on a uva/gpa 0x0 >> cpuid =3D 1 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >> 0xfffffe0034409550 >> vpanic() at vpanic+0x18d/frame 0xfffffe00344095b0 >> vpanic() at vpanic/frame 0xfffffe0034409630 >> pmap_kextract() at pmap_kextract+0x121/frame 0xfffffe0034409660 >> free() at free+0x5e/frame 0xfffffe00344096a0 >> ffs_mount() at ffs_mount+0xe2f/frame 0xfffffe0034409840 >> vfs_donmount() at vfs_donmount+0xf56/frame 0xfffffe0034409a80 >> sys_nmount() at sys_nmount+0x72/frame 0xfffffe0034409ac0 >> amd64_syscall() at amd64_syscall+0x79b/frame 0xfffffe0034409bf0 >> fast_syscall_common() at fast_syscall_common+0x101/frame 0x7fffffffd99= 0 >> >> >> >> (kgdb) bt >> #0 __curthread () at ./machine/pcpu.h:230 >> #1 doadump (textdump=3D1) at >> /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c:347 >> #2 0xffffffff80ac9242 in kern_reboot (howto=3D260) at >> /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c:416 >> #3 0xffffffff80ac980d in vpanic (fmt=3D, >> ap=3D0xfffffe00344095f0) at /zroot/zfs_zstd/head/sys/kern/kern_shutdow= n.c:812 >> #4 0xffffffff80ac9620 in kassert_panic (fmt=3D0xffffffff81157632 "vto= pde >> on a uva/gpa 0x%0lx") at /zroot/zfs_zstd/head/sys/kern/kern_shutdown.c= :698 >> #5 0xffffffff80f683a1 in vtopde (va=3D0) at >> /zroot/zfs_zstd/head/sys/amd64/amd64/pmap.c:835 >> #6 pmap_kextract (va=3D0) at /zroot/zfs_zstd/head/sys/amd64/amd64/pma= p.c:2237 >> #7 0xffffffff80aa3f2e in vtoslab (va=3D0) at >> /zroot/zfs_zstd/head/sys/vm/uma_int.h:455 >> #8 free (addr=3D0x8, mtp=3D0xffffffff8189bb20 ) at >> /zroot/zfs_zstd/head/sys/kern/kern_malloc.c:701 >> #9 0xffffffff80dc278f in ffs_mountfs (devvp=3D, >> mp=3D, td=3D) >> at /zroot/zfs_zstd/head/sys/ufs/ffs/ffs_vfsops.c:1047 >> #10 ffs_mount (mp=3D0xfffff80085dda000) at >> /zroot/zfs_zstd/head/sys/ufs/ffs/ffs_vfsops.c:531 >> #11 0xffffffff80b8ebc6 in vfs_domount_first (td=3D, >> fspath=3D0xfffff80003723800 "/mnt", vp=3D0xfffff80085baf938, vfsp=3D> out>, >> fsflags=3D, optlist=3D) at >> /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:827 >> #12 vfs_domount (td=3D, fstype=3D, >> fspath=3D, fsflags=3D, optlist=3D) >> at /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:1117 >> #13 vfs_donmount (td=3D0xfffff800139c6560, fsflags=3D, >> fsoptions=3D0xfffff800054d6e00) at >> /zroot/zfs_zstd/head/sys/kern/vfs_mount.c:684 >> #14 0xffffffff80b8dc42 in sys_nmount (td=3D0xfffff800139c6560, >> uap=3D0xfffff800139c6918) at /zroot/zfs_zstd/head/sys/kern/vfs_mount.c= :427 >> #15 0xffffffff80f7ed0b in syscallenter (td=3D0xfffff800139c6560) at >> /zroot/zfs_zstd/head/sys/amd64/amd64/../../kern/subr_syscall.c:134 >> #16 amd64_syscall (td=3D0xfffff800139c6560, traced=3D0) at >> /zroot/zfs_zstd/head/sys/amd64/amd64/trap.c:935 >> #17 0xffffffff80f5a66d in fast_syscall_common () at >> /zroot/zfs_zstd/head/sys/amd64/amd64/exception.S:480 >> #18 0x0000000800c78000 in ?? () >> >> >> That that maybe a double free? > More likely, a free of the uninitialized pointer. Try this. >=20 > diff --git a/sys/ufs/ffs/ffs_subr.c b/sys/ufs/ffs/ffs_subr.c > index 40db8bf01b1..4e167d98b65 100644 > --- a/sys/ufs/ffs/ffs_subr.c > +++ b/sys/ufs/ffs/ffs_subr.c > @@ -174,8 +174,12 @@ ffs_sbget(void *devfd, struct fs **fsp, off_t alts= uperblock, > =20 > *fsp =3D NULL; > if (altsuperblock !=3D -1) { > - if ((ret =3D readsuper(devfd, fsp, altsuperblock, readfunc)) !=3D 0)= > + if ((ret =3D readsuper(devfd, fsp, altsuperblock, readfunc)) > + !=3D 0) { > + if (*fsp !=3D NULL) > + (*fsp)->fs_csp =3D NULL; > return (ret); > + } > } else { > for (i =3D 0; sblock_try[i] !=3D -1; i++) { > if ((ret =3D readsuper(devfd, fsp, sblock_try[i], > @@ -183,10 +187,15 @@ ffs_sbget(void *devfd, struct fs **fsp, off_t alt= superblock, > break; > if (ret =3D=3D ENOENT) > continue; > + if (*fsp !=3D NULL) > + (*fsp)->fs_csp =3D NULL; > return (ret); > } > - if (sblock_try[i] =3D=3D -1) > + if (sblock_try[i] =3D=3D -1) { > + if (*fsp !=3D NULL) > + (*fsp)->fs_csp =3D NULL; > return (ENOENT); > + } > } > /* > * If not filling in summary information, NULL out fs_csp and return.= >=20 This first patch solved the panic, but returns the wrong error message: # mount /dev/cd0 /mnt mount: /dev/cd0: No such file or directory It does exist, and `mount -t cd9660 /dev/cd0 /mnt` works I think we should return EINVAL in this case instead of ENOENT? --=20 Allan Jude --CDvnTA209LuMR3FIm0zWIhTD6JwlIecH9-- --My8zo2MOJZ7wdu4Et3CUvDw2dr9u572Jy Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (MingW32) iQIcBAEBAgAGBQJaixdcAAoJEBmVNT4SmAt+ZsIP+wTKIEbt5Ox/T2qWQOTN3pOH 7xePZJCitLuq6JClFuJmvmTvLfaTxVAv6O3SkjeqJaArHjHF+A1I1WSSWNe3NNNj yCBBedXUwcqPYdzwqxCl6IIur0Ozs+XYizg7CGK0EswPINPYwe1euJNmcyt+buex P3yEalCEB2lPdtBohZLc6QD/4OHj2+8xRUTxk6penluGP8gXZc4mR9uxxenf/Hvr WtZ0eRmlCdiCxbpBfYp5ql8DNxmuqycq9kfkRa7jFwLiCtMIwf8Tzz0EhIGAKg/A i5dkU96WwKTuaIjDw5wZpUf50OEhXVqvqTRydSchM/IacujxXwF/s0W62kfegW+O ftEOnCeOJzx8iSbXhqAm9j22se3oI8LPckpvflToZoelrTy15/Geq9MD/s7oitum 7vRxMsHzBUnl//3ld5rbIvjw7+FfcfJYuEcKMWYTAJtmfHDyvg4jhxRMgkUVDrqt U2eYIzJhBdA37P2PEvrXvfwvCL/IDjFcN08AQQzGaUO9fTGvfUjaJ00wP6zVZzKk jfOZiY52C5ROw6jAYxgTGkYis//wTUcYSlrjA4RACIQs/gOuw+ApX3UJIzjTRPln 89SNKFco43BGVU6ql4lPsdnXKAY9JT7X0qwTdjQOoHU8ecJDLp15mDgxBT4mzgiH GJk2/9BFVXrmIkpEc6oM =+GwP -----END PGP SIGNATURE----- --My8zo2MOJZ7wdu4Et3CUvDw2dr9u572Jy-- From owner-freebsd-fs@freebsd.org Tue Feb 20 16:26:06 2018 Return-Path: Delivered-To: freebsd-fs@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 F23F8F11909 for ; Tue, 20 Feb 2018 16:26:05 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D6467ECE7 for ; Tue, 20 Feb 2018 16:26:05 +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 B7DAC2160B for ; Tue, 20 Feb 2018 16:26:04 +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 w1KGQ4d6048520 for ; Tue, 20 Feb 2018 16:26:04 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1KGQ41x048519 for freebsd-fs@FreeBSD.org; Tue, 20 Feb 2018 16:26:04 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: freebsd-fs@FreeBSD.org Subject: [Bug 115361] [zfs] mount(8) gets into a state where it won't set/unset ZFS properties (atime, exec, setuid) Date: Tue, 20 Feb 2018 16:26:04 +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: 7.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org 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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 16:26:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D115361 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asomers@FreeBSD.org --- Comment #7 from Alan Somers --- Most of this bug has apparently been fixed. "zfs mount" can now turn exec, atime, and rw back on. And there are no plans to implement the devices or xattr properties. So the only part of this bug report that still applies is that the setuid option can't be changed by a remount. I'll retitle the bug appropriately. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 20 16:29:46 2018 Return-Path: Delivered-To: freebsd-fs@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 4DCA5F11DDC for ; Tue, 20 Feb 2018 16:29:46 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDBA87F0B4 for ; Tue, 20 Feb 2018 16:29:45 +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 2651021610 for ; Tue, 20 Feb 2018 16:29:45 +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 w1KGTjPn054369 for ; Tue, 20 Feb 2018 16:29:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1KGTjCE054366 for freebsd-fs@FreeBSD.org; Tue, 20 Feb 2018 16:29:45 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: freebsd-fs@FreeBSD.org Subject: [Bug 115361] [zfs] mount(8) can't update the setuid property Date: Tue, 20 Feb 2018 16:29:45 +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: 7.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org 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: short_desc 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 16:29:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D115361 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[zfs] mount(8) gets into a |[zfs] mount(8) can't update |state where it won't |the setuid property |set/unset ZFS properties | |(atime, exec, setuid) | --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 20 16:30:29 2018 Return-Path: Delivered-To: freebsd-fs@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 6DA8EF11F3D for ; Tue, 20 Feb 2018 16:30:29 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 079957F14B for ; Tue, 20 Feb 2018 16:30:29 +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 5CAD421618 for ; Tue, 20 Feb 2018 16:30:28 +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 w1KGUSCo056179 for ; Tue, 20 Feb 2018 16:30:28 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1KGUSpZ056178 for freebsd-fs@FreeBSD.org; Tue, 20 Feb 2018 16:30:28 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: freebsd-fs@FreeBSD.org Subject: [Bug 115361] [zfs] "zfs get setuid" doesn't reflect setuid state as set by "zfs mount" Date: Tue, 20 Feb 2018 16:30:28 +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: 7.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org 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: short_desc 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 16:30:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D115361 Alan Somers changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[zfs] mount(8) can't update |[zfs] "zfs get setuid" |the setuid property |doesn't reflect setuid | |state as set by "zfs mount" --- Comment #8 from Alan Somers --- It seems that --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 20 16:34:20 2018 Return-Path: Delivered-To: freebsd-fs@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 A4E5DF1262D for ; Tue, 20 Feb 2018 16:34:20 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 446D17F5E5 for ; Tue, 20 Feb 2018 16:34:20 +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 894A82178D for ; Tue, 20 Feb 2018 16:34:19 +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 w1KGYJlQ075106 for ; Tue, 20 Feb 2018 16:34:19 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1KGYJWn075105 for freebsd-fs@FreeBSD.org; Tue, 20 Feb 2018 16:34:19 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: freebsd-fs@FreeBSD.org Subject: [Bug 115361] [zfs] "zfs get setuid" doesn't reflect setuid state as set by "zfs mount" Date: Tue, 20 Feb 2018 16:34: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: 7.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: asomers@FreeBSD.org 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 16:34:20 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D115361 --- Comment #9 from Alan Somers --- To restate the bug: "zfs mount -o update,setuid " works, but "zfs get setuid " doesn't reflect the new state of the mount option. Steps to reproduce: $ sudo zpool create foo da1 $ sudo zfs create foo/fs $ sudo cp -a /sbin/ping /foo/fs $ zfs get setuid foo/fs NAME PROPERTY VALUE SOURCE foo/fs setuid on default $ mount | grep foo.fs foo/fs on /foo/fs (zfs, local, nfsv4acls) $ /foo/fs/ping -c 1 8.8.8.8 PING 8.8.8.8 (8.8.8.8): 56 data bytes 64 bytes from 8.8.8.8: icmp_seq=3D0 ttl=3D55 time=3D3.419 ms --- 8.8.8.8 ping statistics --- 1 packets transmitted, 1 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 3.419/3.419/3.419/0.000 ms $ sudo zfs mount -o update,nosetuid foo/fs $ mount | grep foo.fs foo/fs on /foo/fs (zfs, local, nosuid, nfsv4acls) # XXX "zfs get" will return the wrong value $ zfs get setuid foo/fs NAME PROPERTY VALUE SOURCE foo/fs setuid on default $ /foo/fs/ping -c 1 8.8.8.8 ping: ssend socket: Operation not permitted In the above transcript, the output of "mount" matches what is expected, as does the behavior of ping (which requires setuid to run). Only the output = of "zfs get" is wrong. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 20 18:43:11 2018 Return-Path: Delivered-To: freebsd-fs@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 0646DF1FBDD for ; Tue, 20 Feb 2018 18:43:11 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 96BC98652F for ; Tue, 20 Feb 2018 18:43:10 +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 D5E1B229A2 for ; Tue, 20 Feb 2018 18:43:09 +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 w1KIh9KU028054 for ; Tue, 20 Feb 2018 18:43:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1KIh98O028053 for freebsd-fs@FreeBSD.org; Tue, 20 Feb 2018 18:43:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 115361] [zfs] "zfs get setuid" doesn't reflect setuid state as set by "zfs mount" Date: Tue, 20 Feb 2018 18:43:09 +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: 7.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@freebsd.org 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 18:43:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D115361 --- Comment #10 from commit-hook@freebsd.org --- A commit references this bug: Author: asomers Date: Tue Feb 20 18:42:09 UTC 2018 New revision: 329652 URL: https://svnweb.freebsd.org/changeset/base/329652 Log: Update ZFS tests now that PR 221985 is fixed tests/sys/cddl/zfs/tests/cli_root/zfs_get/zfs_get_003_pos.ksh tests/sys/cddl/zfs/tests/cli_root/zfs_mount/zfs_mount_007_pos.ksh Convert Illumos syntax =3D> FreeBSD syntax tests/sys/cddl/zfs/tests/cli_root/zfs_get/zfs_get_test.sh Clear expected failure for zfs_get_003_pos tests/sys/cddl/zfs/tests/cli_root/zfs_mount/zfs_mount_007_pos.ksh Remove the "devices" property. Unlike on Illumos, on FreeBSD it can't be changed temporarily (or at all). tests/sys/cddl/zfs/tests/cli_root/zfs_mount/zfs_mount_test.sh Remove the expected failure for zfs_mount_007_pos due to 221985, but add a new expected failure due to PR 115361. PR: 221985 PR: 115361 Sponsored by: Spectra Logic Corp Changes: =20 projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_get/zfs_get_003_po= s.ksh projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_get/zfs_get_test= .sh =20 projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/zfs_mount_00= 7_pos.ksh =20 projects/zfsd/head/tests/sys/cddl/zfs/tests/cli_root/zfs_mount/zfs_mount_te= st.sh --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 20 20:24:57 2018 Return-Path: Delivered-To: freebsd-fs@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 706C8F280B5 for ; Tue, 20 Feb 2018 20:24:57 +0000 (UTC) (envelope-from eborisch@gmail.com) Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) (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 DAB286BDC2 for ; Tue, 20 Feb 2018 20:24:56 +0000 (UTC) (envelope-from eborisch@gmail.com) Received: by mail-wr0-x22f.google.com with SMTP id f14so13565998wre.8 for ; Tue, 20 Feb 2018 12:24:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hxc9D/f4gTgyJHIB+DbmYcN9fL2AR4By4de3Zmbgjr8=; b=nelTdaob4FYtdjrbBLTAi1Ee1NAoVehbnVSqP68CQXc+6Ow8FpD0Pb23IaX3KEWmKs 1c2NlW2Dxwyqiz9sWAeOSRBXQf1MN7JxKZzkMKT6m1oBOJF0vtqcXbxUE7sNPQvmCvij czAC6COz5ZMWhIBxGWSFx3oXNdmBH1Xl+beR5ERmXBT4wUr1iVyJTIPu1kIH10xSnVIa bW+EGk+8RZZXIGKDM4VOSLhBg+NcNkcDrqKZTPip1D3EtnXijgLzA7sRU6z928/Ibx1O FQ46oZ7QMMnSEkD4IHxWjEUQ55Bp3c9qP/59k6/gwHSKd9275Zg/XTFDsySjAcXnX6vl S3kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hxc9D/f4gTgyJHIB+DbmYcN9fL2AR4By4de3Zmbgjr8=; b=psyV0iWqjqlg3ZTabbbXucnYtrYcAVGUloSpP0qj18XooWtEexGtSsO0Yo1gcxyp+p fY297rFvDd7nOp7mD3oo04iqzjl2Zm8YAel00tAO7xyAobE7tn/4g0CGo29nC++QQ7EU kJX8J1lcVHibRTcwMFBHDNa73oqxflwqCMAkjEP69qoVq79StmVdqfJrucoRqe8XRkfs CEPt3v41EmYtItTs3+2CK6bDY1DLG5ZF1vyRMSMuAUBbFPZshF1rElfJBSMBQBB3rl7+ wcgjvCRLEI5PA9F5Y6D5R70RE8sgX6TggdST8sDqBEZH4o9JYFPAdYQiOMzkFVEDl3uw CxzQ== X-Gm-Message-State: APf1xPCrAcWUzw3v8ZJsXKtwLcFTVNfRQdXm1FIpKvzPzezfK9o0vFXm KkUTbjNbMGAwlrTXnd5d7TVkWyT1yO50l2ngoP78JI2D X-Google-Smtp-Source: AH8x226GDY8ePre2YUXngw/mA8EnxzMka3Q/zLSKu+Sg4eUhxOtlnzNZWtBMOOGKK0iDnWGiRtLkhASf1vqwWU0P/Ng= X-Received: by 10.223.166.135 with SMTP id t7mr775196wrc.260.1519158295254; Tue, 20 Feb 2018 12:24:55 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.124.20 with HTTP; Tue, 20 Feb 2018 12:24:54 -0800 (PST) In-Reply-To: References: From: "Eric A. Borisch" Date: Tue, 20 Feb 2018 14:24:54 -0600 Message-ID: Subject: Re: raw filesystem counters To: "E.S. Rosenberg" Cc: freebsd-fs@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 20:24:57 -0000 On Tue, Feb 13, 2018 at 1:56 PM, E.S. Rosenberg wrote: > Wow Eric that is exactly what I was looking for! > Thanks! > Nothing similar exists for ZFS correct? > Thanks again, > Eli Here's a quick patch to zpool that adds a "raw" mode when ZPOOL_RAW_STATS is set (to anything) in the environment. Outputs are not averaged by time, so the first output has absolute counters from boot, and subsequent (if provided an interval, eg zpool iostat 5) *are not* averaged over the period. You could certainly average for interval but not initial; I just chose to remove all averaging. https://gist.github.com/eborisch/c610c55cd974b9d4070c2811cc04cd8f Could also be implemented as a -p (parsable) flag to zpool iostat, but this was less intrusive to code up. On my system (with the above patch): $ zpool iostat capacity operations bandwidth pool alloc free read write read write ---------- ----- ----- ----- ----- ----- ----- system 67.2G 13.8G 9 51 159K 879K tome 2.94T 697G 19 34 949K 645K ---------- ----- ----- ----- ----- ----- ----- $ ZPOOL_RAW_STATS=1 zpool iostat pool/dev,alloc,free,rops,wops,rbytes,wbytes system,72199012352,14774075392,42138123,228011166,717996265472,3978917265408 tome,3237433278464,748296372224,87257557,150639839,4293053411328,2918490030080 $ ZPOOL_RAW_STATS=1 zpool iostat -v pool/dev,alloc,free,rops,wops,rbytes,wbytes system,72200007680,14773080064,42138142,228019481,717997350912,3979089575936 ::gpt/system,72200007680,14773080064,42138142,228019481,717997350912,3979089575936 tome,3237679747072,748049903616,87257714,150656638,4293054717952,2918798745600 ::mirror,3237679747072,748049903616,87257682,146824479,4293052755968,2461179686912 ::::diskid/DISK-NNNNNNNp1,-,-,49889874,46124191,3718731919360,2468656459776 ::::diskid/DISK-NNNNNNNp1,-,-,50357481,45933366,3683843850240,2468656459776 ::gpt/log,1875968,2128830464,32,3832159,1961984,457619058688 With an uptime of ~51 days. Enjoy! - Eric From owner-freebsd-fs@freebsd.org Tue Feb 20 20:31:28 2018 Return-Path: Delivered-To: freebsd-fs@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 6BF52F28DCE for ; Tue, 20 Feb 2018 20:31:28 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F15CF6D8D3 for ; Tue, 20 Feb 2018 20:31:27 +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 489D8238E4 for ; Tue, 20 Feb 2018 20:31:27 +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 w1KKVRXM049672 for ; Tue, 20 Feb 2018 20:31:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1KKVREw049671 for freebsd-fs@FreeBSD.org; Tue, 20 Feb 2018 20:31:27 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: freebsd-fs@FreeBSD.org Subject: [Bug 217560] FAT32 - Time stamp of file is one hour off Date: Tue, 20 Feb 2018 20:31:27 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dab@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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 20:31:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217560 David Bright changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dab@freebsd.org --- Comment #2 from David Bright --- If I'm not mistaken, the FAT file system stores timestamps in local time. W= hen that FAT file system is mounted in a Unix-like system (e.g., FreeBSD), the timestamp is interpreted as if it is UTC; that system cannot know what the timezone was on the system that wrote the FAT file system. So, since you are +1:00 from UTC, you see the timestamp one hour in the future. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 20 20:33:42 2018 Return-Path: Delivered-To: freebsd-fs@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 4C8BEF001D4 for ; Tue, 20 Feb 2018 20:33:42 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D476B6DC23 for ; Tue, 20 Feb 2018 20:33:41 +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 34A382391F for ; Tue, 20 Feb 2018 20:33:41 +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 w1KKXfmR057502 for ; Tue, 20 Feb 2018 20:33:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1KKXfts057501 for freebsd-fs@FreeBSD.org; Tue, 20 Feb 2018 20:33:41 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: freebsd-fs@FreeBSD.org Subject: [Bug 217560] FAT32 - Time stamp of file is one hour off Date: Tue, 20 Feb 2018 20:33:41 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dab@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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 20:33:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217560 --- Comment #3 from David Bright --- (In reply to David Bright from comment #2) The discussion above presumes that your PlayStation 4 actually records the = time as an MS-DOS/Windows system does. I don't know if that is actually the case. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Tue Feb 20 20:53:59 2018 Return-Path: Delivered-To: freebsd-fs@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 574D3F01E9F for ; Tue, 20 Feb 2018 20:53:59 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E85CA6F10E for ; Tue, 20 Feb 2018 20:53:58 +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 1E62123C04 for ; Tue, 20 Feb 2018 20:53:58 +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 w1KKrv70010542 for ; Tue, 20 Feb 2018 20:53:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1KKrvp1010541 for freebsd-fs@FreeBSD.org; Tue, 20 Feb 2018 20:53:57 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: freebsd-fs@FreeBSD.org Subject: [Bug 219049] ftruncate() slow on UFS+journaled softupdates Date: Tue, 20 Feb 2018 20:53:57 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: info@murrawhip.net 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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2018 20:53:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219049 info@murrawhip.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |info@murrawhip.net --- Comment #6 from info@murrawhip.net --- I'm also noticing this since upgrading from 10.3-RELEASE to 11.1-RELEASE. A= ll of a sudden pkg upgrades were unbearably slow when extracting. This is on E= SXi 5.5 host with a pretty old non-ssd raid 6 datastore. The older FreeBSD vms = on this host don't show the issue when upgrading - only the 2 FreeBSD 11.1 vms. top -m io showed pkg using 100% and its state was biowr.=20 FreeBSD: 11.1-RELEASE-p6 pkg: 1.10.3 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 21 11:52:09 2018 Return-Path: Delivered-To: freebsd-fs@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 EE89CF22DC1 for ; Wed, 21 Feb 2018 11:52:08 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 867DA75164 for ; Wed, 21 Feb 2018 11:52:08 +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 C51A93E62 for ; Wed, 21 Feb 2018 11:52:07 +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 w1LBq7bZ053651 for ; Wed, 21 Feb 2018 11:52:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1LBq7JZ053650 for freebsd-fs@FreeBSD.org; Wed, 21 Feb 2018 11:52:07 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: freebsd-fs@FreeBSD.org Subject: [Bug 225960] zfs: g_access leak when unmounting UFS on a zvol Date: Wed, 21 Feb 2018 11:52:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 11:52:09 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225960 --- Comment #8 from Andriy Gapon --- I created a review request for this https://reviews.freebsd.org/D14458 Maybe there is a smarter way to tackle the problem, but I couldn't come up = with anything else... --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 21 12:21:50 2018 Return-Path: Delivered-To: freebsd-fs@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 7545AF25A35 for ; Wed, 21 Feb 2018 12:21:50 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 14EA1765F8 for ; Wed, 21 Feb 2018 12:21:50 +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 54D3142CE for ; Wed, 21 Feb 2018 12:21:49 +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 w1LCLnUx019365 for ; Wed, 21 Feb 2018 12:21:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1LCLndR019363 for freebsd-fs@FreeBSD.org; Wed, 21 Feb 2018 12:21:49 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: freebsd-fs@FreeBSD.org Subject: [Bug 225960] zfs: g_access leak when unmounting UFS on a zvol Date: Wed, 21 Feb 2018 12:21:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 12:21:50 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225960 --- Comment #9 from Andriy Gapon --- (In reply to Andriy Gapon from comment #8) FWIW, I have never been able to reproduce the original problem. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 21 14:12:33 2018 Return-Path: Delivered-To: freebsd-fs@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 B0D07F0500E for ; Wed, 21 Feb 2018 14:12:33 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C5567CCBD for ; Wed, 21 Feb 2018 14:12:33 +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 9E2285253 for ; Wed, 21 Feb 2018 14:12:32 +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 w1LECWRW060912 for ; Wed, 21 Feb 2018 14:12:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1LECWLe060910 for freebsd-fs@FreeBSD.org; Wed, 21 Feb 2018 14:12:32 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: freebsd-fs@FreeBSD.org Subject: [Bug 216886] ZFS with aclinherit and aclmode set to passthrough adds an extra default ACLs Date: Wed, 21 Feb 2018 14:12:32 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bugzilla.freebsd@omnilan.de 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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 14:12:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216886 Harald Schmalzbauer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bugzilla.freebsd@omnilan.de --- Comment #1 from Harald Schmalzbauer --- I was about to report the same, already asked in freebsd-fs@ with the topic "New in 11? ZFS ACL -> aclinherit stacks synthesized mode ACEs". Can't add anything useful, only confirm that it was introduced with 11.0, unfortunately without knowing the corresponding head revision. Hope someone can find some time to bisect/analyze/fix this glitch before 11= .2. Thanks, -harry --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 21 14:18:04 2018 Return-Path: Delivered-To: freebsd-fs@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 B233EF05740 for ; Wed, 21 Feb 2018 14:18:04 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 532577D266 for ; Wed, 21 Feb 2018 14:18:04 +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 98F78525E for ; Wed, 21 Feb 2018 14:18:03 +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 w1LEI3kp070378 for ; Wed, 21 Feb 2018 14:18:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1LEI3sT070377 for freebsd-fs@FreeBSD.org; Wed, 21 Feb 2018 14:18:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-fs@FreeBSD.org Subject: [Bug 225162] Source file zfs_acl.c, function zfs_aclset_common contains a use after end of the lifetime of a local variable Date: Wed, 21 Feb 2018 14:18:03 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 14:18:04 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225162 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: avg Date: Wed Feb 21 14:17:07 UTC 2018 New revision: 329711 URL: https://svnweb.freebsd.org/changeset/base/329711 Log: MFV r329710: 8966 Source file zfs_acl.c, function zfs_aclset_common conta= ins a use after end of the lifetime of a local variable illumos/illumos-gate@82693e09cc02331fa1b3b73b54b1060e73507a8d =20 https://github.com/illumos/illumos-gate/commit/82693e09cc02331fa1b3b73b54b1= 060e73507a8d https://www.illumos.org/issues/8966 Reviewed by: Matt Ahrens Reviewed by: Andriy Gapon Approved by: Richard Lowe Author: WHR PR: 225162 Submitted by: WHR Reported by: WHR MFC after: 1 week Changes: _U head/sys/cddl/contrib/opensolaris/ head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_acl.c --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 21 14:20:33 2018 Return-Path: Delivered-To: freebsd-fs@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 6E12FF05ADB for ; Wed, 21 Feb 2018 14:20:33 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CF177D4C5 for ; Wed, 21 Feb 2018 14:20:33 +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 36FD65273 for ; Wed, 21 Feb 2018 14:20:32 +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 w1LEKWl1075069 for ; Wed, 21 Feb 2018 14:20:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1LEKWkB075066 for freebsd-fs@FreeBSD.org; Wed, 21 Feb 2018 14:20:32 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: freebsd-fs@FreeBSD.org Subject: [Bug 225162] Source file zfs_acl.c, function zfs_aclset_common contains a use after end of the lifetime of a local variable Date: Wed, 21 Feb 2018 14:20:32 +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: CURRENT X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: avg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 14:20:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225162 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress Assignee|freebsd-fs@FreeBSD.org |avg@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 21 14:21:18 2018 Return-Path: Delivered-To: freebsd-fs@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 1BA00F05D7C for ; Wed, 21 Feb 2018 14:21:18 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B0E967D5C3 for ; Wed, 21 Feb 2018 14:21:17 +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 E3DE55298 for ; Wed, 21 Feb 2018 14:21:16 +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 w1LELGcM079327 for ; Wed, 21 Feb 2018 14:21:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1LELG89079325 for freebsd-fs@FreeBSD.org; Wed, 21 Feb 2018 14:21:16 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: freebsd-fs@FreeBSD.org Subject: [Bug 225795] panic: found unreferenced mountpoint when accessing and unmounting snapshots in parallel Date: Wed, 21 Feb 2018 14:21:17 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: avg@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status 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-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 14:21:18 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225795 Andriy Gapon changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress Assignee|freebsd-fs@FreeBSD.org |avg@FreeBSD.org --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 21 15:38:26 2018 Return-Path: Delivered-To: freebsd-fs@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 19EDAF0E142 for ; Wed, 21 Feb 2018 15:38:26 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA0BD81EDE for ; Wed, 21 Feb 2018 15:38:25 +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 BACAF5DAB for ; Wed, 21 Feb 2018 15:38:24 +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 w1LFcODA075134 for ; Wed, 21 Feb 2018 15:38:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1LFcOcB075133 for freebsd-fs@FreeBSD.org; Wed, 21 Feb 2018 15:38:24 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: freebsd-fs@FreeBSD.org Subject: [Bug 216886] ZFS with aclinherit and aclmode set to passthrough adds an extra default ACLs Date: Wed, 21 Feb 2018 15:38:24 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: avg@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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 15:38:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216886 --- Comment #2 from Andriy Gapon --- Do these look relevant / related to the problem? https://www.illumos.org/issues/8984 https://github.com/openzfs/openzfs/pull/557 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Wed Feb 21 16:04:42 2018 Return-Path: Delivered-To: freebsd-fs@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 D564CF10ADA for ; Wed, 21 Feb 2018 16:04:42 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6D2A9837CE for ; Wed, 21 Feb 2018 16:04:42 +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 A02C061E6 for ; Wed, 21 Feb 2018 16:04:41 +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 w1LG4f4j063589 for ; Wed, 21 Feb 2018 16:04:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1LG4fE9063588 for freebsd-fs@FreeBSD.org; Wed, 21 Feb 2018 16:04:41 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: freebsd-fs@FreeBSD.org Subject: [Bug 225960] zfs: g_access leak when unmounting UFS on a zvol Date: Wed, 21 Feb 2018 16:04:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Feb 2018 16:04:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225960 --- Comment #10 from Alan Somers --- avg, I made a mistake with my reproduction instructions. You should run zfs_copies_006_pos, not 001_pos. And zfsd must be running at the same time. sudo service zfsd onestart cd /usr/tests/sys/cddl/zfs/tests/cli_root/zfs_copies sudo kyua debug zfs_copies_test:zfs_copies_006_pos --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Thu Feb 22 10:28:33 2018 Return-Path: Delivered-To: freebsd-fs@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 9DBFAF1D267 for ; Thu, 22 Feb 2018 10:28:33 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 24A6979B22; Thu, 22 Feb 2018 10:28:32 +0000 (UTC) (envelope-from freebsd@omnilan.de) Received: from mh0.gentlemail.de (ezra.dcm1.omnilan.net [IPv6:2a00:e10:2800::a135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id w1MASULf006026; Thu, 22 Feb 2018 11:28:30 +0100 (CET) (envelope-from freebsd@omnilan.de) Received: from titan.inop.mo1.omnilan.net (s1.omnilan.de [217.91.127.234]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id 0AB213F3; Thu, 22 Feb 2018 11:28:29 +0100 (CET) Message-ID: <5A8E9B4D.3040205@omnilan.de> Date: Thu, 22 Feb 2018 11:28:29 +0100 From: Harry Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: bugzilla-noreply@freebsd.org CC: freebsd-fs@freebsd.org Subject: Re: [Bug 216886] ZFS with aclinherit and aclmode set to passthrough adds an extra default ACLs References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]); Thu, 22 Feb 2018 11:28:30 +0100 (CET) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: ; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 10:28:33 -0000 Bezüglich bugzilla-noreply@freebsd.org's Nachricht vom 21.02.2018 16:38 (localtime): > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216886 > > --- Comment #2 from Andriy Gapon --- > > Do these look relevant / related to the problem? > > https://www.illumos.org/issues/8984 > https://github.com/openzfs/openzfs/pull/557 Absolutely, thanks a lot for your investigation! Sounds all reasonable, the symptom, the timeframe, the cause/intention and the fix. Will try ASAP and report in case nobody else will have done erlier than me (which I consider done if I notice a corresponding commit). Unfortunately, I think there's more discussion to a related topic needed: The permission mapping. In real world, I had massive problems with missing delete bits for 0-mask mapping. But that's another story and I forgot many things why/how to better transform permissions into ACEs. If someone notices/starts such a discussion, please opt me in. Thanks, -harry From owner-freebsd-fs@freebsd.org Thu Feb 22 10:29:36 2018 Return-Path: Delivered-To: freebsd-fs@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 916B7F1D39E for ; Thu, 22 Feb 2018 10:29:36 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2A0C979BFC for ; Thu, 22 Feb 2018 10:29:36 +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 7565917B70 for ; Thu, 22 Feb 2018 10:29:35 +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 w1MATZYv066169 for ; Thu, 22 Feb 2018 10:29:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1MATZuH066167 for freebsd-fs@FreeBSD.org; Thu, 22 Feb 2018 10:29:35 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: freebsd-fs@FreeBSD.org Subject: [Bug 225960] zfs: g_access leak when unmounting UFS on a zvol Date: Thu, 22 Feb 2018 10:29:35 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: avg@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 10:29:36 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225960 --- Comment #11 from Andriy Gapon --- (In reply to Alan Somers from comment #10) I figured out the correct test name from your commit to disable it, so I was already using it. I wasn't running zfsd, I am doing doing that now. But s= till can't reproduce. Maybe because of my GEOM configuration where I use multip= le slices of a single disk to emulate multiple disks. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Thu Feb 22 14:13:03 2018 Return-Path: Delivered-To: freebsd-fs@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 A383FF06EF9 for ; Thu, 22 Feb 2018 14:13:03 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 40DE58463D for ; Thu, 22 Feb 2018 14:13: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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 847D619B81 for ; Thu, 22 Feb 2018 14:13:02 +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 w1MED25N096777 for ; Thu, 22 Feb 2018 14:13:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1MED2q2096776 for freebsd-fs@FreeBSD.org; Thu, 22 Feb 2018 14:13:02 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: freebsd-fs@FreeBSD.org Subject: [Bug 225960] zfs: g_access leak when unmounting UFS on a zvol Date: Thu, 22 Feb 2018 14:13:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: daveb@spectralogic.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 14:13:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225960 --- Comment #12 from Dave Baukus --- (In reply to Andriy Gapon from comment #11) Do you have Alan's latest zfsd changes ? this is what exasperated the condition. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Thu Feb 22 15:42:26 2018 Return-Path: Delivered-To: freebsd-fs@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 D1C83F10274 for ; Thu, 22 Feb 2018 15:42:26 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 70C5169CF0 for ; Thu, 22 Feb 2018 15:42:26 +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 A2AC21A813 for ; Thu, 22 Feb 2018 15:42:25 +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 w1MFgPPa007510 for ; Thu, 22 Feb 2018 15:42:25 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1MFgPut007509 for freebsd-fs@FreeBSD.org; Thu, 22 Feb 2018 15:42:25 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: freebsd-fs@FreeBSD.org Subject: [Bug 225960] zfs: g_access leak when unmounting UFS on a zvol Date: Thu, 22 Feb 2018 15:42:25 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: asomers@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-geom@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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Feb 2018 15:42:27 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225960 --- Comment #13 from Alan Somers --- (In reply to Dave Baukus from comment #12) Specifically, the problem should be easiest to reproduce with zfsd built fr= om at least revision 329284 but less than 329344. --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-fs@freebsd.org Fri Feb 23 03:36:42 2018 Return-Path: Delivered-To: freebsd-fs@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 D03F6F22EB4 for ; Fri, 23 Feb 2018 03:36:42 +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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6817969613 for ; Fri, 23 Feb 2018 03:36:42 +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 5BECA20B59 for ; Fri, 23 Feb 2018 03:36:41 +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 w1N3afCR055968 for ; Fri, 23 Feb 2018 03:36:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w1N3afNT055967 for freebsd-fs@FreeBSD.org; Fri, 23 Feb 2018 03:36:41 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: freebsd-fs@FreeBSD.org Subject: [Bug 219049] ftruncate() slow on UFS+journaled softupdates Date: Fri, 23 Feb 2018 03:36:37 +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-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mav@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: 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.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 03:36:43 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D219049 Alexander Motin changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mav@FreeBSD.org --- Comment #7 from Alexander Motin --- Could somebody experiencing the problem to look on the disk which was originally reported as 100% busy during the test with `gstat -I 1s -pod`? = It would show distribution of I/O operations between reads, writes, deletes and cache flushes, providing counts, sizes and average latency for which. It c= ould be a starting point is the problem is indeed disk-bound. As I understand, journaled UFS may started to use cache flushes, not used before, and I can theoretically guess some scenarios when some disks are not handling it well. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-fs@freebsd.org Fri Feb 23 15:20:53 2018 Return-Path: Delivered-To: freebsd-fs@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 A15EEF2A34B; Fri, 23 Feb 2018 15:20:53 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::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 1957F85DA4; Fri, 23 Feb 2018 15:20:53 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x229.google.com with SMTP id t74so5336777wme.3; Fri, 23 Feb 2018 07:20:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:subject:message-id:date:to :mime-version; bh=38E0i+Thnu+pxeDJeO5fnR8pzHlJYtmADgWAsX1vfKU=; b=M/KJiVBTtVVeNr7fg59Of43xVfBeJkjHWBLEspkHseMDK/qJHcz8RpAobx2czxZTmV 0o3LCi53PQgt/AnkyX7BKdR0iWg3ZLRgRg9yXaOW+7xyDHxMX3+QdWRcZd/SjTwKlskS mh6nnYWUnVzUoP72L6wLDSJTXskZKFeYyIGpS0owVOZoLaPaX+u7OjI91CcqEqG9wVLZ j0bvXcYQ+uN2KTGd9iuhszbaYT0a61qpULffEbhLeci4TOz5ezhOlf2ICAXp7kK97fUn po+mRQxVr3nZXxnojm7ReQXWFw9Hxmo6i6DYru8wM5QnzZxrAQdvNBLXc5kWJf0XfPZE JtPg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=38E0i+Thnu+pxeDJeO5fnR8pzHlJYtmADgWAsX1vfKU=; b=O3x+uOmIbqUXe+vAksAxo1DEaVjY8ehGC9Y/dceccK3+SWmmw9ig6Z2iFTyxvl3U7u 8eyo8YPY8kvNoWTvPu31t0Fa4Zd8vGQQx0v3k0fQh+rioTsUB0Wbcv4N0nXbjCKGRb7S QGZ5K63wEoKECOkQXIMGhQQmAwWRiMFxOVjH0NuC+m7F4Q8PHqpUuQZaf7DxgH1K/DsG x/fRFNofq9vLB+Mr0H6bzeEFrIOjnVvSVMbMbj1Qxt65eeq3IgUePhowlZQ1rq3woLRl u0Tq2ezunaH5zq5bstcG4P/DV325cBifmNGhbKSXvuyLbIQnhmMi7U+8RjmHfLheI6Fs ZmrA== X-Gm-Message-State: APf1xPBntemRkWnqbn4Dt3R4A35ex88DS+OvrriUVYRfAoZnWkwCrv73 qC04lZ8d28X/nbe7cf9B5MzuC+L2 X-Google-Smtp-Source: AH8x225N71NhwjSGt0hBrA84cAgSsvRauS+dwM0WNRggV717A76/4hX3jza//2ro6H3jiHBUa9JI+Q== X-Received: by 10.28.165.12 with SMTP id o12mr1962841wme.120.1519399251741; Fri, 23 Feb 2018 07:20:51 -0800 (PST) Received: from bens-mac.home (LFbn-NIC-1-211-113.w2-15.abo.wanadoo.fr. [2.15.58.113]) by smtp.gmail.com with ESMTPSA id i12sm1736826wmc.35.2018.02.23.07.20.49 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Feb 2018 07:20:50 -0800 (PST) From: Ben RUBSON Content-Type: text/plain; charset=us-ascii; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit Subject: smartmontools and kern.securelevel Message-Id: <0985ABD3-D141-4EE2-B1B3-3016B16E2B68@gmail.com> Date: Fri, 23 Feb 2018 16:20:48 +0100 To: Freebsd fs , FreeBSD-scsi Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 15:20:53 -0000 Hi, I run smartmontools on my storage servers, to launch periodic disk tests and alert on disk errors. Unfortunately, if we set sysctl kern.securelevel >=2, smartmontools does not work anymore. Certainly because it needs to write directly to raw devices. (details of the levels, -1 to 3, in security(7)) Any workaround to this ? Perhaps we could think about allowing SMART commands to be written to disks when sysctl kern.securelevel >=2 ? (I assume smartmontools writes SMART commands) Thank you very much ! Ben From owner-freebsd-fs@freebsd.org Fri Feb 23 15:25:13 2018 Return-Path: Delivered-To: freebsd-fs@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 23B2EF2A994 for ; Fri, 23 Feb 2018 15:25:13 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x22d.google.com (mail-it0-x22d.google.com [IPv6:2607:f8b0:4001:c0b::22d]) (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 A918B86310 for ; Fri, 23 Feb 2018 15:25:12 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x22d.google.com with SMTP id n7so3377492ita.5 for ; Fri, 23 Feb 2018 07:25:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=57x6gk5u3UJ1rAgtdN2Vp5Im4GVC/PyG0iIEqWSIhME=; b=g92o57cw67c9Nq7R6nQX7mqJekafXFPobpGQTgQIwKtvEEqwrrLE7CVITwdEKn2/Db MF/GsAVL6ammm3dqzlrHUxXV2nIQYVaoTurXugLzU4sGBwP+qZOE/altEapLn2tsOlJF rKScnP2GpE8A2AtspnnSRMx+igTrhSHPyKksqdlw+/WcMguCGCb4xoNAeTqsATC5ZBLN +VVWEMqJMsNF/SlY8ctcaPnWh7NCzLaYLsQvZBjX109yFB6SEGbeXnW8okk5CkUh0NL1 pFttSI5kuow+UEF9cjP08YKK5sx9j9nm4TQX6QiEBH/ZA40b8k2xD94YesCLn5j5ooQH RRrA== 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=57x6gk5u3UJ1rAgtdN2Vp5Im4GVC/PyG0iIEqWSIhME=; b=IKVNtStzJ+UzRvxhgyIHGayFqqFPRarFV2CEhtNCCT62HKgd8GkGKucNBfXwnUHqKy ZAXzEatUDWY5ImnlZ1g60ODihD4Fgv8FE1Oj6CWG0TNK9xWNy3sUjIB+bfClQQgWa1+Z Lz1xIrdhvsCXmCgj5GSOxy7rnoDMLllhXk9f/behqwip33C7Mg6SfAF+S3idPdWxfIqB Lw0nUEYOv5cWOeqMRCjS6L067lU0QEquLHO110+x6PXLY3v7t68B6dM40gOoj8Ndde8L LbnG1hCrzxg4hib8yv4imrjzphBsxOZhhYYnUKajdf+t79cv1xFyLAyeagj71ifzf9O6 7Sgw== X-Gm-Message-State: APf1xPBFH5x/I9EbGX0BH3KLou+I+EcG5lfkfNn0LAbceaT35qGPDkjv CKmNb2+MIIbGjqRcwA2OJuAaBA4tj0nET0d9/Uef3Q== X-Google-Smtp-Source: AH8x224LogmwLaimTZETHkR7C7qHo3MzbShtZHG5mh4djC6VyhhXEJoc328mXVnASQzhoK/SuBlR2oskfpAQl2tk+gc= X-Received: by 10.36.222.2 with SMTP id d2mr2655954itg.1.1519399511955; Fri, 23 Feb 2018 07:25:11 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.201.67 with HTTP; Fri, 23 Feb 2018 07:25:11 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: <0985ABD3-D141-4EE2-B1B3-3016B16E2B68@gmail.com> References: <0985ABD3-D141-4EE2-B1B3-3016B16E2B68@gmail.com> From: Warner Losh Date: Fri, 23 Feb 2018 08:25:11 -0700 X-Google-Sender-Auth: y7xCWKcfNa74SB8xfO3E5Xk-11c Message-ID: Subject: Re: smartmontools and kern.securelevel To: Ben RUBSON Cc: Freebsd fs , FreeBSD-scsi Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 15:25:13 -0000 On Fri, Feb 23, 2018 at 8:20 AM, Ben RUBSON wrote: > Hi, > > I run smartmontools on my storage servers, to launch periodic disk tests > and alert on disk errors. > > Unfortunately, if we set sysctl kern.securelevel >=2, smartmontools does > not work anymore. > Certainly because it needs to write directly to raw devices. > (details of the levels, -1 to 3, in security(7)) > > Any workaround to this ? > > Perhaps we could think about allowing SMART commands to be written to > disks when sysctl kern.securelevel >=2 ? > (I assume smartmontools writes SMART commands) > Sending raw disks commands is inherently insecure. It's hard to create a list of those commands that are OK because of the complexity and diversity of the needed functionality. That complexity also makes it hard to put the commands into a series of ioctls which could be made more secure. Warner From owner-freebsd-fs@freebsd.org Fri Feb 23 16:46:14 2018 Return-Path: Delivered-To: freebsd-fs@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 A0D39F0598D; Fri, 23 Feb 2018 16:46:14 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (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 1604669DBA; Fri, 23 Feb 2018 16:46:14 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id h21so5814689wmd.1; Fri, 23 Feb 2018 08:46:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=VYsHmDeeBM3VdypSFP31nKWDbMHt3av+c81AqXAbiVI=; b=tUuZFT9HIwZDC5qdlMW5OYYFaOL1vTCh/J5Lb8WlD7FSHrkn4MY3Vv4aaPICD+ma2A aefUIfGmV1B+iwryAB9U4ukO/LCfZasfZeSzRIx9ZX0PT6IcuwgB0hkwHvJaHLg55eKh 1Ugf9+CCXdsiltF91GCPdsXU4N0N6+V6Gn0sVmzhDLrDqGLSfdM+raNCoISkuajZmpL+ ptH//AqkKbjZS2r9PTeF+VRrLKh5m8csT8GNxkz1aaso7eany1J1xEKPnd+fKzVASBye 6Xr/A7pHt7nAV+raZqp4Fsu67R5avKLFi/xqKpdSaYhV7/K+va/Z8tuh1QBrBiZkZlw5 k2iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=VYsHmDeeBM3VdypSFP31nKWDbMHt3av+c81AqXAbiVI=; b=jc9u62EeA9x6eHXMtqJA4j2VDhktO6DQtlSXssCo5bIfiw9DbQEQ/OvUhXiv3UP1qy 8Vy9bAqbJ5+dXWJZ1oF+eSScu/KpSSsx6v2FifC2t2t96Td+KknkCYzzEqAlzynKgD9M VX3+THGb0zz6+jmspJaHDu53gus7e7ZJzscb8drJpcmcpuMYIoDg0D+A3pn0X+Kw0XNW WLv5oC1CqZsDfWTI309K6j+g0TD/4npZj10SeMAOPiH+VpDcykXExjqWCrkP8i5kLNuT zrUtyPcJLoafzD/vW1nT04XF4bX/P17Cuf16FYK2eIvfA19DV5TL7zvVEWOG4CxVX+Wd zgCQ== X-Gm-Message-State: APf1xPCOd0gkFc3uLfMBqobLd85sv0ih/nSl4xP5gcWmLqxoEE2HhMMk o/mSM8Tritrh/eqxW2d7GdJnSn73 X-Google-Smtp-Source: AG47ELtyGnQVabfVyZ6/X9/J+6rx6fZMnOL66BhXJcQoTXb/LPPe7d49biPYLB1oQaJqRFVfsuyQ/g== X-Received: by 10.28.32.202 with SMTP id g193mr2008832wmg.99.1519404373091; Fri, 23 Feb 2018 08:46:13 -0800 (PST) Received: from bens-mac.home (LFbn-NIC-1-211-113.w2-15.abo.wanadoo.fr. [2.15.58.113]) by smtp.gmail.com with ESMTPSA id x189sm3114900wmg.23.2018.02.23.08.46.11 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Feb 2018 08:46:12 -0800 (PST) Content-Type: text/plain; charset=us-ascii; delsp=yes; format=flowed Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: smartmontools and kern.securelevel From: Ben RUBSON In-Reply-To: Date: Fri, 23 Feb 2018 17:46:10 +0100 Cc: Freebsd fs , FreeBSD-scsi Content-Transfer-Encoding: 7bit Message-Id: <4C1D44AF-8247-4601-A39C-A8C0A5C8CBD8@gmail.com> References: <0985ABD3-D141-4EE2-B1B3-3016B16E2B68@gmail.com> To: Warner Losh X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 16:46:14 -0000 On 23 Feb 2018, Warner Losh wrote: > On Fri, Feb 23, 2018 at 8:20 AM, Ben RUBSON wrote: > >> Hi, >> >> I run smartmontools on my storage servers, to launch periodic disk tests >> and alert on disk errors. >> >> Unfortunately, if we set sysctl kern.securelevel >=2, smartmontools does >> not work anymore. >> Certainly because it needs to write directly to raw devices. >> (details of the levels, -1 to 3, in security(7)) >> >> Any workaround to this ? >> >> Perhaps we could think about allowing SMART commands to be written to >> disks when sysctl kern.securelevel >=2 ? >> (I assume smartmontools writes SMART commands) > > Sending raw disks commands is inherently insecure. It's hard to create a > list of those commands that are OK because of the complexity and > diversity of the needed functionality. That complexity also makes it hard > to put the commands into a series of ioctls which could be made more > secure. Thank you for your feedback Warner. Can't all SMART commands be easily identified among the others ? (when a command arrives, does kernel sees it is SMART flagged ?) Perhaps you assume some SMART commands may be dangerous for the disks' data itself ? Thank you again, Ben From owner-freebsd-fs@freebsd.org Fri Feb 23 17:16:30 2018 Return-Path: Delivered-To: freebsd-fs@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 4DEDAF07E6B for ; Fri, 23 Feb 2018 17:16:30 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22f.google.com (mail-io0-x22f.google.com [IPv6:2607:f8b0:4001:c06::22f]) (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 D24556B64C for ; Fri, 23 Feb 2018 17:16:29 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22f.google.com with SMTP id q24so3215693ioh.8 for ; Fri, 23 Feb 2018 09:16:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=rpdYpTY1jFo5DHO02OWKA4yGvynOXUqyHj6hH4g4zQA=; b=Ubn/0Q9cHimh3A4Xwy/xLkmSHuaQ/cB2IwPsL3UsT0UjIcpj5tCh8tv1B0VRdx3amp GP2i/PuyHQ/IeZb8lfXbFpdEMBvF0jYn1GBZxwdBce5TgTHulkg8cPVUh66xPzSi04c4 SN7MyBz5y1d9bJ/s9wPNLoWCGtH7JnaXzVb1RVmyt/pjpKTCu2OBe5D/r54ncLWnR1sf eYEGNGB23nNlvQVTSCoPt8f40f1qMcpjLCEGBBZtFC34Zgj/XVcxhgIevyJ1PGtW0tkb 0vSgT2zEVTSRkAjY3MA2ZHtOS/Ikhq4NAYnfp9y8avytLsoWCYci0VPAeW+KXOt0fjKj 2XRw== 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=rpdYpTY1jFo5DHO02OWKA4yGvynOXUqyHj6hH4g4zQA=; b=cLao6VdQc+kX9kkvRmVudoxUVZmjs8USerXRzsD0c+wvdInXaN2oHHwLJVkTmFRlve HFwAlZCfD+HD5zk1qWBLAK8Uq1oCEE+wJ0hWEOcoG53xe+NL+LT2fMh6i2zeJyypRyFx /p/mOAdyvYTEtDsA0qHn/OL6tMYPsJjUtubJMKq84VtiVOaqdOszoAc56kkAez6w3pvf 21ZeG6efu+FySuTLnLi+yNzwNQoiYBHXQt8NTh11CwKSh5GBT1N/AVkGb7PVyXqC9o8O mv7a29eAn8bsEyAXwk1+eowon8FWGDtBaGl0lJs1APz5xSkGvlLqc8+7WwrekhC+HQ8h hOSg== X-Gm-Message-State: APf1xPBYoUgKCLc82opHt2QFHFpvh+8BU3LYty+Y0FgPp6fmkn9nl2ec n8HFLoxyFMpaTsDtOGSf38nBHmzWIWCBvd9+UwECvA== X-Google-Smtp-Source: AG47ELsw0lk8CapVXrasDwUkuR9DjeCOKbXqPlIesvX6sCs0qmXfAIEncwNFn5gu4UQrLwi1QgCrimpSwCNonbaK3B8= X-Received: by 10.107.175.77 with SMTP id y74mr2626545ioe.37.1519406189071; Fri, 23 Feb 2018 09:16:29 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.201.67 with HTTP; Fri, 23 Feb 2018 09:16:28 -0800 (PST) X-Originating-IP: [50.253.99.174] In-Reply-To: <4C1D44AF-8247-4601-A39C-A8C0A5C8CBD8@gmail.com> References: <0985ABD3-D141-4EE2-B1B3-3016B16E2B68@gmail.com> <4C1D44AF-8247-4601-A39C-A8C0A5C8CBD8@gmail.com> From: Warner Losh Date: Fri, 23 Feb 2018 10:16:28 -0700 X-Google-Sender-Auth: pQc0FQdRfjBgXJ-PalkIU7AsvgI Message-ID: Subject: Re: smartmontools and kern.securelevel To: Ben RUBSON Cc: Freebsd fs , FreeBSD-scsi Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 17:16:30 -0000 On Fri, Feb 23, 2018 at 9:46 AM, Ben RUBSON wrote: > On 23 Feb 2018, Warner Losh wrote: > > On Fri, Feb 23, 2018 at 8:20 AM, Ben RUBSON wrote: >> >> Hi, >>> >>> I run smartmontools on my storage servers, to launch periodic disk tests >>> and alert on disk errors. >>> >>> Unfortunately, if we set sysctl kern.securelevel >=2, smartmontools does >>> not work anymore. >>> Certainly because it needs to write directly to raw devices. >>> (details of the levels, -1 to 3, in security(7)) >>> >>> Any workaround to this ? >>> >>> Perhaps we could think about allowing SMART commands to be written to >>> disks when sysctl kern.securelevel >=2 ? >>> (I assume smartmontools writes SMART commands) >>> >> >> Sending raw disks commands is inherently insecure. It's hard to create a >> list of those commands that are OK because of the complexity and diversity >> of the needed functionality. That complexity also makes it hard to put the >> commands into a series of ioctls which could be made more secure. >> > > Thank you for your feedback Warner. > > Can't all SMART commands be easily identified among the others ? (when a > command arrives, does kernel sees it is SMART flagged ?) > Perhaps you assume some SMART commands may be dangerous for the disks' > data itself ? > Yes. I do. They can be. Warner From owner-freebsd-fs@freebsd.org Fri Feb 23 17:20:17 2018 Return-Path: Delivered-To: freebsd-fs@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 68E3FF0955B; Fri, 23 Feb 2018 17:20:17 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (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 0FB356BB10; Fri, 23 Feb 2018 17:20:16 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 41D0120DEF; Fri, 23 Feb 2018 12:20:16 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Fri, 23 Feb 2018 12:20:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsco.org; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=aa7E32sIwFgGFeLpavYUxwt2Crwtk qZbaz2H6Byp6PU=; b=j3f4gwivZqZ0H+3z8LkCKUpJEegYJ4e225EVCeHUPLxjg 92Q9xCCU1c0b6frcBop6OEF+J4JuVvnAgJ0656UoJSrivbJe9NCQRyQ+toozvHK5 4FyozhZKMASLDPz+mkw1rSB/si5tEeKH7WF74k2qZAlz7R+XcIAuV7QetM62BKbB 5GLhpNZ0g9Cqm1TB4as3EnB3KXoplhoaTtPA0SnYpF4OMpDcEoo0Eq/IxpcUQ199 1Z05W9eLLtyNVkcVY/vMSXh7gaGrLdcWKc81SiwqVWXrcX7d7Ka9gCUDEQbg3tY2 KvEF5Nsz16uonbF5ZMmFmBdygnjzrI3Ogp+bXmj3A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=aa7E32 sIwFgGFeLpavYUxwt2CrwtkqZbaz2H6Byp6PU=; b=cilkwhIlfhQ8iyuxaU8BRW QpKE9kFRoxlFWw/r7TS2zjXCnqXTW+rvtRuhZ6m9nK8xidANywjWkaQJLsPdm/5m 0qO7eWIvBf/60KlEcLoOvXfDdjK+zWniuHmDoTKChCOr1PhAjZ0IGF7/+U05jOJV l8BmIQQYILV/NivIRMqXaWeR01hn9xtX8tpE1WCFarA7yco2qNaQdstaFRld3QmC v9kHq1039AB3BOkwCIVtBmvob16gZbR9Eq7obfEZhmsRiOOVwWxgLPmeRhQ8xb4G 5NpSpbsWGNVI+TrUPJUgPhIcyU2Z5o60j7AeBazvl3+jaj7yQxwvi2OUxUbmqRCQ == X-ME-Sender: Received: from [192.168.0.116] (unknown [161.97.249.191]) by mail.messagingengine.com (Postfix) with ESMTPA id AC3C7240B6; Fri, 23 Feb 2018 12:20:15 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.1 \(3445.4.7\)) Subject: Re: smartmontools and kern.securelevel From: Scott Long In-Reply-To: <4C1D44AF-8247-4601-A39C-A8C0A5C8CBD8@gmail.com> Date: Fri, 23 Feb 2018 10:20:12 -0700 Cc: Warner Losh , Freebsd fs , FreeBSD-scsi Content-Transfer-Encoding: quoted-printable Message-Id: References: <0985ABD3-D141-4EE2-B1B3-3016B16E2B68@gmail.com> <4C1D44AF-8247-4601-A39C-A8C0A5C8CBD8@gmail.com> To: Ben RUBSON X-Mailer: Apple Mail (2.3445.4.7) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 17:20:17 -0000 > On Feb 23, 2018, at 9:46 AM, Ben RUBSON wrote: >=20 > On 23 Feb 2018, Warner Losh wrote: >=20 >> On Fri, Feb 23, 2018 at 8:20 AM, Ben RUBSON = wrote: >>=20 >>> Hi, >>>=20 >>> I run smartmontools on my storage servers, to launch periodic disk = tests and alert on disk errors. >>>=20 >>> Unfortunately, if we set sysctl kern.securelevel >=3D2, = smartmontools does not work anymore. >>> Certainly because it needs to write directly to raw devices. >>> (details of the levels, -1 to 3, in security(7)) >>>=20 >>> Any workaround to this ? >>>=20 >>> Perhaps we could think about allowing SMART commands to be written = to disks when sysctl kern.securelevel >=3D2 ? >>> (I assume smartmontools writes SMART commands) >>=20 >> Sending raw disks commands is inherently insecure. It's hard to = create a list of those commands that are OK because of the complexity = and diversity of the needed functionality. That complexity also makes it = hard to put the commands into a series of ioctls which could be made = more secure. >=20 > Thank you for your feedback Warner. >=20 > Can't all SMART commands be easily identified among the others ? (when = a command arrives, does kernel sees it is SMART flagged ?) > Perhaps you assume some SMART commands may be dangerous for the disks' = data itself ? >=20 > Thank you again, >=20 Sure, there are a finite number of SMART commands, even when you = consider variations for SAS and SATL. The commands aren=E2=80=99t = explicitly flagged to the kernel, but they can be parsed. You could = even move the SMART logic directly into the kernel. However, issuing = the commands is often disruptive to the system; for SATA, it=E2=80=99s a = non-queueing command, so the system has to drain and serialize I/O while = it=E2=80=99s active. This can be crudely used as a DOS attack. There = are also SMART commands to do long-running diagnostics, that while = they=E2=80=99re not destructive, they can still be disruptive. Also, = SMART statistics can be used to gain insight into the operation of the = system, making it easier to predict I/O patterns and employ other = side-channel attacks. The point of securelevel=3D2 is to prevent access = to disk devices that can result in system disruption, so I=E2=80=99m = adverse to making an exception that=E2=80=99s directly counter to that = point. Scott From owner-freebsd-fs@freebsd.org Fri Feb 23 19:50:08 2018 Return-Path: Delivered-To: freebsd-fs@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 3F54AF16E74 for ; Fri, 23 Feb 2018 19:50:08 +0000 (UTC) (envelope-from alan@peak.org) Received: from filter06.peak.org (filter06.peak.org [69.59.194.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B6AFB748B9 for ; Fri, 23 Feb 2018 19:50:07 +0000 (UTC) (envelope-from alan@peak.org) Received: from zmail-mta02.peak.org ([207.55.16.112]) by filter06.peak.org ({0c47b2c3-829a-4f18-b445-de68be8d048d}) via TCP (outbound) with ESMTPS id 20180223194644212_0000 for ; Fri, 23 Feb 2018 11:46:44 -0800 X-RC-FROM: X-RC-RCPT: Received: from zmail-mta02.peak.org (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTPS id EC3E0114067 for ; Fri, 23 Feb 2018 11:46:38 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zmail-mta02.peak.org (Postfix) with ESMTP id CCFB84C505 for ; Fri, 23 Feb 2018 11:46:38 -0800 (PST) Received: from zmail-mta02.peak.org ([127.0.0.1]) by localhost (zmail-mta02.peak.org [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id TZ7emJDlSLk5 for ; Fri, 23 Feb 2018 11:46:38 -0800 (PST) Received: from mailproxy-lb-07.peak.org (mailproxy-lb-07.peak.org [207.55.17.97]) by zmail-mta02.peak.org (Postfix) with ESMTP id ADAEE11407B for ; Fri, 23 Feb 2018 11:46:38 -0800 (PST) To: freebsd-fs@freebsd.org From: Alan Batie Subject: NFS I/O error Message-ID: <6255cca1-a5d5-61c7-4ee1-1799b0df1303@peak.org> Date: Fri, 23 Feb 2018 11:46:34 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="------------ms030202010506050209010800" X-MAG-OUTBOUND: peakinternet.redcondor.net@207.55.16/22 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 19:50:08 -0000 This is a cryptographically signed message in MIME format. --------------ms030202010506050209010800 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I have built a 11.1-RELEASE-p4 zfs/nfs server; I can mount the zfs filesystem, but any attempt to access it gets "I/O error": > [92] # zfs get sharenfs zbackups/admin03-backups > NAME PROPERTY VALUE = SOURCE > zbackups/admin03-backups sharenfs rw=3Dadmin03.peak.org,root=3Dadmin0= 3.peak.org,maproot=3D0 local > [122] # mount | grep admin03-backups > zbackups.peak.org:/zbackups/admin03-backups on /zbackups type nfs (rw,n= osuid,soft,addr=3D2607:f678::19:21) > [123] # pwd > /zbackups > [124] # touch x > touch: cannot touch `x': Input/output error > 2 9.517978 2607:f678::16:41 ? 2607:f678::19:21 NFS 234 V3 ACCESS = Call, FH: 0x29b4d670, [Check: RD LU MD XT DL] > 3 9.518044 2607:f678::19:21 ? 2607:f678::16:41 NFS 122 V3 ACCESS = Reply (Call In 2) Error: NFS3ERR_IO > 4 9.518199 2607:f678::16:41 ? 2607:f678::19:21 TCP 86 850 ? 2049 = [ACK] Seq=3D149 Ack=3D37 Win=3D113 Len=3D0 TSval=3D4034213392 TSecr=3D246= 608933 > 5 9.518222 2607:f678::16:41 ? 2607:f678::19:21 NFS 234 V3 ACCESS = Call, FH: 0x29b4d670, [Check: RD LU MD XT DL] > 6 9.518251 2607:f678::19:21 ? 2607:f678::16:41 NFS 122 V3 ACCESS = Reply (Call In 5) Error: NFS3ERR_IO > 7 9.557916 2607:f678::16:41 ? 2607:f678::19:21 TCP 86 850 ? 2049 = [ACK] Seq=3D297 Ack=3D73 Win=3D113 Len=3D0 TSval=3D4034213432 TSecr=3D246= 608933 > [99] # pwd > /zbackups/admin03-backups > [100] # touch x > [101] # lf -l > total 1 > -rw-r--r-- 1 root wheel 0 Feb 23 11:45 x > [125] # lf -l > ls: cannot open directory .: Input/output error --------------ms030202010506050209010800 Content-Type: application/pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC CxMwggUlMIIEDaADAgECAhBBq4LCDmhyYOaHfN4M7BZTMA0GCSqGSIb3DQEBCwUAMIGXMQsw CQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxm b3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDE9MDsGA1UEAxM0Q09NT0RPIFJTQSBD bGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBFbWFpbCBDQTAeFw0xNzEyMDcwMDAw MDBaFw0xODEyMDcyMzU5NTlaMB4xHDAaBgkqhkiG9w0BCQEWDWFsYW5AcGVhay5vcmcwggEi MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDIMaXRr9AFisSM/cqrxG8s4CP9839MQSk7 OHuhvnWBloQ6w1heusI+h5B9xLu4gWaEwIr9JA0+EXuyCzfia/NTXBSsPckapCkFjOotEF1d qXdjywV/u+srLx5/T88Lf4gklvBRfRvFbjPDOt+K+X36cFqldUav8Aw6IwH+bII2qNwua0Wk 3cONmHJd6vkPVeQAxXsJFfVZL0m4dRIYNiQ4WQM1J4tydwUjr72W/WY14GQD7KCb483tcNnL Y7gmmpQoMbEFW+4fAXrX/QCVgBsQW3wXDoIka6m+garTlhx3LhnQccrmQPtJbDZACGkYK6cY eIkluFW3Fpnc6PejBLdXAgMBAAGjggHjMIIB3zAfBgNVHSMEGDAWgBSCr2yM+MX+lmF86B89 K3FIXsSLwDAdBgNVHQ4EFgQUDLvfpIB6X3ycazB5ftu9z2hcabkwDgYDVR0PAQH/BAQDAgWg MAwGA1UdEwEB/wQCMAAwIAYDVR0lBBkwFwYIKwYBBQUHAwQGCysGAQQBsjEBAwUCMBEGCWCG SAGG+EIBAQQEAwIFIDBGBgNVHSAEPzA9MDsGDCsGAQQBsjEBAgEBATArMCkGCCsGAQUFBwIB Fh1odHRwczovL3NlY3VyZS5jb21vZG8ubmV0L0NQUzBaBgNVHR8EUzBRME+gTaBLhklodHRw Oi8vY3JsLmNvbW9kb2NhLmNvbS9DT01PRE9SU0FDbGllbnRBdXRoZW50aWNhdGlvbmFuZFNl Y3VyZUVtYWlsQ0EuY3JsMIGLBggrBgEFBQcBAQR/MH0wVQYIKwYBBQUHMAKGSWh0dHA6Ly9j cnQuY29tb2RvY2EuY29tL0NPTU9ET1JTQUNsaWVudEF1dGhlbnRpY2F0aW9uYW5kU2VjdXJl RW1haWxDQS5jcnQwJAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmNvbW9kb2NhLmNvbTAYBgNV HREEETAPgQ1hbGFuQHBlYWsub3JnMA0GCSqGSIb3DQEBCwUAA4IBAQBPnWw9GT+RfkQVtG1g wSbyTUb2o6sIr3yrSfJw2Lh4Wj3D5Soo1EUzEY8wkzKPkizC0fbOg89OGhQ/ycsomoGXrufx g3oTQmBgzvGtBbE3fH4GjpZpUfFtnx/N3oZGgVCqYXP6deaJAADqHEkvdvAYsxVF9oVGQGDF XPv++mc7+YS4sYTcqk8hdUHYrNqzs1HeNMhWqJmBDDp+z5e6ulXrUPE6iZ4racQ6OmrcDXdB kdFlFZ8cKTgTXJ7nu+E+K7vmsU6Eij6TTdpKB+utHbwMay9UEPXrzKpRrHy7Q3Ppqn4bhkJJ mN2TbcI/N7Y+wfI2qjPlZmBG4mqQEsCnJugNMIIF5jCCA86gAwIBAgIQapvhODv/K2ufAdXZ uKdSVjANBgkqhkiG9w0BAQwFADCBhTELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIg TWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENBIExpbWl0 ZWQxKzApBgNVBAMTIkNPTU9ETyBSU0EgQ2VydGlmaWNhdGlvbiBBdXRob3JpdHkwHhcNMTMw MTEwMDAwMDAwWhcNMjgwMTA5MjM1OTU5WjCBlzELMAkGA1UEBhMCR0IxGzAZBgNVBAgTEkdy ZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UEChMRQ09NT0RPIENB IExpbWl0ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0EgQ2xpZW50IEF1dGhlbnRpY2F0aW9uIGFu ZCBTZWN1cmUgRW1haWwgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC+s55X rCh2dUAWxzgDmNPGGHYhUPMleQtMtaDRfTpYPpynMS6n9jR22YRq2tA9NEjk6vW7rN/5sYFL IP1of3l0NKZ6fLWfF2VgJ5cijKYy/qlAckY1wgOkUMgzKlWlVJGyK+UlNEQ1/5ErCsHq9x9a U/x1KwTdF/LCrT03Rl/FwFrf1XTCwa2QZYL55AqLPikFlgqOtzk06kb2qvGlnHJvijjI03BO rNpo+kZGpcHsgyO1/u1OZTaOo8wvEU17VVeP1cHWse9tGKTDyUGg2hJZjrqck39UIm/nKbpD SZ0JsMoIw/JtOOg0JC56VzQgBo7ictReTQE5LFLG3yQK+xS1AgMBAAGjggE8MIIBODAfBgNV HSMEGDAWgBS7r34CPfqm8TyEjq3uOJjs2TIy1DAdBgNVHQ4EFgQUgq9sjPjF/pZhfOgfPStx SF7Ei8AwDgYDVR0PAQH/BAQDAgGGMBIGA1UdEwEB/wQIMAYBAf8CAQAwEQYDVR0gBAowCDAG BgRVHSAAMEwGA1UdHwRFMEMwQaA/oD2GO2h0dHA6Ly9jcmwuY29tb2RvY2EuY29tL0NPTU9E T1JTQUNlcnRpZmljYXRpb25BdXRob3JpdHkuY3JsMHEGCCsGAQUFBwEBBGUwYzA7BggrBgEF BQcwAoYvaHR0cDovL2NydC5jb21vZG9jYS5jb20vQ09NT0RPUlNBQWRkVHJ1c3RDQS5jcnQw JAYIKwYBBQUHMAGGGGh0dHA6Ly9vY3NwLmNvbW9kb2NhLmNvbTANBgkqhkiG9w0BAQwFAAOC AgEAeFyygSg0TzzuX1bOn5dW7I+iaxf28/ZJCAbU2C81zd9A/tNx4+jsQgwRGiHjZrAYayZr rm78hOx7aEpkfNPQIHGG6Fvq3EzWf/Lvx7/hk6zSPwIal9v5IkDcZoFD7f3iT7PdkHJY9B51 csvU50rxpEg1OyOT8fk2zvvPBuM4qQNqbGWlnhMpIMwpWZT89RY0wpJO+2V6eXEGGHsROs3n jeP9DqqqAJaBa4wBeKOdGCWn1/Jp2oY6dyNmNppI4ZNMUH4Tam85S1j6E95u4+1Nuru84OrM IzqvISE2HN/56ebTOWlcrurffade2022O/tUU1gb4jfWCcyvB8czm12FgX/y/lRjmDbEA08Q JNB2729Y+io1IYO3ztveBdvUCIYZojTq/OCR6MvnzS6X72HP0PRLRTiOSEmIDsS5N5w/8IW1 Hva5hEFy6fDAfd9yI+O+IMMAj1KcL/Zo9jzJ16HO5m60ttl1Enk8MQkz/W3JlHaeI5iKFn4U Ju1/cP2YHXYPiWf2JyBzsLBrGk1II+3yL8aorYew6CQvdVifC3HtwlSam9V1niiCfOBe2C12 TdKGu05LWIA3ZkFcWJGaNXOZ6Ggyh/TqvXG5v7zmEVDNXFnHn9tFpMpOUvxhcsjycBtH0dZ0 WrNw6gH+HF8TIhCnH3+zzWuDN0Rk6h9KVkfKehIxggQ1MIIEMQIBATCBrDCBlzELMAkGA1UE BhMCR0IxGzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEa MBgGA1UEChMRQ09NT0RPIENBIExpbWl0ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0EgQ2xpZW50 IEF1dGhlbnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0ECEEGrgsIOaHJg5od83gzsFlMw DQYJYIZIAWUDBAIBBQCgggJZMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcN AQkFMQ8XDTE4MDIyMzE5NDYzNFowLwYJKoZIhvcNAQkEMSIEIGt5J+9TdcHOa480oKNwcNuU 5iGgj2u4Ef0p9GhnDYygMGwGCSqGSIb3DQEJDzFfMF0wCwYJYIZIAWUDBAEqMAsGCWCGSAFl AwQBAjAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4D AgcwDQYIKoZIhvcNAwICASgwgb0GCSsGAQQBgjcQBDGBrzCBrDCBlzELMAkGA1UEBhMCR0Ix GzAZBgNVBAgTEkdyZWF0ZXIgTWFuY2hlc3RlcjEQMA4GA1UEBxMHU2FsZm9yZDEaMBgGA1UE ChMRQ09NT0RPIENBIExpbWl0ZWQxPTA7BgNVBAMTNENPTU9ETyBSU0EgQ2xpZW50IEF1dGhl bnRpY2F0aW9uIGFuZCBTZWN1cmUgRW1haWwgQ0ECEEGrgsIOaHJg5od83gzsFlMwgb8GCyqG SIb3DQEJEAILMYGvoIGsMIGXMQswCQYDVQQGEwJHQjEbMBkGA1UECBMSR3JlYXRlciBNYW5j aGVzdGVyMRAwDgYDVQQHEwdTYWxmb3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDE9 MDsGA1UEAxM0Q09NT0RPIFJTQSBDbGllbnQgQXV0aGVudGljYXRpb24gYW5kIFNlY3VyZSBF bWFpbCBDQQIQQauCwg5ocmDmh3zeDOwWUzANBgkqhkiG9w0BAQEFAASCAQCtLWakYy3tOykt Q74o97b6M10tQmg2jEIlYsXCVn4ZHm9Gzc5scpKngPwcKwuyGYQpdPXN7gR5v1X+J8MsYU1w HmeAuZAJF8Qxj6hCxMyiXpTcdhjpRr8dD7pj/CrAXKfk2OEUm2jpseC/IIbLkbMhfAWagoyj icZTloVUUflyP4V5xjx90q3p62sb5RDui8/yjMlziyuqhZnK5xd2IFEqLb9nzgB42k8lTzCR HjO9bTNBVMJJNQz5pLqF9hIWYRhewpiKqNiG6rC5ibRPoSuS3ID9+nErYNQOZlPTYL5zHw/V MF+Hy56wzlFK3DseoYF5BmRQ4PiePIlUr+or42ufAAAAAAAA --------------ms030202010506050209010800-- From owner-freebsd-fs@freebsd.org Fri Feb 23 21:37:18 2018 Return-Path: Delivered-To: freebsd-fs@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 62D3DF224A5; Fri, 23 Feb 2018 21:37:18 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 D1B837A284; Fri, 23 Feb 2018 21:37:17 +0000 (UTC) (envelope-from ben.rubson@gmail.com) Received: by mail-wm0-x231.google.com with SMTP id 191so6985059wmm.4; Fri, 23 Feb 2018 13:37:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=cnWj3Q4nHiIKkKAJ7SJU1rpC6L2eEmD5cnWANpg44MI=; b=HXPrXKslYF3N0dcR9usaeihl5st6ieTX8peq6fDUzZF1+Gb1dPYENSXBKHOiedgtjm 55dJmxOHIV5IvyPm4gnJj2EjBMllQ5q8UN67EFneUKetvBRLMPt3HTaiFxkfMTPVKLs8 RRreiV7UtXjZFxFmBlNMqIrFPtUze5L/xNfbLHKn2+YJsTfS8AqSZfgV+qqyAlZL6cLO dnzWJAY4yFnVZhlFDEO9KWSK1ue5yYwAn+lgR2z40Dk6+8yOLMIVKwI6T9TF3kAW7EFQ ixdZIwICUkqSLkjITRNG9QWhipxVU47iAg5ilMG1DMW4dA7vXpo4+9zuVhX0XAZm7D6i wvQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=cnWj3Q4nHiIKkKAJ7SJU1rpC6L2eEmD5cnWANpg44MI=; b=ui+uohcYsBX3XVaE+aKafDP1s+yViiiOKspgAog1TlTOcCllH5+a+fcD75gEnzwDpN a1e2kXh7QvxjgFDIa9Tzj/7NX+pkk7JMBuwjY5qyF7A3xwWYOS4zdvjI+rm1+FPrkE4f R4E6m3r1l5/akU/XuZR0ut47rzygkzeX7gLgcNVjC/k7EWpSLCEa0Ac8hSdpm3qJnbGm fCRp82ahSgrJBJs1GveEtL7faDDvWr4rwSGVbs9U2slVMG5C173mrCAK9lM2ET9d8EP4 N+EqzfXfjT55sbcnN4wGybQ4G4vR4Kc3pu3jOWVlZoSFFTODjTdxWuZrRh5WQJlKBsXC vlQA== X-Gm-Message-State: APf1xPBQxMJ5ksQ0jTYxm8Ii8q9w67T5E4fWPDHHXSvvA3usq7me7uqT IrNWMKlxiKpJVDxGmy39LrlBo7ph X-Google-Smtp-Source: AG47ELtW6FXGKeNvDimoz9uN2CiMRTQmQmb2wEzioG8l9ifxabaSPC41GXsBK5U0U0oMOYpHIayLzg== X-Received: by 10.28.144.193 with SMTP id s184mr2955670wmd.68.1519421836499; Fri, 23 Feb 2018 13:37:16 -0800 (PST) Received: from bens-mac-1.home (LFbn-NIC-1-211-113.w2-15.abo.wanadoo.fr. [2.15.58.113]) by smtp.gmail.com with ESMTPSA id u22sm3735011wrf.86.2018.02.23.13.37.14 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 23 Feb 2018 13:37:15 -0800 (PST) Content-Type: text/plain; charset=utf-8; delsp=yes; format=flowed Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: smartmontools and kern.securelevel From: Ben RUBSON In-Reply-To: Date: Fri, 23 Feb 2018 22:37:19 +0100 Content-Transfer-Encoding: 8bit Message-Id: References: <0985ABD3-D141-4EE2-B1B3-3016B16E2B68@gmail.com> <4C1D44AF-8247-4601-A39C-A8C0A5C8CBD8@gmail.com> To: Freebsd fs , FreeBSD-scsi X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Feb 2018 21:37:18 -0000 >> On Feb 23, 2018, at 9:46 AM, Ben RUBSON wrote: >> >> On 23 Feb 2018, Warner Losh wrote: >> >>> On Fri, Feb 23, 2018 at 8:20 AM, Ben RUBSON wrote: >>> >>>> Hi, >>>> >>>> I run smartmontools on my storage servers, to launch periodic disk >>>> tests and alert on disk errors. >>>> >>>> Unfortunately, if we set sysctl kern.securelevel >=2, smartmontools >>>> does not work anymore. >>>> Certainly because it needs to write directly to raw devices. >>>> (details of the levels, -1 to 3, in security(7)) >>>> >>>> Any workaround to this ? >>>> >>>> Perhaps we could think about allowing SMART commands to be written to >>>> disks when sysctl kern.securelevel >=2 ? >>>> (I assume smartmontools writes SMART commands) >>> >>> Sending raw disks commands is inherently insecure. It's hard to create >>> a list of those commands that are OK because of the complexity and >>> diversity of the needed functionality. That complexity also makes it >>> hard to put the commands into a series of ioctls which could be made >>> more secure. >> >> Thank you for your feedback Warner. >> >> Can't all SMART commands be easily identified among the others ? (when a >> command arrives, does kernel sees it is SMART flagged ?) >> Perhaps you assume some SMART commands may be dangerous for the disks' >> data itself ? >> >> Thank you again, > On 23 Feb 2018, Scott Long wrote: > Sure, there are a finite number of SMART commands, even when you consider > variations for SAS and SATL. The commands aren’t explicitly flagged to > the kernel, but they can be parsed. You could even move the SMART logic > directly into the kernel. However, issuing the commands is often > disruptive to the system; for SATA, it’s a non-queueing command, so the > system has to drain and serialize I/O while it’s active. This can be > crudely used as a DOS attack. There are also SMART commands to do > long-running diagnostics, that while they’re not destructive, they can > still be disruptive. Also, SMART statistics can be used to gain insight > into the operation of the system, making it easier to predict I/O > patterns and employ other side-channel attacks. The point of > securelevel=2 is to prevent access to disk devices that can result in > system disruption, so I’m adverse to making an exception that’s directly > counter to that point. Thank you Scott. securelevel=2 really makes sense, as (IMO) SMART error reports / statistics and diagnostics. Hard to combine both actually. Perhaps a solution could be the SMART logic into the kernel, with the ability to disable it (compilation option ?). On 23 Feb 2018, Douglas Gilbert wrote: > A partial solution with big storage behind a storage switch (FC, PCIe or > SAS) is to run one machine *** (preferably not accessible directly from the > internet) at a lower privilege level that permits it to run smartmontools > and other similar utilities (such as a management utility for that > storage switch). Thank you Douglas, yes you're right, SAS shared JBODs would do the trick. Mine are SAS, but unfortunately local / not shared. Theses disks are parts of ZFS pools. Instead of running zpool scrubs each 2 weeks and SMART long self tests the other 2 weeks, I could run weekly zpool scrubs. But I think I will loose the opportunity to be notified by smartmontools about a pre-dying disk, in addition sectors not yet used by ZFS would not be tested. Thank you again, Ben From owner-freebsd-fs@freebsd.org Sat Feb 24 12:36:56 2018 Return-Path: Delivered-To: freebsd-fs@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 97B97F0ABDE for ; Sat, 24 Feb 2018 12:36:56 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF6D67FFC2 for ; Sat, 24 Feb 2018 12:36:55 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.33.9]) by mail.gmx.com (mrgmx103 [212.227.17.174]) with ESMTPSA (Nemesis) id 0Mhhr5-1f2xKF3aWR-00Mw8Q for ; Sat, 24 Feb 2018 13:36:49 +0100 From: Nikos Vassiliadis Subject: cannot receive incremental stream: destination foo has been modified To: FreeBSD Filesystems Message-ID: Date: Sat, 24 Feb 2018 14:36:41 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:Wj2Ys8Qf993lVMA5yQP8zZRAqAjMU7oUgsgO7HrlgiAiVC80lTd 1TpDWslDE0n9uQDeIrf5G6Ug+OtxEKbPehXhabEsB50AEk6rxTCNpK7oIgB2u5h41R2i9Ts vQsTYt1EjdaQLTWjHPrdAML+2DJ33IQgHCAD+G2ejq40vIzYvCQtkJ1zj7nd/H8i3vvV4YP 4Pf9T/bc6pZNM22Jf9pFw== X-UI-Out-Filterresults: notjunk:1;V01:K0:d55N3l/kG8g=:jAVd7S+gCIvIjQd8X7Z76w DiVMUVtQ1g5tmRtb2LzXAVk667xuuaNUSa/3OJVq9+/9F7wMeRhd9DRL40PGvYrFDzb2lCFRa RFwINVqkrHHYl9s+VN1XmXnqF9TJ789gFp9QUQsdm4+A8uekAtQTPYUCCt547gr/9yEgs9hq3 dw53C++UZQ2kngr7bdw6y9u7oxeB+eHwEb8Ns9oEFXlZKqCbKfkGWGE3xoCvIyRJ5GAMM4bbR +LVrVvy5rn8te9FcAQY+xZ/d+l6hNQ0C0rDe1ndMsYUu4seO2KTYASnJO/HvCLfLNylOvWKdz OOjz/93pTJNzx/GlHRLEy4YN+YCVUWCowxILhvaL5okMHrZhj7MXKMu0EB7GPjSWvfYVL7vBY K/CAUQdsmuNaShOPIb30y13PGuia9AmJmeheUDICH4DAbseRWaxanZGAHNTuQk4BktrOCspRq s8emmzd6MEt5YypkBbR9wk5883nUv1ptnYaZ19K8NvKc3BUTJcZXAbgrR2iSkWjkV3a388DUO 8rBUoel+JyA+bbi279NcyOAFPX+WTwwyjFZ3S/h0U1coMHnLdmfDujnz/raP2rSTSs0aqCOw6 DGlmGtUScKUEiGVTRzvKAUlsBksLIqEDlZNkgURBlLQSaD7Laubkz1MYTUZMNZfj7uwgJh0VY Ns2wXvsc6GtdPxebEWS27l+L+JgBf89+AhlyolB8exVdw/EnAhq+bs8ypjX2RsOkM5hF5StdB hiBztH6btki2Y+dAjflO5wjEzG2wrFk2HB9jyG6kLWEHC2mLOAC9H8WgZAHRrWNhd78+uKFSo NpT2Imt1Mrjt0qDBW7KZyjpzfzJSPfWOf9XqUcj9KBjsza+0xk= X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2018 12:36:56 -0000 Hi everybody, From time to time my backup scripts break because "zfs recv" complains that a destination filesystem is modified (1). That should not be the case as the filesystems in the backup server are not mounted and "zfs receive" is always using the -u arg which also suggests that filesystems won't be mounted at the receiving side. Of course this is easily fixed with the help of -F on the receiving side which forces a rollback to the most recent snapshot. It just doesn't feel correct to blindly force it every time. I haven't noticed when exactly this happens, maybe it's related to a network failure while sending. I am not sure what would modify a filesystem... It happens maybe once every few months. The commands doing the backups are these: sending:> zfs send -R -i @2018-02-24_12.30.00--10d storage@BACKUP-2018-02-24_14.30.49--1m receiving:> zfs recv -u storage Has anybody else seen this? Am I doing something wrong? 1: > cannot receive incremental stream: destination storage/home/foo has been modified > since most recent snapshot Thanks! Nikos From owner-freebsd-fs@freebsd.org Sat Feb 24 15:13:10 2018 Return-Path: Delivered-To: freebsd-fs@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 06109F26D3A for ; Sat, 24 Feb 2018 15:13:10 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) (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 6EC076836F for ; Sat, 24 Feb 2018 15:13:09 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf0-f53.google.com with SMTP id t79so16384691lfe.3 for ; Sat, 24 Feb 2018 07:13:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FVo0+ylTFMMeBdjBgDoTEnvkf9CMUNgmukiEXMqO6lQ=; b=Zvp5TNbvmSp+22VaM2xWsCqjyYMC9FyDHVxe7OgsKX3DKW9v6vxbjmoKz3Hq12077w Aia0uz9FCLuZnEZDlOa/kC3CRWu33pPiZeEBS01nw1FWgPRTFFTXiBSnbP2qx4irTWCe NoX66dTfgVXpn2mXyqR4tYbKNuoGRYeVHSyYvAHodo5wd2magHeR2iSLM6sz6bWINQve eSM0kh/2yvTZXFWRoNkEthy+kSUX4uIP/AZcCMoMufHjP37HRLpS6HZF/P+Z4YfG5ZEz STH1PmbPeobIYUe0VEUA6np7/ZfVWUx13XZdDnxabRHd3FvPjXWXMzjfQ74XYfIhNM9w c2fA== X-Gm-Message-State: APf1xPBdYQoZs2DV1Rz1rNmOBVILy14gtXwO/ablfFOTXSegGFic99I7 5rcF0+FIId9JGBP5WGwZ2+RCEbLM X-Google-Smtp-Source: AG47ELsK1McKTXn7l5SSrGxOPivRrJ7tktcxYA6kNaeyHOoplIritehp4S6NprRLJIMN97aMd2/ClA== X-Received: by 10.25.217.69 with SMTP id q66mr3977175lfg.62.1519485181750; Sat, 24 Feb 2018 07:13:01 -0800 (PST) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id p190sm998215lfp.3.2018.02.24.07.12.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 24 Feb 2018 07:12:59 -0800 (PST) Subject: Re: cannot receive incremental stream: destination foo has been modified To: Nikos Vassiliadis , FreeBSD Filesystems References: From: Andriy Gapon Message-ID: <50293f13-86d8-34c5-82d6-61aabcec0bfd@FreeBSD.org> Date: Sat, 24 Feb 2018 17:12:58 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2018 15:13:10 -0000 On 24/02/2018 14:36, Nikos Vassiliadis wrote: > That should > not be the case as the filesystems in the backup server are not > mounted and "zfs receive" is always using the -u arg which also > suggests that filesystems won't be mounted at the receiving side. Are you absolutely sure that the affected filesystems are never mounted? receive -u ensures that a filesystem is not mounted right after being received, but without additional steps it does not ensure that the filesystem won't be mounted after a reboot of the backup server (or export / import of the backup pool). -- Andriy Gapon From owner-freebsd-fs@freebsd.org Sat Feb 24 16:39:42 2018 Return-Path: Delivered-To: freebsd-fs@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 B3273F2D083 for ; Sat, 24 Feb 2018 16:39:42 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 172706BCF2; Sat, 24 Feb 2018 16:39:42 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from moby.local ([79.107.33.9]) by mail.gmx.com (mrgmx002 [212.227.17.184]) with ESMTPSA (Nemesis) id 0LuPYt-1eiAEL2Az9-011hRJ; Sat, 24 Feb 2018 17:39:34 +0100 Subject: Re: cannot receive incremental stream: destination foo has been modified To: Andriy Gapon , FreeBSD Filesystems References: <50293f13-86d8-34c5-82d6-61aabcec0bfd@FreeBSD.org> From: Nikos Vassiliadis Message-ID: <3f239091-c278-fcae-571c-3c4dc346b24d@gmx.com> Date: Sat, 24 Feb 2018 18:39:25 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <50293f13-86d8-34c5-82d6-61aabcec0bfd@FreeBSD.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:aEpC3VhYKfElmzsq0g9YGvBcqoWINE2KH0jxwFJg5owUlYI6G9J LL5+wythBv47OAy1KYPR7ze+TgTZZFQVrHui1e/2iBBSTZ/D37KU8x2Zx1Kt3AI5H4N5+JK q4sm3E+OKqaXl85gwlK2iIaAr6yr00cJF5QtoX+6ysUMgrga2QpuQj2tWKeOaanY7jQfswQ gSCDLZGVw+4rvjyhnXRzQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:9Qc01enB9pY=:4nST1/kB0Po86PRoPPGEAC 58ucR7g9v6abjIA42RudtM86x3YhVSF6EEqWvgsK5OzQZop9TXTBAVVqFqutKyJHGJ5mu1Rvo 1Sw0iEABNrjVQOjrh+iMBkWcNPmWFDz0SqTUrxP9OYH0Yo3L+i+f9M7vNS8rBbZJqRDQHVchT u59feyimKg5rxsJhBHT+zzMTUXeNg1iiZ1Wa+OCtKo3rpuAmBezkaUNOQh1cJusAHd/7BUslK XsprfkKosLI9sYoPd6L7JR7zBbubKImq4DWpvoAz472uuJDyE9U6XfUPX/aznmv0cVrE9dBhu qkLkqZY5ZPnPRX4iJCuR+PBlKihwoH2zmhyHNj1xsObHVqs/JMfxXHlbFa9Ap9AOzpYteHIW4 w9UlDJ6EEGOoEE5kSChlVTiTu6kTRsKlL3JBOCCK0wV+i5MNIcNl0OQZ4KOypAimw1PHAfYOR n+KZYoPoP50fGhTBFt/RZxdlNEIvPFQM2k3QiZgJ2CUUfmgAfmPzvfrXft6Smn59QHRVjunxL G0sLpv1ntAAtILLd3j9WBlVCpGc61ygXTefmwZyT1PabwsMBMXygUZImQIAy8tF3zv4zbrzFx 3czmatccPmpobRCO3dqFqJ1nIt1QXCXJ7HCV/5t8mhTVj5M7CPWw7W2t7XEIyhdpYSTE4rZ2i lM8p7TjhE4s+6eXhBk351m54SiyFqYmh2FV0JcgIX91HPVIh/skPq+1c4EHoDqkGell4novMi oSkp+PFTvXZMEokGGhumzxVsq2pVAZ0MqmAyCYkO//JsiQ1ZHpOEPgLTKPk4OMPVi0NDX+B3H Jf/SdkRTezv4B/YWzM2eNgcRcpJOaTx0JGOdHGUvFEUfc7CAx0= X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2018 16:39:42 -0000 On 02/24/18 17:12, Andriy Gapon wrote: > On 24/02/2018 14:36, Nikos Vassiliadis wrote: >> That should >> not be the case as the filesystems in the backup server are not >> mounted and "zfs receive" is always using the -u arg which also >> suggests that filesystems won't be mounted at the receiving side. > > > Are you absolutely sure that the affected filesystems are never mounted? Yes, since I didn't see mounted filesystems after the error. > receive -u ensures that a filesystem is not mounted right after being received, > but without additional steps it does not ensure that the filesystem won't be > mounted after a reboot of the backup server (or export / import of the backup pool). > You're correct, this can/will happen after a reboot. Unfortunately, this is not the case. It happened a few days ago and the backup server was not rebooted and no filesystems were mounted. I am the only sysadmin of the backup server too so I can say that everything seems ok. It happens though after a network disconnect while sending/receiving. So maybe there is something there. More specifically I have seen this on a very limited bandwidth link (60-70KB/s) and only now and then. I have tried to simulate network failures but the problem never happened. I am not sure what to do next... Thanks for your ideas, Nikos