From owner-freebsd-geom@FreeBSD.ORG Thu Aug 17 15:02:47 2006 Return-Path: X-Original-To: freebsd-geom@FreeBSD.org Delivered-To: freebsd-geom@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 482C916A4DA; Thu, 17 Aug 2006 15:02:47 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61DC843D8F; Thu, 17 Aug 2006 15:02:27 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k7HF2QqE091742; Thu, 17 Aug 2006 10:02:26 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44E4851A.6020904@centtech.com> Date: Thu, 17 Aug 2006 10:02:50 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.5 (X11/20060802) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <20060808195202.GA1564@garage.freebsd.pl> <44E46A68.6080602@centtech.com> <20060817140857.GB78978@garage.freebsd.pl> <44E481BE.2080408@centtech.com> <20060817150001.GC78978@garage.freebsd.pl> In-Reply-To: <20060817150001.GC78978@garage.freebsd.pl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.87.1/1677/Thu Aug 17 08:56:09 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-fs@FreeBSD.org, freebsd-geom@FreeBSD.org Subject: Re: GJournal (hopefully) final patches. X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Aug 2006 15:02:47 -0000 On 08/17/06 10:00, Pawel Jakub Dawidek wrote: > On Thu, Aug 17, 2006 at 09:48:30AM -0500, Eric Anderson wrote: >> On 08/17/06 09:08, Pawel Jakub Dawidek wrote: >>> On Thu, Aug 17, 2006 at 08:08:56AM -0500, Eric Anderson wrote: >>>> On 08/08/06 14:52, Pawel Jakub Dawidek wrote: >>>>> Hi. >>>>> I'm pleased to announce hopefully the final gjournal patches. >>>> [..snip..] >>>>> To create journaled UFS file system on ad0s1d partition: >>>>> # gjournal load >>>>> # gjournal label ad0s1d >>>>> # newfs -J /dev/ad0s1d.journal >>>>> # mount -o noatime,async /dev/ad0s1d.journal /mnt >>>>> On reboot 'fsck_ffs -p /dev/ad0s1d.journal' will perform fast check. One >>>>> can still run regular check by not giving the -p option. >>>> I have a 10TB filesystem I created as above, and recently a crash caused it to now complain about the filesystem being dirty. When I do an fsck -p, here's what I get: >>>> >>>> # fsck -p /dev/label/vol10 >>>> /dev/label/vol10: UNEXPECTED INCONSISTENCY, CANNOT RUN FAST FSCK >>>> >>>> >>>> /dev/label/vol10: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. >>> Do you have log from the boot before you saw this? >>> I corrected one bug, but it was only possible to trigger when crash >>> happened early in the boot process. Your crash was during or just after >>> a boot maybe? >> Yes, I have the logs. What should I send you? > > I just need 'grep -i journal' from them. > >> Also, I just tried newfs'ing a new journaled device, and mounting it, then a few minutes later, crashing the system (not purposely though), and it too gives the same >> results as the other filesystem (same specs, 10Tb, etc). >> >> The first crash was within about 30 minutes of booting, the second one was about the same time-frame. > > Maybe there was no writes? > There were no writes, absolutely. The only part of the fs that was touched, was the superblock (marking clean/dirty). Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------