From owner-freebsd-stable@FreeBSD.ORG Tue Apr 11 05:52:00 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 C716916A46B for ; Tue, 11 Apr 2006 05:52:00 +0000 (UTC) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id D190B43D45 for ; Tue, 11 Apr 2006 05:51:59 +0000 (GMT) (envelope-from ru@ip.net.ua) Received: from localhost (rocky.ip.net.ua [82.193.96.2]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k3B5pkdc041940; Tue, 11 Apr 2006 08:51:46 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: from tigra.ip.net.ua ([82.193.96.10]) by localhost (rocky.ip.net.ua [82.193.96.2]) (amavisd-new, port 10024) with LMTP id 36005-05; Tue, 11 Apr 2006 08:51:46 +0300 (EEST) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id k3B5pKRx041929 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 11 Apr 2006 08:51:20 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.13.6/8.13.6) id k3B5pKI9048060; Tue, 11 Apr 2006 08:51:20 +0300 (EEST) (envelope-from ru) Date: Tue, 11 Apr 2006 08:51:20 +0300 From: Ruslan Ermilov To: "Jos? M. Fandi?o" Message-ID: <20060411055120.GA3319@ip.net.ua> References: <4433DB2B.7753D2C3@fadesa.es> <20060406153115.GC5578@garage.freebsd.pl> <44354FB1.6163DF7A@fadesa.es> <4436199E.3E019AD4@fadesa.es> <443A5E8A.FBFABB3F@fadesa.es> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Dxnq1zWXvFF0Q93v" Content-Disposition: inline In-Reply-To: <443A5E8A.FBFABB3F@fadesa.es> User-Agent: Mutt/1.5.11 X-Virus-Scanned: amavisd-new at ip.net.ua 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: Tue, 11 Apr 2006 05:52:01 -0000 --Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 10, 2006 at 03:32:58PM +0200, Jos? M. Fandi?o wrote: > I have follow this procedure and it worked for me: >=20 > select "6. Escape to loader prompt"=20 > OK unload > OK disable-module geom_raid3 > OK boot -s > # fsck -p > # mount -a > # graid3 dump ad4s2 | grep -w no=20 > # graid3 dump ad5s2 | grep -w no > # graid3 dump ad6s2 | grep -w no > (this will give you the right order to use with the next command) > # graid3 label -h ad5s2 ad6s2 ad4s2 > # graid3 load > # graid3 remove -n 0 datos > # graid3 insert -n 0 datos ad5s2 >=20 > now, all is working as expected. However I'm curious about the=20 > missing flag "HARDCODED" for ad5s2.=20 >=20 This is because your "insert" command above didn't include the -h option. The remove/insert could be replaced by "graid3 rebuild datos ad5s2". > is it reasonable to ignore this missing flag? >=20 You can "graid3 configure -h" it. > # grai3 list > Geom name: datos > State: COMPLETE > Components: 3 > Flags: ROUND-ROBIN > GenID: 0 > SyncID: 1 > ID: 1391160618 > Providers: > 1. Name: raid3/datos > Mediasize: 311491352576 (290G) > Sectorsize: 1024 > Mode: r1w1e1 > Consumers: > 1. Name: ad4s2 > Mediasize: 155745676800 (145G) > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Flags: DIRTY, HARDCODED > GenID: 0 > SyncID: 1 > Number: 2 > Type: PARITY > 2. Name: ad5s2 > Mediasize: 155745676800 (145G) > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Flags: DIRTY > GenID: 0 > SyncID: 1 > Number: 0 > Type: DATA > 3. Name: ad6s2 > Mediasize: 155745676800 (145G) > Sectorsize: 512 > Mode: r1w1e1 > State: ACTIVE > Flags: DIRTY, HARDCODED > GenID: 0 > SyncID: 1 > Number: 1 > Type: DATA Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEO0PYqRfpzJluFF4RArVUAJ4m7DVnvlnDknz++Nigj1MQTro08gCeOciW 0HnASgMBIecEvxER6LU7NnU= =5APf -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--