Hello everyone.
I have faced problem with ccd(4) on OpenBSD 5.0 i386 GENERIC#43
When I try to serially concatenate two IDE disks with ccd(4), every
time I get system not responding at all.
I do setup strictry following the man pages. Both disks are connected to
one IDE port on mother board via one IDE cord. Both disks are connected
via mobile racks. Both disks are 100% operable in "usual way", with a
separate filesystem on every disk and with a separate mount points.
1.
I make both disks empty by doing like
dd if=/dev/zero of=/dev/wd{1,2}c bs=8k count=1
2.
Then I make one partition with a 1 cylinder ahead by disklabel -E wd{1,2}
I specify 1c as the beginning of the partition (1 cylinder as
recommended in the man page) and CCD as the type of it.
Finally both disklabels look like this:
----------
# disklabel -c
wd1
# /dev/rwd1c:
type: ESDI
disk: ESDI/IDE disk
label: ST380011A
duid: 090a858d9c19eb41
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 9729
total sectors: 156301488
boundstart: 0
boundend: 156301488
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 156285423 16065 ccd
c: 156301488 0 unused
# disklabel -c wd2
# /dev/rwd2c:
type: ESDI
disk: ESDI/IDE disk
label: Maxtor 6Y120L0
duid: 7dbbd494f9ef2808
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 14946
total sectors: 240119615
boundstart: 0
boundend: 240119615
drivedata: 0
16 partitions:
# size offset fstype [fsize bsize cpg]
a: 240103550 16065 ccd
c: 240119615 0 unused
----------
3.
After that I do
ccdconfig -c -v ccd0 0 none /dev/wd1a /dev/wd2a
As soon as I press enter here, the whole system becomes dead.
All net links to that machine become dead in a couple of seconds after
that command is executed and the machine does not respond at all.
I have found no way to make it work...
Have anyone faced such behavior?
Thanks.