From owner-freebsd-questions@FreeBSD.ORG Sun Aug 28 14:36:59 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 774621065673 for ; Sun, 28 Aug 2011 14:36:59 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 34AB68FC12 for ; Sun, 28 Aug 2011 14:36:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id p7SEau8Q037354; Sun, 28 Aug 2011 08:36:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id p7SEauIQ037351; Sun, 28 Aug 2011 08:36:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 28 Aug 2011 08:36:56 -0600 (MDT) From: Warren Block To: Polytropon In-Reply-To: <20110828081141.880862f5.freebsd@edvax.de> Message-ID: References: <20110828073051.1ec5b66a.freebsd@edvax.de> <20110828081141.880862f5.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sun, 28 Aug 2011 08:36:56 -0600 (MDT) Cc: FreeBSD Questions Subject: Re: Identifying disk activity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Aug 2011 14:36:59 -0000 On Sun, 28 Aug 2011, Polytropon wrote: >>> Is there a way to force "synchronous disk activity"? >> >> Turning off soft updates will help, but not make disk writes >> totally synchronous. > > Can this be done easily (e. g. "tunefs -n disable SUM to the unmounted partitions), without data loss? I have to > admit that I've never tried that before. SUM isn't needed, just have the filesystem unmounted. Never had data loss from it. Disabling write caching will also help to make filesystem writes more synchronous. There are several sysctls and some information on soft updates at http://www.freebsd.org/doc/handbook/configtuning-disk.html.