From owner-freebsd-questions@FreeBSD.ORG Thu Jun 12 05:11:14 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 851E937B401 for ; Thu, 12 Jun 2003 05:11:14 -0700 (PDT) Received: from irc.dagupan.com (irc.dagupan.com [202.91.161.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C16543FB1 for ; Thu, 12 Jun 2003 05:11:13 -0700 (PDT) (envelope-from francisv-sender-988004@irc.dagupan.com) Received: by irc.dagupan.com (Postfix, from userid 1022) id DF291A7; Thu, 12 Jun 2003 20:11:10 +0800 (PHT) Received: from irc.dagupan.com (localhost [127.0.0.1]) by irc.dagupan.com (Postfix) with ESMTP id 80081A2 for ; Thu, 12 Jun 2003 20:11:09 +0800 (PHT) To: Date: Thu, 12 Jun 2003 20:11:07 +0800 X-Mailer: Microsoft Outlook, Build 11.0.4920 Thread-Index: AcMw22knWJgwUNkVT2K93OZLI/xNaA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 From: Francis Vidal Message-ID: <1055419869.67993.TMDA@irc.dagupan.com> X-Delivery-Agent: TMDA/0.70 (Pensive) X-Spam-Status: No, hits=0.9 required=5.5 tests=FROM_ENDS_IN_NUMS version=2.50-cvs X-Spam-Level: X-Sanitizer: Secured by Bitstop Network Services MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Help with vinum configuration X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Francis Vidal List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 12:11:14 -0000 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': ******* Working on device /dev/ad2 ******* parameters extracted from in-core disklabel are: cylinders=10767 heads=236 sectors/track=63 (14868 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=10767 heads=236 sectors/track=63 (14868 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165,(FreeBSD/NetBSD/386BSD) start 0, size 160086528 (78167 Meg), flag 80 (active) beg: cyl 0/ head 0/ sector 1; end: cyl 1023/ head 235/ sector 63 The data for partition 2 is: The data for partition 3 is: The data for partition 4 is: Here's the output of one of the disks (ad2) `disklabel ad2': # /dev/ad2c: type: ESDI disk: ad2s1 label: flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 255 sectors/cylinder: 16065 cylinders: 9964 sectors/unit: 160086528 rpm: 3600 interleave: 1 trackskew: 0 cylinderskew: 0 headswitch: 0 # milliseconds track-to-track seek: 0 # milliseconds drivedata: 0 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*) Here's my vinum configuration file (/etc/vinum.conf): drive d1 device /dev/ad2s1e drive d2 device /dev/ad4s1e drive d3 device /dev/ad6s1e drive d4 device /dev/ad8s1e drive d5 device /dev/ad10s1e volume raid plex org raid5 512k sd length 76345m drive d1 sd length 76345m drive d2 sd length 76345m drive d3 sd length 76345m drive d4 sd length 76345m drive d5 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. --- francis a. vidal [bitstop network services] | http://www.bnshosting.net streaming media + web hosting | http://www.bitstop.ph v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph