From owner-freebsd-stable@FreeBSD.ORG Thu Apr 6 15:32:44 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A990B16A422 for ; Thu, 6 Apr 2006 15:32:44 +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 1280843D9C for ; Thu, 6 Apr 2006 15:32:27 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 76CFE52BC8; Thu, 6 Apr 2006 17:32:25 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id F3A2C52B3D; Thu, 6 Apr 2006 17:32:18 +0200 (CEST) Date: Thu, 6 Apr 2006 17:31:15 +0200 From: Pawel Jakub Dawidek To: =?iso-8859-2?Q?Jos=E9_M=2E?= Fandi?o Message-ID: <20060406153115.GC5578@garage.freebsd.pl> References: <4433DB2B.7753D2C3@fadesa.es> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aT9PWwzfKXlsBJM1" Content-Disposition: inline In-Reply-To: <4433DB2B.7753D2C3@fadesa.es> 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=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-stable@freebsd.org Subject: Re: GEOM_RAID3: Device datos is broken, too few valid components X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Apr 2006 15:32:44 -0000 --aT9PWwzfKXlsBJM1 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 05, 2006 at 04:58:51PM +0200, Jos=E9 M. Fandi?o wrote: +> Hello list, +>=20 +> Last night one disk of my desktop machine dead causing a hard lock of t= he +> computer. It was a component of a mirror volume so it wasn't as serious = as=20 +> it initially looked.=20 +>=20 +> Unfortunately, the metadata structure of my data partition (a geom raid= 3=20 +> array with tree components ) seems to be corrupted by this hard lock,=20 +> the following message is scrolled constantly on the screen: +>=20 +> GEOM_RAID3: Device datos created (id=3D3217021940). +> GEOM_RAID3: Device datos: provider ad6s2 detected. +> GEOM_RAID3: Device datos: provider ad5s2 detected. +> GEOM_RAID3: Device datos: provider ad4s2 detected. +> GEOM_RAID3: Component ad6s2 (device datos) broken, skipping. +> GEOM_RAID3: Component ad4s2 (device datos) broken, skipping. +> GEOM_RAID3: Device datos is broken, too few valid components. +> GEOM_RAID3: Device datos destroyed. +>=20 +> Checking the search engine results it isn't a very usual problem, the ad= vice=20 +> in the returned hits is rerunning "graid label -h datos ad4s2 ad5s2 ad6s= 2", +> but before of erasing all my data I would like to ask to list members.= =20 +>=20 +> How dangerous is running the mentioned command in this context? You should be safe as long as the order of slices you give here is the same as it was when device was initially labeled. Of course (as I understand) one of those broken components was really broken, right? If yes, you should 'graid3 rebuild' it immediatelly after 'label' command. If no, you should still rebuild one of them after labeling it. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --aT9PWwzfKXlsBJM1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFENTRDForvXbEpPzQRAkUoAJ9N6dwsGLfq9C8ge7XkA4RYNvivKgCfbUBK ds2OZ0esWdal8aTVmOgA5gQ= =XMkZ -----END PGP SIGNATURE----- --aT9PWwzfKXlsBJM1--