From owner-freebsd-stable Mon Jul 22 6:24:17 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D4FE37B400 for ; Mon, 22 Jul 2002 06:24:10 -0700 (PDT) Received: from smtpproxy1.mitre.org (smtpproxy1.mitre.org [192.160.51.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id B005343E4A for ; Mon, 22 Jul 2002 06:24:09 -0700 (PDT) (envelope-from jandrese@mitre.org) Received: from avsrv1.mitre.org (avsrv1.mitre.org [129.83.20.58]) by smtpproxy1.mitre.org (8.11.3/8.11.3) with ESMTP id g6MDO7405763; Mon, 22 Jul 2002 09:24:07 -0400 (EDT) Received: from MAILHUB1 (mailhub1.mitre.org [129.83.20.31]) by smtpsrv1.mitre.org (8.11.3/8.11.3) with ESMTP id g6MDO5Y08529; Mon, 22 Jul 2002 09:24:06 -0400 (EDT) Received: from mm112324-2k.mitre.org (128.29.105.195) by mailhub1.mitre.org with SMTP id 10931671; Mon, 22 Jul 2002 09:23:10 -0400 Message-ID: <3D3C0765.655A6061@mitre.org> Date: Mon, 22 Jul 2002 09:23:49 -0400 From: Jason Andresen Organization: The MITRE Corporation X-Mailer: Mozilla 4.79 [en]C-20020130M (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Marc G. Fournier" Cc: freebsd-stable@freebsd.org Subject: Re: Why I hate Vinum ... References: <20020722095505.D55177-100000@mail1.hub.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG "Marc G. Fournier" wrote: > > Can someone tell me what this is doing? Its been in an 'init' state since > Friday, when I first configured this ... I figured it was just being slow > on Friday, due to the size of the array, but today is Monday and its > *still* working? Or is it? > > nemesis# vinum list > 14 drives: > D d1 State: up Device /dev/da2s1a Avail: 0/17095 MB (0%) > D d2 State: up Device /dev/da9s1a Avail: 0/17095 MB (0%) > D d3 State: up Device /dev/da3s1a Avail: 0/17095 MB (0%) > D d4 State: up Device /dev/da10s1a Avail: 0/17095 MB (0%) > D d5 State: up Device /dev/da4s1a Avail: 0/17095 MB (0%) > D d6 State: up Device /dev/da11s1a Avail: 0/17095 MB (0%) > D d7 State: up Device /dev/da5s1a Avail: 0/17095 MB (0%) > D d8 State: up Device /dev/da12s1a Avail: 0/17095 MB (0%) > D d9 State: up Device /dev/da6s1a Avail: 0/17095 MB (0%) > D d10 State: up Device /dev/da13s1a Avail: 0/17095 MB (0%) > D d11 State: up Device /dev/da7s1a Avail: 0/17095 MB (0%) > D d12 State: up Device /dev/da14s1a Avail: 0/17095 MB (0%) > D d13 State: up Device /dev/da8s1a Avail: 0/17095 MB (0%) > D d14 State: up Device /dev/da15s1a Avail: 0/17095 MB (0%) > D d15 State: referenced Device Avail: 0/0 MB d15 is trouble. It says you are trying to use the disc, but it hasn't been configured in your system. > 1 volumes: > V jaildev State: down Plexes: 1 Size: 218 GB > > 1 plexes: > P jaildev.p0 R5 State: init Subdisks: 15 Size: 218 GB > > 15 subdisks: > S jaildev.p0.s0 State: empty PO: 0 B Size: 16 GB > S jaildev.p0.s1 State: empty PO: 512 kB Size: 16 GB > S jaildev.p0.s2 State: empty PO: 1024 kB Size: 16 GB > S jaildev.p0.s3 State: empty PO: 1536 kB Size: 16 GB > S jaildev.p0.s4 State: empty PO: 2048 kB Size: 16 GB > S jaildev.p0.s5 State: empty PO: 2560 kB Size: 16 GB > S jaildev.p0.s6 State: empty PO: 3072 kB Size: 16 GB > S jaildev.p0.s7 State: empty PO: 3584 kB Size: 16 GB > S jaildev.p0.s8 State: empty PO: 4096 kB Size: 16 GB > S jaildev.p0.s9 State: empty PO: 4608 kB Size: 16 GB > S jaildev.p0.s10 State: empty PO: 5120 kB Size: 16 GB > S jaildev.p0.s11 State: empty PO: 5632 kB Size: 16 GB > S jaildev.p0.s12 State: empty PO: 6144 kB Size: 16 GB > S jaildev.p0.s13 State: empty PO: 6656 kB Size: 16 GB > S jaildev.p0.s14 State: empty PO: 7168 kB Size: 0 B Here is shows up as a 0GB device. > My 'config file' is simple&straightforward, I think: > > drive d1 device /dev/da2s1a > drive d2 device /dev/da9s1a > drive d3 device /dev/da3s1a > drive d4 device /dev/da10s1a > drive d5 device /dev/da4s1a > drive d6 device /dev/da11s1a > drive d7 device /dev/da5s1a > drive d8 device /dev/da12s1a > drive d9 device /dev/da6s1a > drive d10 device /dev/da13s1a > drive d11 device /dev/da7s1a > drive d12 device /dev/da14s1a > drive d13 device /dev/da8s1a > drive d14 device /dev/da15s1a > volume jaildev > plex org raid5 512k > sd length 0 drive d1 > sd length 0 drive d2 > sd length 0 drive d3 > sd length 0 drive d4 > sd length 0 drive d5 > sd length 0 drive d6 > sd length 0 drive d7 > sd length 0 drive d8 > sd length 0 drive d9 > sd length 0 drive d10 > sd length 0 drive d11 > sd length 0 drive d12 > sd length 0 drive d13 > sd length 0 drive d14 > sd length 0 drive d15 There would be your problem. You have drive ... lines for d1 through d14, but you have sd ... lines for d1 through d15. > And all I did was a 'vinum create -v ' ... > > All the drives are identical, and partitions the same: > > /dev/da2s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da9s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da3s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da10s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da4s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da11s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da5s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da12s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da6s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da13s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da7s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da14s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da8s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > /dev/da15s1a: a: 35011429 524288 vinum # (Cyl. 32*- 2211*) > > So, what exactly am I overlooking here :( -- \ |_ _|__ __|_ \ __| Jason Andresen jandrese@mitre.org |\/ | | | / _| Network and Distributed Systems Engineer _| _|___| _| _|_\___| Office: 703-883-7755 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message