Date: Mon, 19 Mar 2001 08:50:54 -0600 From: Steve Price <steve@havk.org> To: grog@freebsd.org Cc: questions@freebsd.org Subject: faulty plex in vinum Message-ID: <20010319085054.U26665@bsd.havk.org>
next in thread | raw e-mail | index | archive | help
I have a recently built GENERIC 4.3-BETA box that I'm trying to
build a vinum volume on and I'm stuck. I've created a RAID1
volume exactly as shown from the manpage except the sizes are
different. I've initialized each of the plexes a number of times
which takes an awful long time for 54GB even on relatively fast
IDE drives. Yet I can't seem to get the second plex out of the
faulty state. Any ideas on what I might be doing wrong?
If it matters the two partitions I'm using both had a ufs filesystem
on them from the install but I never put any data on them. I figured
doing an 'init mirror.p0 mirror.p1' would have cleared all that off.
root@max(~)# cat vinum.config
drive d1 device /dev/ad0s4e
drive d2 device /dev/ad2s4e
volume mirror
plex org concat
sd length 55560m drive d1
plex org concat
sd length 55560m drive d2
root@max(~)# vinum
vinum -> create -v vinum.config
1: drive d1 device /dev/ad0s4e
2: drive d2 device /dev/ad2s4e
3: volume mirror
4: plex org concat
5: sd length 55560m drive d1
6: plex org concat
7: sd length 55560m drive d2
2 drives:
Drive d1: Device /dev/ad0s4e
Created on max.dogbark.com at Sun Mar 18 19:06:43 2001
Config last updated Mon Mar 19 08:41:19 2001
Size: 58259658240 bytes (55560 MB)
Used: 58259018240 bytes (55560 MB)
Available: 640000 bytes (0 MB)
State: up
Last error: none
Active requests: 0
Maximum active: 0
Drive d2: Device /dev/ad2s4e
Created on max.dogbark.com at Sun Mar 18 19:06:43 2001
Config last updated Mon Mar 19 08:41:19 2001
Size: 58259658240 bytes (55560 MB)
Used: 58259018240 bytes (55560 MB)
Available: 640000 bytes (0 MB)
State: up
Last error: none
Active requests: 0
Maximum active: 0
1 volumes:
Volume mirror: Size: 58258882560 bytes (55560 MB)
State: up
Flags:
2 plexes
Read policy: round robin
2 plexes:
Plex mirror.p0: Size: 58258882560 bytes (55560 MB)
Subdisks: 1
State: up
Organization: concat
Part of volume mirror
Plex mirror.p1: Size: 58258882560 bytes (55560 MB)
Subdisks: 1
State: faulty
Organization: concat
Part of volume mirror
2 subdisks:
Subdisk mirror.p0.s0:
Size: 58258882560 bytes (55560 MB)
State: up
Plex mirror.p0 at offset 0 (0 B)
Drive d1 (/dev/ad0s4e) at offset 135680 (132 kB)
Subdisk mirror.p1.s0:
Size: 58258882560 bytes (55560 MB)
State: empty
Plex mirror.p1 at offset 0 (0 B)
Drive d2 (/dev/ad2s4e) at offset 135680 (132 kB)
vinum -> list
2 drives:
D d1 State: up Device /dev/ad0s4e Avail: 0/55560 MB (0%)
D d2 State: up Device /dev/ad2s4e Avail: 0/55560 MB (0%)
1 volumes:
V mirror State: up Plexes: 2 Size: 54 GB
2 plexes:
P mirror.p0 C State: up Subdisks: 1 Size: 54 GB
P mirror.p1 C State: faulty Subdisks: 1 Size: 54 GB
2 subdisks:
S mirror.p0.s0 State: up PO: 0 B Size: 54 GB
S mirror.p1.s0 State: empty PO: 0 B Size: 54 GB
vinum -> printconfig
# Vinum configuration of max.dogbark.com, saved at Mon Mar 19 08:42:33
# 2001
drive d1 device /dev/ad0s4e
drive d2 device /dev/ad2s4e
volume mirror
plex name mirror.p0 org concat vol mirror
plex name mirror.p1 org concat vol mirror
sd name mirror.p0.s0 drive d1 plex mirror.p0 len 113786880s driveoffset 265s plexoffset 0s
sd name mirror.p1.s0 drive d2 plex mirror.p1 len 113786880s driveoffset 265s plexoffset 0s
vinum -> start
** no drives found: No such file or directory
Warning: defective objects
P mirror.p1 C State: faulty Subdisks: 1 Size: 54 GB
S mirror.p1.s0 State: empty PO: 0 B Size: 54 GB
vinum -> quit
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?20010319085054.U26665>
