From owner-freebsd-geom@FreeBSD.ORG Tue Feb 7 23:50:15 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 8A57216A420; Tue, 7 Feb 2006 23:50:15 +0000 (GMT) (envelope-from grog@lemis.com) Received: from ext-gw.lemis.com (ext-gw.lemis.com [150.101.14.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD69A43D48; Tue, 7 Feb 2006 23:50:14 +0000 (GMT) (envelope-from grog@lemis.com) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.135]) by ext-gw.lemis.com (Postfix) with ESMTP id 9117E1310BC; Wed, 8 Feb 2006 10:20:13 +1030 (CST) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 780A3857EF; Wed, 8 Feb 2006 10:20:13 +1030 (CST) Date: Wed, 8 Feb 2006 10:20:13 +1030 From: Greg 'groggy' Lehey To: Lukas Ertl Message-ID: <20060207235013.GJ855@wantadilla.lemis.com> References: <43E86E6E.1030200@diff.org> <20060207110028.U3500@pcle2.cc.univie.ac.at> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k6SrlR5F+BMzH45x" Content-Disposition: inline In-Reply-To: <20060207110028.U3500@pcle2.cc.univie.ac.at> User-Agent: Mutt/1.4.2.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 VoIP: sip:0871270137@sip.internode.on.net WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: Ferruccio Zamuner , freebsd-geom@FreeBSD.org Subject: Re: gvinum setstate failure 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: Tue, 07 Feb 2006 23:50:15 -0000 --k6SrlR5F+BMzH45x Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tuesday, 7 February 2006 at 11:01:14 +0100, Lukas Ertl wrote: > On Tue, 7 Feb 2006, Ferruccio Zamuner wrote: > >> While I'm able to execute from gvinum >> gvinum -> setstate up veloce.p0.s0 >> >> The same command on sicuro.p0.s0 fails: >> gvinum -> setstate up sicuro.p0.s0 >> gvinum: cannot set subdisk state >> >> gvinum -> setstate up sicuro.p1.s0 >> gvinum: cannot set subdisk state >> >> sicuro is the name of volume in mirror, while veloce is in stripping. >> >> How can I change stale status to up on those subdisks? > > If it's a mirror you should run "start " to let it synchronize. 'setstate' is not the same as 'start'. It's an emergency function to manipulate the state without going through the normal procedures. For example, if you know that the plex currently marked 'up' is in fact corrupt, and the plex currently marked 'down' contains the correct data, you don't want to run start. Greg -- See complete headers for address and phone numbers. --k6SrlR5F+BMzH45x Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFD6TI1IubykFB6QiMRAncGAKCJw3dza1i7Z7nnrw9SGGPo2kICNQCeMPxd dF/4roqjTl1o+CwI/WeiaEE= =Xzon -----END PGP SIGNATURE----- --k6SrlR5F+BMzH45x--