On Wed, 23 Aug 2006, Andreas Maus wrote: [snip]
> I have a ccd containing two disks: 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: Does anyone knows whats wrong > or what I should do the fix this behaviour? See: http://inglorion.net/documents/tutorials/ccd See: http://morgenes.shire.sytes.net/~inglorion/documents/tutorials/ccd Assuming you don't have any bad disks, I think you are forgetting that the disklabels on wd0, wd1 are different than the disklabel that is needed on ccd0. I don't see your fstab. Are you trying to mount ccd0c? Treat ccd0 like it's it's own disk; like how you would treat a physical disk. See below for my 3.9 ccd configuration which is working fine. -- Kyle George Director of Software Engineering Hi-Mark Software e: [EMAIL PROTECTED] e: [EMAIL PROTECTED] -- # disklabel wd0: # Inside MBR partition 3: type A6 start 63 size 312576642 # /dev/rwd0c: type: ESDI disk: ESDI/IDE disk label: WDC WD1600JS-55N flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 312581808 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: 14680449 63 4.2BSD 2048 16384 328 # Cyl 0*- 14563 b: 4194288 14680512 swap # Cyl 14564 - 18724 c: 312581808 0 unused 0 0 # Cyl 0 -310100 d: 125828640 18874800 4.2BSD 2048 16384 16 # Cyl 18725 -143554 e: 10486224 144703440 4.2BSD 2048 16384 328 # Cyl 143555 -153957 -- # disklabel wd1: # Inside MBR partition 3: type A6 start 63 size 156248127 # /dev/rwd1c: type: ESDI disk: ESDI/IDE disk label: Maxtor 6Y080M0 flags: bytes/sector: 512 sectors/track: 63 tracks/cylinder: 16 sectors/cylinder: 1008 cylinders: 16383 total sectors: 156250000 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: 14680449 63 4.2BSD 2048 16384 328 # Cyl 0*- 14563 b: 4194288 14680512 swap # Cyl 14564 - 18724 c: 156250000 0 unused 0 0 # Cyl 0 -155009* d: 125828640 18874800 4.2BSD 2048 16384 16 # Cyl 18725 -143554 e: 10486224 144703440 4.2BSD 2048 16384 16 # Cyl 143555 -153957 -- # cat /etc/ccd.conf: ccd0 16 CCDF_MIRROR /dev/wd0d /dev/wd1d -- # disklabel ccd0: # /dev/rccd0c: type: ccd disk: ccd label: default label flags: bytes/sector: 512 sectors/track: 16 tracks/cylinder: 1 sectors/cylinder: 16 cylinders: 7864290 total sectors: 125828640 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: 41943040 0 4.2BSD 2048 16384 2420 # Cyl 0 -2621439 c: 125828640 0 unused 0 0 # Cyl 0 -7864289 d: 41943040 41943040 4.2BSD 2048 16384 2420 # Cyl 2621440 -5242879 e: 41942560 83886080 4.2BSD 2048 16384 2420 # Cyl 5242880 -7864289 -- # cat /etc/fstab: /dev/wd0a / ffs rw,softdep 1 1 /dev/wd1a /altroot ffs xx 0 0 /dev/wd0e /tmp ffs rw,nodev,nosuid,softdep 1 2 /dev/ccd0e /home ffs rw,nodev,nosuid,softdep 1 2 /dev/ccd0a /usr ffs rw,nodev,softdep 1 2 /dev/ccd0d /var ffs rw,nodev,nosuid,softdep 1 2