From owner-freebsd-geom@FreeBSD.ORG Thu Jul 13 20:06:52 2006 Return-Path: X-Original-To: freebsd-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 C445A16A4DD for ; Thu, 13 Jul 2006 20:06:52 +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 1AEBC43D45 for ; Thu, 13 Jul 2006 20:06:52 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id BDA1E51399; Thu, 13 Jul 2006 22:06:50 +0200 (CEST) Received: from localhost (dlq173.neoplus.adsl.tpnet.pl [83.24.46.173]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id B61E450E96; Thu, 13 Jul 2006 22:06:45 +0200 (CEST) Date: Thu, 13 Jul 2006 22:03:34 +0200 From: Pawel Jakub Dawidek To: Ferruccio Zamuner Message-ID: <20060713200334.GB38014@garage.freebsd.pl> References: <44B66213.4020603@diff.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="neYutvxvOLaeuPCA" Content-Disposition: inline In-Reply-To: <44B66213.4020603@diff.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (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: freebsd-geom@freebsd.org Subject: Re: gmirror State: STALE 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: Thu, 13 Jul 2006 20:06:52 -0000 --neYutvxvOLaeuPCA Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 13, 2006 at 05:09:07PM +0200, Ferruccio Zamuner wrote: > Hi, >=20 > I was using gvinum but I'd not discovered how to recover unused disk spac= e, then I was trying gmirror and gstripe instead. >=20 > Geom name: root > State: DEGRADED > Components: 2 > Balance: load > Slice: 4096 > Flags: NOAUTOSYNC > GenID: 0 > SyncID: 2 > ID: 316001977 > Providers: > 1. Name: mirror/root > Mediasize: 629145088 (600M) > Sectorsize: 512 > Mode: r1w1e1 > Consumers: > 1. Name: ad6s1a > Mediasize: 629145600 (600M) > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Priority: 1 > Flags: NONE > GenID: 0 > SyncID: 2 > ID: 3526336860 > 2. Name: ad4s1a > Mediasize: 629145600 (600M) > Sectorsize: 512 > Mode: r1w1e1 > State: STALE > Priority: 0 > Flags: SYNCHRONIZING > GenID: 0 > SyncID: 1 > ID: 2315910758 >=20 > How can I chage state of STALE from last one? > It has been in SYNCHRONIZING for some hour and it still there. SYNCHRONIZING is a flag only, not a state, it doesn't mean it is beeing synchronized, but that it needs synchronization. > Following cmds fails: >=20 > gmirror rebuild root /dev/ad4s1a Hmm, 'gmirror rebuild root ad4s1a' should work. I'll change it to accept components with /dev/ also. BTW. Are you sure you don't want to use autosynchronization? --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --neYutvxvOLaeuPCA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFEtqcWForvXbEpPzQRAhdTAKCoA9Mj41jgstUkyaseVFJBZRSlnQCeKWm4 S1iazGUlBEuT7wbT7o2Hzm4= =Mm16 -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA--