Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jul 2002 09:23:49 -0400
From:      Jason Andresen <jandrese@mitre.org>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Why I hate Vinum ...
Message-ID:  <3D3C0765.655A6061@mitre.org>
References:  <20020722095505.D55177-100000@mail1.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
"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 <configfile>' ...
> 
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D3C0765.655A6061>