Date: Tue, 7 Nov 2000 13:24:50 -1000 From: Gary Dunn <gdunng@mac.com> To: freebsd-questions@FreeBSD.ORG Subject: Vinum list complains that one of my plexes is faulty Message-ID: <00110713325700.07142@shf102107.hi.pac.army.mil>
next in thread | raw e-mail | index | archive | help
(Best when rendered with fixed-pitch font)
First of all, thanks to those who helped me get this far using vinum
to mirror a pair of hard disks. I almost have it working, but vinum
list complains that one of my plexes is faulty. Is it really, or is
the vinum error message bogus?
System: Compaq Proliant 800 w/ dual SCSI drives
FreeBSD 4.1 Release (CD's from Jehey book)
Output from dmesg.today:
[snip]
Waiting 15 seconds for SCSI devices to settle
sa0 at sym0 bus 0 target 6 lun 0
sa0: <COMPAQ SDT-7000 3.04> Removable Sequential Access SCSI-2 device
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
da0 at sym0 bus 0 target 0 lun 0
da0: <COMPAQ BB00923468 3B07> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled
da0: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
da1 at sym0 bus 0 target 1 lun 0
da1: <COMPAQ BB00923468 3B07> Fixed Direct Access SCSI-2 device
da1: 40.000MB/s transfers (20.000MHz, offset 16, 16bit), Tagged Queueing Enabled
da1: 8678MB (17773524 512 byte sectors: 255H 63S/T 1106C)
Mounting root from ufs:/dev/da0s1a
vinum: loaded
vinum: reading configuration from /dev/da1s1e
vinum: updating configuration from /dev/da0s1h
Output from disklabel da0:
# /dev/da0c:
type: SCSI
disk: da0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1105
sectors/unit: 17767827
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]
a: 102400 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 6*)
b: 1057840 102400 swap # (Cyl. 6*- 72*)
c: 17767827 0 unused 0 0 # (Cyl. 0 - 1105*)
e: 40960 1160240 4.2BSD 1024 8192 16 # (Cyl. 72*- 74*)
f: 4194304 1201200 4.2BSD 1024 8192 16 # (Cyl. 74*- 335*)
g: 2097152 5395504 4.2BSD 1024 8192 16 # (Cyl. 335*- 466*)
h: 10275171 7492656 vinum # (Cyl. 466*- 1105*)
Output from disklabel da1:
# /dev/da1c:
type: SCSI
disk: da1s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 1105
sectors/unit: 17767827
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 17767827 0 unused 0 0 # (Cyl. 0 - 1105*)
e: 10275171 0 vinum # (Cyl. 0 - 639*)
f: 7492656 10275171 4.2BSD 1024 8192 16 # (Cyl. 639*- 1105*)
Output from vinum list
2 drives:
D a State: up Device /dev/da0s1h Avail: 217/5017 MB (4%)
D b State: up Device /dev/da1s1e Avail: 217/5017 MB (4%)
1 volumes:
V mirrored State: up Plexes: 2 Size: 4800 MB
2 plexes:
P mirrored.p0 C State: up Subdisks: 1 Size: 4800 MB
P mirrored.p1 C State: faulty Subdisks: 1 Size: 4800 MB
-------------------------------^^^^^^
2 subdisks:
S mirrored.p0.s0 State: up PO: 0 B Size: 4800 MB
S mirrored.p1.s0 State: empty PO: 0 B Size: 4800 MB
-------------------------------^^^^^^
Output of df:
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/da0s1a 49583 26948 18669 59% /
/dev/da0s1g 1016303 1 934998 0% /sources
/dev/da0s1f 2032623 249247 1620767 13% /usr
/dev/da0s1e 19815 634 17596 3% /var
/dev/da1s1f 3630390 3 3339956 0% /www
/dev/vinum/mirrored 4763981 1 4382862 0% /mirrored
procfs 4 4 0 100% /proc
Output from vinum dumpconfig:
Drive a: Device /dev/da0s1h
Created on [hostname] at Thu Nov 2 15:44:37 2000
Config last updated Tue Nov 7 02:23:13 2000
Size: 5260887552 bytes (5017 MB)
----------------------------====^^^^^^
volume mirrored state up
plex name mirrored.p0 state up org concat vol mirrored
plex name mirrored.p1 state faulty org concat vol mirrored
sd name mirrored.p0.s0 drive a plex mirrored.p0 state up len 9830400s driveoffset 265s plexoffset 0s
sd name mirrored.p1.s0 drive b plex mirrored.p1 state empty len 9830400s driveoffset 265s plexoffset 0s
Drive /dev/da0s1h: 5017 MB (5260887552 bytes)
Drive b: Device /dev/da1s1e
Created on [hostname] at Thu Nov 2 15:44:37 2000
Config last updated Tue Nov 7 02:23:13 2000
Size: 5260705792 bytes (5017 MB)
----------------------------====^^^^^^
volume mirrored state up
plex name mirrored.p0 state up org concat vol mirrored
plex name mirrored.p1 state faulty org concat vol mirrored
sd name mirrored.p0.s0 drive a plex mirrored.p0 state up len 9830400s driveoffset 265s plexoffset 0s
sd name mirrored.p1.s0 drive b plex mirrored.p1 state empty len 9830400s driveoffset 265s plexoffset 0s
Drive /dev/da1s1e: 5017 MB (5260887552 bytes)
The other partition on /dev/da1 (/www) mounts and works perfectly, so the
disk is functional. I can newfs the mirrored volume, read and write data,
without a glitch, but the da1 piece remains empty.
Is the slight discrepency in the size of the vinum drives normal?
Does disklabel always see eight partitions? Why?
Where do I go from here?
--
== Gary Dunn
== Honolulu
== Open Slate Project
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?00110713325700.07142>
