Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 May 2005 00:21:34 +0000 (GMT)
From:      Kris Kirby <kris@catonic.net>
To:        freebsd-questions@freebsd.org
Subject:   Vinum problems on FreeBSD 5.4-STABLE
Message-ID:  <Pine.BSF.4.61.0505280011340.49246@spaz.catonic.net>

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

Trying to make a mirror of two slices, but I see to be running into some 
issues here. I'm not on questions, so please CC me on all replies.

# /etc/vinum.conf
volume var
plex name var.p0 org concat
drive va device /dev/ad0s1g
sd name var.p0.s0 drive va length 256m
plex name var.p1 org concat
drive vb device /dev/ad1s1d
sd name var.p1.s0 drive vb length 256m

When I create it, using -f, I get:

vinum -> l
2 drives:
D va                    State: up       /dev/ad0s1g     A: 1791/2048 MB 
(87%) <- note triple allocation
D vb                    State: up       /dev/ad1s1d     A: 255/512 MB 
(49%)

1 volumes: V var State: up Plexes:  2 Size:  256 MB

2 plexes: 
P var.p0 C State: up Subdisks:  1 Size:  256 MB
P var.p1 C State: faulty Subdisks:  1 Size:  256 MB

2 subdisks: 
S var.p0.s0 State: up D: va Size:  256 MB
S var.p1.s0 State: empty D: vb Size:  256 MB

Doesn't seem like this is right. I also run into a problem when trying to 
do a resetconfig:

vinum -> resetconfig
 WARNING!  This command will completely wipe out your vinum configuration.
 All data will be lost.  If you really want to do this, enter the text

 NO FUTURE
 Enter text -> NO FUTURE
Can't find vinum config: Inappropriate ioctl for device

and the configuration is still there after I try to resetconfig. When I 
reboot and do I vinum start, I get an error that there are no drives in 
the vinum config. 

FreeBSD ginsu.catonic.net 5.4-STABLE FreeBSD 5.4-STABLE #1: Fri May 27 
01:28:15 PDT 2005     toor@ginsu.catonic.net:/usr/src/sys/i386/compile/SMP  
i386

dmesg availible on request. No securelevel in place, at -1. Thanks in 
advance.

--
Kris Kirby <kris@catonic.net>
                       "BIG BROTHER IS WATCHING YOU!"
 This message brought to you by the US Department of Homeland Security



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.61.0505280011340.49246>