Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Feb 1999 01:30:01 -0600
From:      Glenn Johnson <gjohnson@nola.srrc.usda.gov>
To:        questions@freebsd.org
Subject:   Can't newfs a Vinum volume
Message-ID:  <19990216013001.A16778@symbion.srrc.usda.gov>

next in thread | raw e-mail | index | archive | help
I have been wrestling with vinumm trying to get it to work. Here is my
vinum configuration file:

drive drive1 device /dev/wd0s1f
drive drive2 device /dev/da0s1e
volume stripe1
 plex org striped 256k
  sd length 2764000b drive drive1
  sd length 2764000b drive drive2

Here are my disklabels:

 wd0:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:    65536        0    4.2BSD        0     0     0   # (Cyl.    0 - 7*)
  b:   281280    65536      swap                        # (Cyl.    7*- 41*)
  c:  3173184        0    unused        0     0         # (Cyl.    0 - 378*)
  e:    61440   346816    4.2BSD        0     0     0   # (Cyl.   41*- 48*)
  f:  2764928   408256    unused     1024  8192         # (Cyl.   48*- 378*)

 da0:
8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  b:   280576        0      swap                        # (Cyl.    0 - 198*)
  c:  8398600        0    unused        0     0         # (Cyl.    0 - 5939*)
  e:  2764928   280576    unused     1024  8192         # (Cyl.  198*- 2153*)
  f:  5353096  3045504    4.2BSD        0     0     0   # (Cyl. 2153*- 5939*)

Here is the result of vinum list:
Configuration summary

Drives:         2 (4 configured)
Volumes:        1 (4 configured)
Plexes:         2 (8 configured)
Subdisks:       3 (16 configured)

D drive1                State: up       Device /dev/wd0f
D drive2                State: up       Device /dev/da0e

V stripe1               State: up       Plexes:       1 Size:       2699 MB

P stripe1.p0          S State: up       Subdisks:     2 Size:       2699 MB

S stripe1.p0.s0         State: up       PO:        0  B Size:       1349 MB
S stripe1.p0.s1         State: up       PO:      256 kB Size:       1349 MB

But this is what happens when I try to make a newfs:

gforce# newfs -v /dev/vinum/rstripe1
vinum: null rqgwrite error: 5527999
newfs: wtfs: Invalid argument
gforce# Feb 16 01:27:21 gforce /kernel: vinum: null rqg
Feb 16 01:27:21 gforce /kernel: vinum: null rqg

What am I missing or doing wrong?

Thanks in advance.
-- 
Glenn Johnson
Technician
USDA, ARS, SRRC
New Orleans, LA



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?19990216013001.A16778>