From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 15:37:22 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 58B1537B401 for ; Thu, 12 Jun 2003 15:37:22 -0700 (PDT) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id ED50643F75 for ; Thu, 12 Jun 2003 15:37:19 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id EDA5C527A8; Fri, 13 Jun 2003 08:07:06 +0930 (CST) Date: Fri, 13 Jun 2003 08:07:06 +0930 From: Greg 'groggy' Lehey To: Francis Vidal Message-ID: <20030612223706.GD1015@wantadilla.lemis.com> References: <1055419869.67993.TMDA@irc.dagupan.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iVCmgExH7+hIHJ1A" Content-Disposition: inline In-Reply-To: <1055419869.67993.TMDA@irc.dagupan.com> 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: Help with vinum configuration 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: Thu, 12 Jun 2003 22:37:22 -0000 --iVCmgExH7+hIHJ1A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline [Format recovered--see http://www.lemis.com/email/email-format.html] Lines wrapped. On Thursday, 12 June 2003 at 20:11:07 +0800, Francis Vidal wrote: > Hi, > > I'm using FreeBSD 4.8-STABLE on an Pentium III machine. I'm trying to > configure a RAID-5 storage consisting of 5 80GB IDE drives connected to > two (2) Promise Ultra-133 TX2 controllers (1 disk on each channel and one > on channel 2 of the system board). The disks were configured as > "dangerously dedicated" (using /stand/sysinstall). > > Here's the output of `fdisk ad2': Not needed. For what you need to show and what you don't, see http://www.vinumvm.org/vinum/how-to-debug.html. > Here's the output of one of the disks (ad2) `disklabel ad2': > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 160086528 0 unused 0 0 # (Cyl. 0 - 9964*) > e: 160086528 0 vinum # (Cyl. 0 - 9964*) OK. > Here's my vinum configuration file (/etc/vinum.conf): Not needed. > Here's the output of `vinum list' after doing `vinum create -v > /etc/vinum.conf': > > 5 drives: > D d1 State: up Device /dev/ad2s1e Avail: 1822/78167 MB (2%) > D d2 State: up Device /dev/ad4s1e Avail: 1822/78167 MB (2%) > D d3 State: up Device /dev/ad6s1e Avail: 0/76345 MB (0%) > D d4 State: up Device /dev/ad8s1e Avail: 1822/78167 MB (2%) > D d5 State: up Device /dev/ad10s1e Avail: 1822/78167 MB (2%) > > 1 volumes: > V raid State: down Plexes: 1 Size: 298 GB > > 1 plexes: > P raid.p0 R5 State: init Subdisks: 5 Size: 298 GB > > 5 subdisks: > S raid.p0.s0 State: empty PO: 0 B Size: 74 GB > S raid.p0.s1 State: empty PO: 512 kB Size: 74 GB > S raid.p0.s2 State: empty PO: 1024 kB Size: 74 GB > S raid.p0.s3 State: empty PO: 1536 kB Size: 74 GB > S raid.p0.s4 State: empty PO: 2048 kB Size: 74 GB > > I can't figure out what's wrong with my configuration. The only think I can see is that you're using a stripe size which is a power of two. But that's just a potential performance hit, nothing serious. What do you think is 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 See complete headers for address and phone numbers --iVCmgExH7+hIHJ1A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+6QCSIubykFB6QiMRAihLAJ9trmemAja/d9CgNa6SP6gAhE8CFQCfQed1 O8QluCiYBcVwNO02fhK/VGg= =j/3E -----END PGP SIGNATURE----- --iVCmgExH7+hIHJ1A--