From owner-freebsd-questions@FreeBSD.ORG Tue Dec 7 00:50:37 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 2B0F816A4CE for ; Tue, 7 Dec 2004 00:50:37 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99F0843D45 for ; Tue, 7 Dec 2004 00:50:35 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 491028565F; Tue, 7 Dec 2004 11:20:33 +1030 (CST) Date: Tue, 7 Dec 2004 11:20:33 +1030 From: Greg 'groggy' Lehey To: Markus Hoenicka Message-ID: <20041207005033.GX92212@wantadilla.lemis.com> References: <16819.48747.223694.368063@tipi.mininet> <20041206023125.GU92212@wantadilla.lemis.com> <16820.57579.721193.800699@tipi.mininet> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UV7UemgNCuG1jdza" Content-Disposition: inline In-Reply-To: <16820.57579.721193.800699@tipi.mininet> 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 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 cc: freebsd-questions Subject: Re: vinum raid5: newfs throws an error 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, 07 Dec 2004 00:50:37 -0000 --UV7UemgNCuG1jdza Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 6 December 2004 at 23:44:59 +0100, Markus Hoenicka wrote: > Greg 'groggy' Lehey writes: >> There was once an error in the stripe size calculations that meant >> that there were holes in the plexes. Maybe it's still there (old >> Vinum is not being maintained). But you should have seen that in the >> console messages at create time. >> >>> Vinum reports the disk sizes as 17500MB (da1) and 17359MB (da2, >>> da3). The raid5 volume and plex have a size of 33GB. >> >> This looks like the kind of scenario where that could happen. Try >> this: >> >> 1. First, find a better stripe size. It shouldn't be a power of 2, >> but it should be a multiple of 16 kB. I'd recommend 496 kB. This >> won't fix the problem, but it's something you should do anyway >> >> 2. Calculate the length of an exact number of stripes, and create the >> subdisks in that length. Try again and see what happens. >> >> 3. Use gvinum instead of vinum and try both ways. >> > > Ok, I decreased the stripe size to 496, regardless of whether it has > anything to do with my problem. Next I set the subdisk length to > 17359m on all disks, and things started to work ok. No more newfs > errors here. OK, looks like this was the "hole in the plex" issue. I thought that was gone. 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. --UV7UemgNCuG1jdza Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBtP5ZIubykFB6QiMRAh64AJ0RBW+g1jqY7+07r2zbJhXcZpZpUgCfQOZM aGbWyl761WxQMN4C2kJfCDU= =TciY -----END PGP SIGNATURE----- --UV7UemgNCuG1jdza--