From owner-freebsd-questions@FreeBSD.ORG Thu Aug 28 19:26:28 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 E9C7D1065670; Thu, 28 Aug 2008 19:26:28 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206045140.chello.pl [87.206.45.140]) by mx1.freebsd.org (Postfix) with ESMTP id 51AA68FC26; Thu, 28 Aug 2008 19:26:28 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 1FD7645CA6; Thu, 28 Aug 2008 21:04:24 +0200 (CEST) Received: from localhost (chello087206045140.chello.pl [87.206.45.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id D687F45B36; Thu, 28 Aug 2008 21:04:17 +0200 (CEST) Date: Thu, 28 Aug 2008 21:04:29 +0200 From: Pawel Jakub Dawidek To: Brian McCann Message-ID: <20080828190429.GB2292@garage.freebsd.pl> References: <2b5f066d0808280705y3454c188v768efe46b388864b@mail.gmail.com> <2b5f066d0808280743g69c32d1rd30aee0ca276125@mail.gmail.com> <2b5f066d0808280803ibca3f61xbb167bce384f228@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7iMSBzlTiPOCCT2k" Content-Disposition: inline In-Reply-To: <2b5f066d0808280803ibca3f61xbb167bce384f228@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 8.0-CURRENT i386 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=BAYES_00 autolearn=ham version=3.0.4 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 19:26:29 -0000 --7iMSBzlTiPOCCT2k Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Aug 28, 2008 at 11:03:49AM -0400, 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? >=20 > 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) >=20 > 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. >=20 > > > > 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. :) Don't worry about those if you have memory-backed RAID card. BIO_FLUSH is there to tell the disk to flush its write caches, but if it is memory-backed, there is low risk on losing unwritted data. This is not the cause of your problem. BTW. "journal ... clean" means that there was clean shutdown and there was no need to replay journal, while "journal ... consistent" means that there was unclean shutdown and journal replay was successful. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --7iMSBzlTiPOCCT2k Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFItva9ForvXbEpPzQRApSKAKDVg9/RaOXdb2z87MrYAXUQ20a3MwCbBlB8 yEo7XLlB92i0GRkxZL0V9X8= =T+aP -----END PGP SIGNATURE----- --7iMSBzlTiPOCCT2k--