From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 15:25:40 2008 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 0B19E1065679 for ; Thu, 28 Aug 2008 15:25:40 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.191]) by mx1.freebsd.org (Postfix) with ESMTP id 8972C8FC08 for ; Thu, 28 Aug 2008 15:25:39 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so337104fkk.11 for ; Thu, 28 Aug 2008 08:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=OfTVUZMDc/3dVxJdNsC8NhD516aBqG9kOHVsF3mMDls=; b=MfQ09g1IorcHDJCaX0SHOC3b/mvqfN72Ca1oYjeJXfu8furVSFvNJKfLPnRFfOMhiu VR9P60cn/ChcnnNL0eTTciSVBncwTmo0y5abz693USUgZB9U7XB7NwIsfQsjxYmHp0iL RosKvoryNHlWu9SMKzLQEDYwQ5j30Oqyzjv1c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=J7tyadoRofdHCet9wOtF4jEfXhiGo9qEjrU//jq74/sbrgW0SXPr4Wid/lAANqCY2e 3500aCZrLlYS8g88Zs9g5MSEjL4TNLTkK5LKs9cBtD3rxmj76PXOVX1KFy8nuUcx8eKz pwiVfilKGm3xs69CZgor1WBv43Thu70iNCiXk= Received: by 10.181.37.11 with SMTP id p11mr2277875bkj.101.1219937137981; Thu, 28 Aug 2008 08:25:37 -0700 (PDT) Received: from joshua.freebsdgr.org ( [79.129.166.74]) by mx.google.com with ESMTPS id p9sm892453fkb.5.2008.08.28.08.25.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 28 Aug 2008 08:25:37 -0700 (PDT) Message-ID: <48B6C36E.4040502@gmail.com> Date: Thu, 28 Aug 2008 18:25:34 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.16 (X11/20080806) MIME-Version: 1.0 To: Brian McCann References: <2b5f066d0808280705y3454c188v768efe46b388864b@mail.gmail.com> <2b5f066d0808280743g69c32d1rd30aee0ca276125@mail.gmail.com> <2b5f066d0808280803ibca3f61xbb167bce384f228@mail.gmail.com> <2b5f066d0808280805t4c5f7051i60d02c7396c5f06d@mail.gmail.com> In-Reply-To: <2b5f066d0808280805t4c5f7051i60d02c7396c5f06d@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org, Ivan Voras , freebsd-questions@freebsd.org Subject: Re: gjournal & fsck 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: Thu, 28 Aug 2008 15:25:40 -0000 Brian McCann wrote: > On Thu, Aug 28, 2008 at 11:03 AM, Brian McCann wrote: > >> On Thu, Aug 28, 2008 at 10:51 AM, Ivan Voras wrote: >> >>> Does gjournal complain about your drive, for example that it doesn't >>> support BIOFLUSH? >>> >> Actually yes...I meant to post them in my last message, but hit send >> too early...here's my output from boot (from dmesg.boot) >> >> GEOM_JOURNAL: Journal 478661671: da1 contains data. >> GEOM_JOURNAL: Journal 478661671: da1 contains journal. >> GEOM_JOURNAL: Journal da1 clean. >> (da1:mly0:4:1:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 >> (da1:mly0:4:1:0): CAM Status: SCSI Status Error >> (da1:mly0:4:1:0): SCSI Status: Check Condition >> (da1:mly0:4:1:0): ILLEGAL REQUEST asc:24,0 >> (da1:mly0:4:1:0): Invalid field in CDB >> (da1:mly0:4:1:0): Unretryable error >> GEOM_JOURNAL: BIO_FLUSH not supported by da1. >> GEOM_JOURNAL: Journal 3065355517: da2 contains data. >> GEOM_JOURNAL: Journal 3065355517: da2 contains journal. >> GEOM_JOURNAL: Journal da2 clean. >> (da2:mly1:4:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 >> (da2:mly1:4:0:0): CAM Status: SCSI Status Error >> (da2:mly1:4:0:0): SCSI Status: Check Condition >> (da2:mly1:4:0:0): ILLEGAL REQUEST asc:24,0 >> (da2:mly1:4:0:0): Invalid field in CDB >> (da2:mly1:4:0:0): Unretryable error >> GEOM_JOURNAL: BIO_FLUSH not supported by da2. >> >> >>> Also, did fsck actually do something when it was started (did it find >>> anything corrupted)? >>> >>> >> No...it didn't find anything wrong / anything to fix. (and one of the >> file systems was being written to at the time...so at least journaling >> appears to be working) Something else I noticed...Manolis' article >> says it should say "journal xxxx consistent"...whereas mine says >> "Journal xxxx clean". I don't know what the differences mean, or what >> the BIO_FLUSH means...but I'm hoping you can tell me. :) >> >> Thanks again! >> --Brian >> >> > > I should probably also mention that this is on a Mylex 2000 RAID > controller...with a RAID-5 array and using write-caching. > > Thanks > --Brian > I don't have any "exotic" hardware myself - the article was written with standard SATA disks as examples. As I understand, the "consistent" message comes up when the journal is actually used to return the filesystem to a consistent state (what would happen after a power failure, when the filesystem is "dirty") and the "clean" message means there was no inconsistency between the filesystem and journal (a normat shutdown of the filesystem). If it comes up as "clean", I wonder why fsck kicks in at all...