From owner-freebsd-questions@FreeBSD.ORG Mon Dec 6 00:06:43 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 EC38116A4E8 for ; Mon, 6 Dec 2004 00:06:43 +0000 (GMT) Received: from blackwater.lemis.com (wantadilla.lemis.com [192.109.197.135]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43BF743D2F for ; Mon, 6 Dec 2004 00:06:42 +0000 (GMT) (envelope-from grog@lemis.com) Received: by blackwater.lemis.com (Postfix, from userid 1004) id 5734C85640; Mon, 6 Dec 2004 10:36:39 +1030 (CST) Date: Mon, 6 Dec 2004 10:36:39 +1030 From: Greg 'groggy' Lehey To: Markus Hoenicka Message-ID: <20041206000639.GP92212@wantadilla.lemis.com> References: <16819.39297.635859.406944@tipi.mininet> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xYeFQzU4VZLrHqxU" Content-Disposition: inline In-Reply-To: <16819.39297.635859.406944@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@freebsd.org Subject: Re: vinum limits disk size to 255MB 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, 06 Dec 2004 00:06:44 -0000 --xYeFQzU4VZLrHqxU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Monday, 6 December 2004 at 0:28:01 +0100, Markus Hoenicka wrote: > Hi all, > > I'm trying to set up vinum on a freshly installed FreeBSD 5.3-BETA7 > box. The system is installed on da0. I want to use three 18G SCSI > drives to create a vinum volume. > > For some reason vinum believes the disks hold a mere 255MB. This is > what vinum sets the subdisk length if I specify "0m" as the length > (meaning "use all available space" according to the manual). If I > specify any larger size manually, vinum complains that there is "No > space left on device" which strikes me odd. I *believe* that the fdisk > and bsdlabel outputs reprinted below show that the disks are indeed > 18G. According to my math, the appropriate size to specify in the > vinum configuration would be 35566215s, that is the number of sectors > of the smaller disks minus 265. > > I see only one minor problem: The disks are not identical, with > da1 having a slightly larger capacity than da2 and da3. > > Can anyone throw me a ring here? You don't say whether you're using vinum or gvinum. I've never seen this problem before, but if you're getting incorrect subdisk sizes, try specifying them explicitly: sd length 35840952s drive ibma=20 I wonder whether the problem is related to specifying the size as 0m instead of 0. It shouldn't be. 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. --xYeFQzU4VZLrHqxU Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBs6KPIubykFB6QiMRArnnAJ9qhOHv8kiAEmYpsH92Mq1SerOZbwCgri5h URe8ZSoArvMj2vO3Rz8uPQQ= =QEap -----END PGP SIGNATURE----- --xYeFQzU4VZLrHqxU--