Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Jul 2007 21:12:50 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Marc UBM Bocklet <ubm@u-boot-man.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: geom_journal - bio_flush not supported on disks connected via usb?
Message-ID:  <20070730191250.GM1092@garage.freebsd.pl>
In-Reply-To: <20070730155802.523dad8b.ubm@u-boot-man.de>
References:  <20070730155802.523dad8b.ubm@u-boot-man.de>

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

--DfnuYBTqzt7sVGu3
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 30, 2007 at 03:58:02PM +0200, Marc UBM Bocklet wrote:
>=20
> Hiho! :-)
>=20
>=20
> During startup, I got this error (only once):
>=20
>=20
> GEOM_JOURNAL: Journal 1159150689: da0 contains data.
> GEOM_JOURNAL: Journal 1159150689: da0 contains journal.
> GEOM_JOURNAL: Journal da0 clean.
> (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0=20
> (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error
> (da0:umass-sim0:0:0:0): SCSI Status: Check Condition
> (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0
> (da0:umass-sim0:0:0:0): Invalid command operation code
> (da0:umass-sim0:0:0:0): Unretryable error
> GEOM_JOURNAL: BIO_FLUSH not supported by da0.
>=20
>=20
> da0 is 250GB usb disk (using ehci(4)).
>=20
> I do not understand completely what this means. Has the BIO_FLUSH
> command only failed once and works now on subsequent tries?

No, it means that gjournal tried it once and now knows that it's not
supported, so won't spam you console again.

> Does BIO_FLUSH never work, because it's not implemented (or can't be
> implemented) for disks connected via usb? And if thats the case, will
> that affect geom_journal in any way? Is my data still being journalled
> correctly? :-)

If write cache is turned on on your disk, there can be a problem in case
of a power failure. I don't know how write cache is beeing turned on for
a disk connected via USB. Is it turned on by default? If it's turned off
by default, then you are safe.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--DfnuYBTqzt7sVGu3
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFGrjgyForvXbEpPzQRAn8SAJsHOOD8Lbl9kYfVtko+TZxLbw60QQCdE9nI
Jhr/DsjNnT2xfUsER3RyILI=
=CqOr
-----END PGP SIGNATURE-----

--DfnuYBTqzt7sVGu3--



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