From owner-freebsd-questions@FreeBSD.ORG Mon Mar 29 00:08:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D94C316A4CE for ; Mon, 29 Mar 2004 00:08:00 -0800 (PST) Received: from ozlabs.org (ozlabs.org [203.10.76.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DEFB43D1F for ; Mon, 29 Mar 2004 00:08:00 -0800 (PST) (envelope-from grog@lemis.com) Received: from blackwater.lemis.com (blackwater.lemis.com [192.109.197.80]) by ozlabs.org (Postfix) with ESMTP id 3390B2BDA6 for ; Mon, 29 Mar 2004 18:07:55 +1000 (EST) Received: by blackwater.lemis.com (Postfix, from userid 1004) id B22E451225; Mon, 29 Mar 2004 17:37:52 +0930 (CST) Date: Mon, 29 Mar 2004 17:37:52 +0930 From: Greg 'groggy' Lehey To: Ludo Koren Message-ID: <20040329080752.GU52771@wantadilla.lemis.com> References: <200403290737.i2T7bd1g019407@lk106.tempest.sk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WKQ7zUpzoH2KEHMN" Content-Disposition: inline In-Reply-To: <200403290737.i2T7bd1g019407@lk106.tempest.sk> User-Agent: Mutt/1.4.1i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: questions@freebsd.org cc: Lukas Ertl Subject: Re: growfs on vinum volume X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Mar 2004 08:08:01 -0000 --WKQ7zUpzoH2KEHMN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 29 March 2004 at 9:37:39 +0200, Ludo Koren wrote: > > > on 5.2.1-RELEASE-p3, I did: > > ... > vinum create vinumgrow > > vinumgrow: > drive d3 device /dev/da2s1h > drive d4 device /dev/da3s1h > sd name mirror.p0.s1 drive d3 plex mirror.p0 size 0 > sd name mirror.p1.s1 drive d4 plex mirror.p1 size 0 > > after > > vinum -> start mirror.p0.s1 > > and > > vinum -> start mirror.p1.s1 > > I have > > vinum -> l > ... > D d1 State: up /dev/da1s1e A: 0/15452 MB (0%) > D rd1 State: up /dev/da1s1h A: 0/1023 MB (0%) You shouldn't have more than one drive per spindle. > D d2 State: up /dev/da0s1f A: 0/15452 MB (0%) > D rd2 State: up /dev/da0s1h A: 0/1023 MB (0%) Ditto. > D d3 State: up /dev/da2s1h A: 0/70001 MB (0%) > D d4 State: up /dev/da3s1h A: 0/70001 MB (0%) > > 2 volumes: > V mirror State: up Plexes: 2 Size: 83 GB > > 4 plexes: > P mirror.p0 C State: up Subdisks: 2 Size: 83 GB > P mirror.p1 C State: up Subdisks: 2 Size: 83 GB > > 6 subdisks: > S mirror.p0.s0 State: up D: d1 Size: 15 GB > S mirror.p1.s0 State: up D: d2 Size: 15 GB > S mirror.p0.s1 State: up D: d3 Size: 68 GB > S mirror.p1.s1 State: up D: d4 Size: 68 GB > vinum -> > > which seems to be correct... > > Than I did > > growfs /dev/vinum/mirror You've missed out some information. May I assume that you had a valid file system on the 15 GB volume mirror before you started this? > It finished with the following error: > > growfs: bad inode number 1 to ginode > > I have searched the archives, but did not find any answer. Please, > could you point to me what I did wrong? You trusted growfs on 5.2.1 :-) growfs is suffering from lack of love, and presumably you had a UFS 2 file system on the drive. It's only recently been fixed for that, in 5-CURRENT. What you do now depends on the state of the file system. Hopefully you still have the original contents. In this case, you could get hold of the version from -CURRENT, which should compile with no problems, and try again. It wouldn't do any harm to take down one of the plexes so that you can recover if something goes wrong. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html Note: I discard all HTML mail unseen. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. --WKQ7zUpzoH2KEHMN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQFAZ9lYIubykFB6QiMRAhOsAJ4qjAo53dm/pozv7RoyOAZG01fangCfYliY 3jCXCLGR4P9HPrt/0h35FT4= =EzMo -----END PGP SIGNATURE----- --WKQ7zUpzoH2KEHMN--