Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 May 2000 11:50:23 -0700
From:      "Rick Moore" <rick@geckobot.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Vinum problem
Message-ID:  <004201bfb9e7$6f92f870$fd64a8c0@patches>

next in thread | raw e-mail | index | archive | help
Hello!

I'm running a fresh load of FreeBSD 4.0.  I've got 10 SCSI disks running on
an Adaptec 39160 which appear to work fine with file systems.

I remove the file systems from fstab and reboot.  All the labels look like
this:

# /dev/rda0c:
type: SCSI
disk: da0s1
label:
flags:
bytes/sector: 512
sectors/track: 51
tracks/cylinder: 166
sectors/cylinder: 8466
cylinders: 2118
sectors/unit: 17938986
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  c: 17938986        0    unused        0     0         # (Cyl.    0 -
2118*)
  e: 17938986        0    4.2BSD     1024  8192    16   # (Cyl.    0 -
2118*)

I start vinum with "kldload vinum" and issue the following command:

vinum "create -f striping" where "striping" is the following:

drive d0 device /dev/da0e
drive d1 device /dev/da1e
drive d2 device /dev/da2e
drive d3 device /dev/da3e
drive d4 device /dev/da4e
drive d5 device /dev/da5e
drive d6 device /dev/da6e
drive d7 device /dev/da7e
drive d8 device /dev/da8e
drive d9 device /dev/da9e
volume raid
 plex org striped 512k
  sd length 0 drive d0
  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

If I understand the docs, this should use the entire disk.  Unfortunately,
the resulting volume is of size 0!

So I try to create with the following:

drive d0 device /dev/da0e
drive d1 device /dev/da1e
drive d2 device /dev/da2e
drive d3 device /dev/da3e
drive d4 device /dev/da4e
drive d5 device /dev/da5e
drive d6 device /dev/da6e
drive d7 device /dev/da7e
drive d8 device /dev/da8e
drive d9 device /dev/da9e
volume raid
 plex org striped 512k
  sd length 512k drive d0
  sd length 512k drive d1
  sd length 512k drive d2
  sd length 512k drive d3
  sd length 512k drive d4
  sd length 512k drive d5
  sd length 512k drive d6
  sd length 512k drive d7
  sd length 512k drive d8
  sd length 512k drive d9

This works OK every now and then.  Very often the server crashes!  Of
course, the resulting volume is too small to be useful.  As a test I run
"vinum resetconfig" followed by "vinum create -f striping" again.  This time
the server crashes.  It's the exact same config file!

Am I doing something wrong?  I've got to believe that there is something
wrong with my procedure or my machine because it is *really* unstable and
doesn't appear to operate as advertised.  Any ideas / help would be
appreciated!

Regards,
Rick



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?004201bfb9e7$6f92f870$fd64a8c0>