Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 09:15:35 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Francis Vidal <francisv-dated-1056024669.2da59c@irc.dagupan.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Help with vinum configuration
Message-ID:  <3EE87CF7.9030106@potentialtech.com>
In-Reply-To: <1055419869.67993.TMDA@irc.dagupan.com>
References:  <1055419869.67993.TMDA@irc.dagupan.com>

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

I don't actually see anything wrong.  What makes you think something is wrong?

Wait for the plex to finish the "init" state and then do "vinum start raid".
There may be another step in there somewhere, such as "vinum start raid.p0",
but I'm not 100% sure.

It can take a bit of time to init 298G of raid 5.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



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