From owner-freebsd-fs@FreeBSD.ORG Wed Apr 1 08:16:42 2015 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D356BE9 for ; Wed, 1 Apr 2015 08:16:42 +0000 (UTC) Received: from smtp42.i.mail.ru (smtp42.i.mail.ru [94.100.177.102]) (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 007A936C for ; Wed, 1 Apr 2015 08:16:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=j6F9PQj8ScTl+aIurEAEHjI4a35sVvb2OSARM30fTmU=; b=ojBUjUkhgej4yuNxh6Z2avAMjNMr11jkmZemDRxeXvQzEHdKhBdhlbfqUspw3zEjLrmOi+7Vcmbsj6SidxdovqgRgPso29DgCXYDpVgzs1yCKP77As09uw2aq8x4rq077N60zXnfi/YRtfk/rCx3+ozJ71HqC8sEfhZ+zulnvcs=; Received: from [109.188.127.13] (port=48335 helo=[192.168.0.12]) by smtp42.i.mail.ru with esmtpa (envelope-from ) id 1YdDp3-00005w-Uu; Wed, 01 Apr 2015 11:16:31 +0300 Message-ID: <551BA987.4050708@artem.ru> Date: Wed, 01 Apr 2015 11:17:11 +0300 From: Artem Kuchin User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Konstantin Belousov Subject: Re: Little research how rm -rf and tar kill server References: <55170D9C.1070107@artem.ru> <1427727936.293597.247070269.5CE0D411@webmail.messagingengine.com> <55196FC7.8090107@artem.ru> <1427730597.303984.247097389.165D5AAB@webmail.messagingengine.com> <5519716F.6060007@artem.ru> <1427731061.306961.247099633.0A421E90@webmail.messagingengine.com> <5519740A.1070902@artem.ru> <1427731759.309823.247107417.308CD298@webmail.messagingengine.com> <5519F74C.1040308@artem.ru> <20150331164202.GN2379@kib.kiev.ua> In-Reply-To: <20150331164202.GN2379@kib.kiev.ua> Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 8bit X-Spam: Not detected X-Mras: Ok Cc: freebsd-fs@freebsd.org X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Apr 2015 08:16:42 -0000 31.03.2015 19:42, Konstantin Belousov пишет: > On Tue, Mar 31, 2015 at 04:24:28AM +0300, Artem Kuchin wrote: >> 30.03.2015 19:09, Mark Felder пишет: >> > Syncer and sync(2) perform different kind of syncs. This is strange. Did you see what man 2 sync said? It specifically refers to syncer, implying that syncer does the same sync as man 2 sync Is man page outdated or incorrect? > Take the snapshot of > sysctl debug.softdep before and after the situation occur to have some > hints what is going on. Will do tonight. Before, during and after the untaring. > > Also, it makes sense to test the HEAD kernel after the r280763. Even if > I end up with any fix, it probably would require r280760 as prerequisite. This is a working loaded server, i am afraid to test HEAD on it. That make not be compatible with the rest of the system. And actually, i don't know how to fetch only kernel from HEAD :) > >> By the way: is there way to make sure that SU+J is really working? >> Maybe it is disabled for some reason >> and i don't know it. tunefs just shows stored setting, but, for example, >> with dirty fs, journaling is not >> working in reality. Any way to get current status of SU journaling? > Your statement about 'dirty fs' makes no sense. Maybe i misunderstood something Here is the situation: I have dirty shutdown, so fs is dirty fsck started at boot but said something about unexpected inconsistency and journal is not used i stopped fsck and made mount -f -a sh /etc/rc to boot the server and make it work anyway (later i shutdown it again and did fsck normally) As i understand journaling was disabled when i did mount -f -a correct? > > Journaling state is displayed by mount -v. Thank you!