From owner-freebsd-geom@FreeBSD.ORG Sat Apr 29 07:16:40 2006 Return-Path: X-Original-To: geom@freebsd.org Delivered-To: freebsd-geom@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A627116A400 for ; Sat, 29 Apr 2006 07:16:40 +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 001C343D48 for ; Sat, 29 Apr 2006 07:16:39 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id CE78852C10; Sat, 29 Apr 2006 09:16:37 +0200 (CEST) Received: from localhost (dli137.neoplus.adsl.tpnet.pl [83.24.38.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 3A3DA50B0D; Sat, 29 Apr 2006 09:16:28 +0200 (CEST) Date: Sat, 29 Apr 2006 09:15:02 +0200 From: Pawel Jakub Dawidek To: Rong-En Fan Message-ID: <20060429071501.GA4896@garage.freebsd.pl> References: <6eb82e0604281734v37c6eca0q8daa5dbca66f58d7@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8t9RHnE3ZwKMSgU+" Content-Disposition: inline In-Reply-To: <6eb82e0604281734v37c6eca0q8daa5dbca66f58d7@mail.gmail.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-0.5 required=3.0 tests=BAYES_00,RCVD_IN_NJABL_DUL, RCVD_IN_SORBS_DUL autolearn=no version=3.0.4 Cc: geom@freebsd.org Subject: Re: v_vfs_done error = 1 on gconcat device X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Apr 2006 07:16:40 -0000 --8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 28, 2006 at 08:34:03PM -0400, Rong-En Fan wrote: +> Hi Pawel, +>=20 +> I'm running RELENG_6 around Apr 6. Sometimes, I saw lots of +>=20 +> g_vfs_done():concat/tmp[WRITE(offset=3D25658605568, length=3D114688)]err= or =3D 1 +> g_vfs_done():concat/tmp[WRITE(offset=3D25658605568, length=3D114688)]err= or =3D 1 +> g_vfs_done():concat/tmp[WRITE(offset=3D25658605568, length=3D114688)]err= or =3D 1 +> g_vfs_done():concat/tmp[WRITE(offset=3D25658605568, length=3D114688)]err= or =3D 1 +> g_vfs_done():concat/tmp[WRITE(offset=3D25658605568, length=3D114688)]err= or =3D 1 +>=20 +> in my console. The concat/tmp is consist of two disk: +>=20 +> Geom name: tmp +> State: UP +> Status: Total=3D2, Online=3D2 +> Type: AUTOMATIC +> ID: 2047271624 +> Providers: +> 1. Name: concat/tmp +> Mediasize: 62055485440 (58G) +> Sectorsize: 512 +> Mode: r1w1e1 +> Consumers: +> 1. Name: da0s1d +> Mediasize: 25658654720 (24G) +> Sectorsize: 512 +> Mode: r1w1e2 +> Start: 0 +> End: 25658654208 +> 2. Name: da1s1e +> Mediasize: 36396831744 (34G) +> Sectorsize: 512 +> Mode: r1w1e2 +> Start: 25658654208 +> End: 62055485440 +>=20 +> If the offset in the console is in the same unit as "Mediasize" in gconc= at list, +> then, it looks like it tries to write something that crossing two +> physical disks. +> IIRC, everytime I see those messages, the offset is really close to the +> end of the first disk. +>=20 +> Any ideas? It works here: # mdconfig -a -t malloc -s 25658654720b -u 0 # mdconfig -a -t malloc -s 36396831744b -u 1 # gconcat label foo md0 md1 # sysctl kern.geom.concat.debug=3D2 # ./dwrite /dev/concat/foo 25658605568 114688 The console output: GEOM_CONCAT[2]: Request received. concat/foo[WRITE(offset=3D25658605568, l= ength=3D114688)] GEOM_CONCAT[2]: Sending request. md0[WRITE(offset=3D25658605568, length=3D= 48640)] GEOM_CONCAT[2]: Sending request. md1[WRITE(offset=3D0, length=3D66048)] I'd more expect that your partitions are not properly configured. Can you show me the output of "bsdlabel /dev/da1s1"? PS. # gconcat list Geom name: foo State: UP Status: Total=3D2, Online=3D2 Type: AUTOMATIC ID: 2742083475 Providers: 1. Name: concat/foo Mediasize: 62055485440 (58G) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: md0 Mediasize: 25658654720 (24G) Sectorsize: 512 Mode: r0w0e0 Start: 0 End: 25658654208 2. Name: md1 Mediasize: 36396831744 (34G) Sectorsize: 512 Mode: r0w0e0 Start: 25658654208 End: 62055485440 --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEUxJ1ForvXbEpPzQRAgiPAKCJM27WDNOczHNTgrwrBuA3A/1DDgCg2kuf Qpp3chSAi4zDpVSDwUDHfB8= =gHdh -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--