Help with vinum configuration

Greg 'groggy' Lehey grog at FreeBSD.org
Thu Jun 12 15:37:22 PDT 2003


[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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030613/84beb325/attachment.bin


More information about the freebsd-questions mailing list