Hello everybody.

I have a ccd containing two disks:

[EMAIL PROTECTED]:~ $ cat /etc/ccd.conf
#       $OpenBSD: ccd.conf,v 1.1 1996/08/24 20:52:22 deraadt Exp $
# Configuration file for concatenated disk devices
# ccd   ileave  flags   component devices
ccd0    64      0x8     /dev/wd0e /dev/wd1a

Sometimes after a reboot the system is can not build ccd0 because
wd1 doesn't have a correcte disklabel. I can set it manually (disklabel -E wd1)
to:
# disklabel wd1
# Inside MBR partition 0: type A6 start 63 size 234372222
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: ST3120026A
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 234375000
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
 a:     234372222            63  4.2BSD      0     0    0 # Cyl     0*-232512*
 c:     234375000             0  unused      0     0      # Cyl     0 -232514*

and I am able to build the ccd. Usually (~95%) the disklabel is correct and
ccd0 can be build on startup. But sometimes it "forgets" the disklabel and
wd1 contains:

# disklabel wd1
# Inside MBR partition 0: type A6 start 63 size 234372222
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: ST3120026A
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 234375000
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#             size        offset  fstype [fsize bsize  cpg]
 a:     234372222            63  unused      0     0    0 # Cyl     0*-232512*
 c:     234375000             0  unused      0     0      # Cyl     0 -232514*

and with a "unused" fstype ccdconfig fails to build the ccd-device.
Unfortunately I am not able to reproduce this bevaiour. It happens
sometimes.

The system runs:

OpenBSD gorg.badphish.dyndns.org 3.9 GORG#4 amd64

(3.9-STABLE)

Does anyone knows whats wrong or what I should do the fix this
behaviour?

Many thanks in advance,

Andreas.

--
Hobbes : Shouldn't we read the instructions?
Calvin : Do I look like a sissy?

Reply via email to