Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Aug 2011 08:36:56 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Identifying disk activity
Message-ID:  <alpine.BSF.2.00.1108280821080.36988@wonkity.com>
In-Reply-To: <20110828081141.880862f5.freebsd@edvax.de>
References:  <20110828073051.1ec5b66a.freebsd@edvax.de> <alpine.BSF.2.00.1108272338440.35166@wonkity.com> <20110828081141.880862f5.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <devices" in
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1108280821080.36988>