From owner-freebsd-geom@FreeBSD.ORG Fri Dec 5 14:48:14 2008 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93C8F1065673 for ; Fri, 5 Dec 2008 14:48:14 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (chello087206045082.chello.pl [87.206.45.82]) by mx1.freebsd.org (Postfix) with ESMTP id CD88F8FC19 for ; Fri, 5 Dec 2008 14:48:13 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 8275A45685; Fri, 5 Dec 2008 15:48:11 +0100 (CET) Received: from localhost (pjdwl.wheel.pl [10.0.1.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id F36A345683; Fri, 5 Dec 2008 15:48:05 +0100 (CET) Date: Fri, 5 Dec 2008 15:48:06 +0100 From: Pawel Jakub Dawidek To: Charlie La Mothe Message-ID: <20081205144806.GA3284@garage.freebsd.pl> References: <6AEFCB5D-BF7F-49EE-9EDC-E5CD63920508@clamothe.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k1lZvvs/B4yU6o8G" Content-Disposition: inline In-Reply-To: <6AEFCB5D-BF7F-49EE-9EDC-E5CD63920508@clamothe.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=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-geom@freebsd.org Subject: Re: gmirror insert error: Synchronization request failed (error=1) 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: Fri, 05 Dec 2008 14:48:14 -0000 --k1lZvvs/B4yU6o8G Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 05, 2008 at 04:33:38AM -0800, Charlie La Mothe wrote: > I have three SATA disks: ad6, ad7, and ad8. >=20 > I just installed a fresh copy of FreeBSD 7.0 amd64 (minimal) on ad6s1a. >=20 > I setup a gmirror with: gmirror -vb round-robin gm0 /dev/ad6s1a. I =20 > edited my fstab, and told my loader.conf to load geom_mirror. >=20 > The machine boots up fine, however I run into an error when I try to =20 > insert an additional component: >=20 > # gmirror insert gm0 /dev/ad7s1d > # tail /var/log/messages > Dec 5 04:27:51 monopoly kernel: GEOM_MIRROR: Device gm0: rebuilding =20 > provider ad7s1d. > Dec 5 04:27:51 monopoly kernel: GEOM_MIRROR: Synchronization request =20 > failed (error=3D1). ad7s1d[WRITE(offset=3D0, length=3D131072)] > Dec 5 04:27:51 monopoly kernel: GEOM_MIRROR: Device gm0: provider =20 > ad7s1d disconnected. > Dec 5 04:27:51 monopoly kernel: GEOM_MIRROR: Device gm0: rebuilding =20 > provider ad7s1d stopped. >=20 > # gmirror status > Name Status Components > mirror/gm0 DEGRADED ad6s1a >=20 > # gmirror list > Geom name: gm0 > State: DEGRADED > Components: 2 > Balance: round-robin > Slice: 4096 > Flags: NONE > GenID: 4 > SyncID: 1 > ID: 1745622490 > Providers: > 1. Name: mirror/gm0 > Mediasize: 5368708608 (5.0G) > Sectorsize: 512 > Mode: r1w1e1 > Consumers: > 1. Name: ad6s1a > Mediasize: 5368709120 (5.0G) > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Priority: 0 > Flags: NONE > GenID: 4 > SyncID: 1 > ID: 3963284114 >=20 >=20 > I haven't been able to find any explanation for this error. The same =20 > error occurs when I attempt to insert the ad8s1d component. >=20 > All of the hard drives diagnose to be working. >=20 >=20 > BSD label Reference: >=20 > Each disk has one slice. >=20 > Summary: > 5GB UFS boot partition > 5GB Swap > ~950GB unused partition (for zfs / raidz). >=20 > # bsdlabel /dev/ad6s1 >=20 > # /dev/ad6s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 10485760 0 4.2BSD 2048 16384 28528 > b: 10485760 10485760 swap > c: 1953520002 0 unused 0 0 # "raw" =20 > part, don't edit > d: 1932548482 20971520 4.2BSD 0 0 0 >=20 > # bsdlabel /dev/ad7s1 >=20 > # /dev/ad7s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > b: 10485760 10485760 swap > c: 1953520002 0 unused 0 0 # "raw" =20 > part, don't edit > d: 10485760 0 4.2BSD 0 0 0 This is your problem. No partition should start at offset 0 and yet sysinstall creates those. > e: 1932548482 20971520 4.2BSD 0 0 0 >=20 >=20 > # bsdlabel /dev/ad8s1 >=20 > # /dev/ad8s1: > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > b: 10485760 10485760 swap > c: 1953520002 0 unused 0 0 # "raw" =20 > part, don't edit > d: 10485760 0 4.2BSD 0 0 0 > e: 1932548482 20971520 4.2BSD 0 0 0 >=20 > _______________________________________________ > freebsd-geom@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-geom > To unsubscribe, send any mail to "freebsd-geom-unsubscribe@freebsd.org" --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --k1lZvvs/B4yU6o8G Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFJOT8mForvXbEpPzQRAtTmAKDznj1HZdyciyl7MbwBxetuopnrlwCgu3VV zi32qGOMO+CjDu6kzIiaWHU= =KWrh -----END PGP SIGNATURE----- --k1lZvvs/B4yU6o8G--