From owner-freebsd-current@FreeBSD.ORG Mon Jul 30 19:13:41 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71E2A16A420 for ; Mon, 30 Jul 2007 19:13:41 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.freebsd.org (Postfix) with ESMTP id 14B1513C46A for ; Mon, 30 Jul 2007 19:13:40 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 46C7F487F4; Mon, 30 Jul 2007 21:13:39 +0200 (CEST) Received: from localhost (154.81.datacomsa.pl [195.34.81.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id CFA6245685; Mon, 30 Jul 2007 21:13:33 +0200 (CEST) Date: Mon, 30 Jul 2007 21:12:50 +0200 From: Pawel Jakub Dawidek To: Marc UBM Bocklet Message-ID: <20070730191250.GM1092@garage.freebsd.pl> References: <20070730155802.523dad8b.ubm@u-boot-man.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DfnuYBTqzt7sVGu3" Content-Disposition: inline In-Reply-To: <20070730155802.523dad8b.ubm@u-boot-man.de> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.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-current@freebsd.org Subject: Re: geom_journal - bio_flush not supported on disks connected via usb? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 19:13:41 -0000 --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--