From owner-freebsd-questions@FreeBSD.ORG Mon Aug 11 22:16:31 2003 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 65D2F37B401 for ; Mon, 11 Aug 2003 22:16:31 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02FA743FA3 for ; Mon, 11 Aug 2003 22:16:29 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 999B2526AE; Tue, 12 Aug 2003 14:46:14 +0930 (CST) Date: Tue, 12 Aug 2003 14:46:14 +0930 From: Greg 'groggy' Lehey To: Shawn Ostapuk Message-ID: <20030812051614.GB23460@wantadilla.lemis.com> References: <20030812044100.GA3331@slumber.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vOmOzSkFvhd7u8Ms" Content-Disposition: inline In-Reply-To: <20030812044100.GA3331@slumber.org> User-Agent: Mutt/1.4i 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: freebsd-questions@freebsd.org Subject: Re: problem adding subdisk to vinum 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: Tue, 12 Aug 2003 05:16:31 -0000 --vOmOzSkFvhd7u8Ms Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 11 August 2003 at 21:41:00 -0700, Shawn Ostapuk wrote: > I have an unusual (or at least usual problem for me) with vinum that > I seem to be the only one suffering from. > > I'm running freebsd 4.8 RELEASE, generic kernel... > > I have about 10 drives making a terabyte or so with a simple concat > using vinum. Normally whenever i add a new drive i just do the usual: > > fdisk drive, disklabel -e drive, copy c: to e: change type to vinum > then edit vinum.conf from... > > drive vinumdrive0 device /dev/ad1e > drive vinumdrive1 device /dev/ad2e > drive vinumdrive2 device /dev/ad3e > drive vinumdrive3 device /dev/ad8e > drive vinumdrive4 device /dev/ad9e > drive vinumdrive5 device /dev/ad10e > drive vinumdrive6 device /dev/ad11e > drive vinumdrive7 device /dev/ad6e > drive vinumdrive8 device /dev/ad4e > drive vinumdrive9 device /dev/ad5e > volume pr0n > plex name vinum0.p0 org concat > sd name vinum0.p0.s0 drive vinumdrive0 size 0 > sd name vinum0.p0.s1 drive vinumdrive1 size 0 > sd name vinum0.p0.s2 drive vinumdrive2 size 0 > sd name vinum0.p0.s3 drive vinumdrive3 size 0 > sd name vinum0.p0.s4 drive vinumdrive4 size 0 > sd name vinum0.p0.s5 drive vinumdrive5 size 0 > sd name vinum0.p0.s6 drive vinumdrive6 size 0 > sd name vinum0.p0.s7 drive vinumdrive7 size 0 > sd name vinum0.p0.s8 drive vinumdrive8 size 0 > sd name vinum0.p0.s9 drive vinumdrive9 size 0 > to > > drive vinumdrive0 device /dev/ad1e Vinum configs are additive. You shouldn't redefine things that Vinum already knows about. As far as I can see with a superficial look, all you need is: > drive vinumdrive10 device /dev/ad7e > sd name vinum0.p0.s10 drive vinumdrive10 size 0 plex vinum0.p0 > BUT, now i cant mount the old filesystem > > mount says invalid superblock, fsck says cant read block (and -b32, > says same thing, ad nauseum), and growfs also errors out. Looks like you added the subdisk in the wrong place. What does vinum lv -r pr0n say? > from what i gathered appending a drive to the existing vinum config > should not have any effect on the existing filesystem size/data, > etc. i should be able to at the very least access it without any > problems i believe. Correct, modulo the fact that you've redefined a number of objects. It's possible that you're tickling a bug in the process. 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 See complete headers for address and phone numbers --vOmOzSkFvhd7u8Ms Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE/OHgeIubykFB6QiMRAh3jAJ46oZFKlqdguJYBMdafgOmPHkxoDACfarcW ugxm5lDATfvQxVHUavmEIOg= =m4PS -----END PGP SIGNATURE----- --vOmOzSkFvhd7u8Ms--