Vinum

Daniel Foster daniel-l at 34SP.com
Tue Jun 26 12:34:01 BST 2001


I'm running FreeBSD 4.3-RELEASE.

I've been trying to get vinum up and running with mirrored volumes for /usr
and /var.  I've partitioned the drives, used disklabel to change 4.2BSD to
vinum, and made a vinum config file:

drive v1 device /dev/ad0s3e
drive v2 device /dev/ad1s3e
drive u1 device /dev/ad0s4e
drive u2 device /dev/ad1s4e

volume varvol
  plex org concat
    sd length 999m drive v1
  plex org concat
    sd length 999m drive v2
volume usrvol
  plex org concat
    sd length 7518m drive u1
  plex org concat
    sd length 7518m drive u2

Which as I understand it should create two mirrored volumes called usrvol
and varvol.

I then run 'vinum create /etc/vinum.conf' which gives back:

4 drives:                                 
D v1        State: up     Device /dev/ad0s3e      Avail: 0/999 MB (0%)
D v2        State: up     Device /dev/ad1s3e      Avail: 0/999 MB (0%)
D u1        State: up     Device /dev/ad0s4e      Avail: 0/7518 MB (0%)
D u2        State: up     Device /dev/ad1s4e      Avail: 0/7518 MB (0%)

2 volumes:
V varvol          State: up       Plexes:       2 Size:      999 MB
V usrvol          State: up       Plexes:       2 Size:     7518 MB
 
4 plexes:
P varvol.p0           C State: up       Subdisks:     1 Size:        999 MB
P varvol.p1           C State: faulty   Subdisks:     1 Size:        999 MB
P usrvol.p0           C State: up       Subdisks:     1 Size:       7518 MB
P usrvol.p1           C State: faulty   Subdisks:     1 Size:       7518 MB

4 subdisks:
S varvol.p0.s0          State: up       PO:        0  B Size:        999 MB
S varvol.p1.s0          State: empty    PO:        0  B Size:        999 MB
S usrvol.p0.s0          State: up       PO:        0  B Size:       7518 MB
S usrvol.p1.s0          State: empty    PO:        0  B Size:       7518 MB

So you can see the problem.  If I change the type of either ad1s3e or
ad1s4e to 4.2BSD and newfs it, it will mount fine so I don't think the
hardware is faulty.

Has anyone got any ideas?  Please? (I'm getting a bit desparate now, up
against deadlines and all).

-- 

Daniel Foster - daniel at 34SP.com




More information about the Ukfreebsd mailing list