From owner-freebsd-current@freebsd.org Fri Jun 21 19:56:10 2019 Return-Path: Delivered-To: freebsd-current@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 9B41415BD5EA for ; Fri, 21 Jun 2019 19:56:10 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (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 1804676530; Fri, 21 Jun 2019 19:56:09 +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 B86312213D; Fri, 21 Jun 2019 15:56:09 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Fri, 21 Jun 2019 15:56:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsco.org; h= content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; s=fm3; bh=w hsNrst6hsPa/eHeG4wYsNWJj2zqxVNKaTOHa2XJuUs=; b=CZ50g+GI6XCgFPRYp SsYeiSMAjuIZj/m0RRwc1u1v3w9EEVlHTS7e8xyK4uDang+xpdFlMs2z8IQd87hj OkYlxWlEV88fByHGJpGbypZ9UnWC+naBAk5802XM6qXrNCYXvEudEA05okVzsews KywD7xE80Bmau0zOgG1dY8e5lYLP9TcFMuOC5M9R75cjzEDzCo0u9QMr7I7Hr9hX HjnFhUGWjm24wO6GVUyHSVY/WeKdPOg4aVN86MPBx+pfkvkay2PMKU6qPWa3MZJN kua8egau8Zhjwsd6Vwk8FBX16Ere8c7HrYC4DnXJo72WV2Bgzwf3iQZPAH+A99tP 3z0FA== 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-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=whsNrst6hsPa/eHeG4wYsNWJj2zqxVNKaTOHa2XJu Us=; b=Yn/6qDOOp209zIhLcDmAXz7m924lsZzkYDOddTpvA2e5B3o7FpaOLMNlX C1yvALC9YC+P+bcl9aS+sI/O2wttk2yUvA7veg73ynuyt4+hheS2SMlnfdvYWl+l DfJxLR844wHarX7qeMbu3xWPZrrW7GmtJ82J3xT5B1TyF09YOELBNicph/c/pJqe VJ2vP/W3oKDR12z988DDP3IIcuXxbRmSivWNuvOnky+4SZ8A/k5ztLVLY311NquK IKT2VI4mefcnxIKM5F2laKfqe4UQTu53C+QRDxPTCwfEYF1Dl4Y7vqxDoeUzrxOr /855gPwbHuKWP8VA5UmOExhbwjBoA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrtdeigddugeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptggguffhjgffgffkfhfvofesthejmhdthhdtvdenucfhrhhomhepufgtohht thcunfhonhhguceoshgtohhtthhlsehsrghmshgtohdrohhrgheqnecukfhppeduledvrd ehhedrheegrdehleenucfrrghrrghmpehmrghilhhfrhhomhepshgtohhtthhlsehsrghm shgtohdrohhrghenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [10.178.24.13] (unknown [192.55.54.59]) by mail.messagingengine.com (Postfix) with ESMTPA id 194E78005C; Fri, 21 Jun 2019 15:56:08 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Reducing UFS corruption from unclean shutdowns? From: Scott Long In-Reply-To: Date: Fri, 21 Jun 2019 13:56:08 -0600 Cc: FreeBSD CURRENT Content-Transfer-Encoding: 7bit Message-Id: References: To: Alan Somers X-Mailer: Apple Mail (2.3445.104.11) X-Rspamd-Queue-Id: 1804676530 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=samsco.org header.s=fm3 header.b=CZ50g+GI; dkim=pass header.d=messagingengine.com header.s=fm3 header.b=Yn/6qDOO; spf=pass (mx1.freebsd.org: domain of scottl@samsco.org designates 66.111.4.29 as permitted sender) smtp.mailfrom=scottl@samsco.org X-Spamd-Result: default: False [-5.59 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[samsco.org:s=fm3,messagingengine.com:s=fm3]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.29]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[samsco.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; RCVD_TLS_LAST(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[samsco.org:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: in2-smtp.messagingengine.com]; IP_SCORE(-3.53)[ip: (-9.79), ipnet: 66.111.4.0/24(-4.74), asn: 11403(-3.07), country: US(-0.06)]; NEURAL_HAM_SHORT(-0.95)[-0.949,0]; FROM_EQ_ENVFROM(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[29.4.111.66.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jun 2019 19:56:10 -0000 > On Jun 21, 2019, at 1:49 PM, Alan Somers wrote: > > I panic my development VM regularly. Each time, I need to fsck the > file system. Even if I had run sync(8) just before the panic, I > frequently find corruption. What should I change to make sync(8) > work, or at least to make corruption rare? It looks like my root file > system is using soft-updates+journal. Should I disable those? > What corruption do you regularly see? Scott