vinum panic on -devel

joerg at britannica.bec.de joerg at britannica.bec.de
Wed Jul 5 16:09:11 PDT 2006


On Wed, Jul 05, 2006 at 03:48:55PM -0700, Matthew Dillon wrote:
>     It would be great if some vinum testing could be done.

If you have some spare drives, try the following setup:

--- cut ---

drive v0 device /dev/ad0s1e
drive v1 device /dev/ad1s1e
drive v2 device /dev/ad2s1e
drive v3 device /dev/ad3s1e

volume test1
  plex org striped 256s
    sd drive v0 len 5g
    sd drive v1 len 5g
  plex org striped 256s
    sd drive v2 len 5g
    sd drive v3 len 5g

volume test2
  plex org concat
    sd drive v0 len 5g
    sd drive v1 len 5g

volume test3
  plex org raid5 256s
    sd drive v0 len 5g
    sd drive v1 len 5g
    sd drive v2 len 5g
    sd drive v3 len 5g

--- cut ---

Which should cover the more important code pathes.
A good test pattern could be writing the block number into each disk
block and reading them back. Sorry, I don't have the resources right now
:-)

Joerg





More information about the Bugs mailing list