Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Aug 2008 21:04:29 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Brian McCann <bjmccann@gmail.com>
Cc:        freebsd-geom@freebsd.org, Ivan Voras <ivoras@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: gjournal & fsck
Message-ID:  <20080828190429.GB2292@garage.freebsd.pl>
In-Reply-To: <2b5f066d0808280803ibca3f61xbb167bce384f228@mail.gmail.com>
References:  <2b5f066d0808280705y3454c188v768efe46b388864b@mail.gmail.com> <g96d2h$sp2$1@ger.gmane.org> <2b5f066d0808280743g69c32d1rd30aee0ca276125@mail.gmail.com> <g96e22$1l7$1@ger.gmane.org> <2b5f066d0808280803ibca3f61xbb167bce384f228@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ivoras@freebsd.org> 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--



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