From owner-freebsd-current Mon Jul 27 10:33:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA26119 for freebsd-current-outgoing; Mon, 27 Jul 1998 10:33:21 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from paert.tse-online.de (paert.tse-online.de [194.97.69.172]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id KAA26095 for ; Mon, 27 Jul 1998 10:33:17 -0700 (PDT) (envelope-from ab@paert.tse-online.de) Received: (qmail 4501 invoked by uid 1000); 27 Jul 1998 17:38:37 -0000 Message-ID: <19980727193837.A4447@paert.tse-online.de> Date: Mon, 27 Jul 1998 19:38:37 +0200 From: Andreas Braukmann To: freebsd-current@FreeBSD.ORG Subject: difficulties with CCD? ... (ok. first time CCD-user :(( ) Mail-Followup-To: freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91i Organization: TSE TeleService GmbH Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, ... I'm trying to use the ccd-driver for mirroring. I labeled both of the chosen slices (sd1s1, sd2s1) as follows: > # size offset fstype [fsize bsize bps/cpg] > c: 8916012 0 unused 0 0 # (Cyl. 0 - 554*) > e: 8916012 0 4.2BSD 0 0 0 # (Cyl. 0 - 554*) My ccdconfig is like this: > adler# ccdconfig -g > ccd0 32 6 /dev/sd1e /dev/sd2e [BTW, I was quite astonished that I obviously have to use the compatibility- notation for the partion names ....] The 'automagically'(??) provided disklable for the ccd seems to be ok? > adler# disklabel ccd0 > # /dev/rccd0c: > type: CCD > disk: ccd > label: default label > flags: > bytes/sector: 512 > sectors/track: 2048 > tracks/cylinder: 1 > sectors/cylinder: 2048 > cylinders: 4353 > sectors/unit: 8915968 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # milliseconds > track-to-track seek: 0 # milliseconds > drivedata: 0 > > 3 partitions: > # size offset fstype [fsize bsize bps/cpg] > c: 8915968 0 4.2BSD 0 0 0 # (Cyl. 0 - 4353*) But every time a try to newfs the ccd: > adler# newfs rccd0c > Warning: 1024 sector(s) in last cylinder unallocated > /dev/rccd0c: 8915968 sectors in 2177 cylinders of 1 tracks, 4096 sectors > 4353.5MB in 137 cyl groups (16 c/g, 32.00MB/g, 7936 i/g) > super-block backups (for fsck -b #) at: > 32, 65568, 131104, 196640, 262176, 327712, 393248, 458784, 524320, 589856, > 655392, 720928, 786464, 852000, 917536, 983072, 1048608, 1114144, 1179680, [...] > 8912928, > newfs: ioctl (WDINFO): No such process > newfs: /dev/rccd0c: can't rewrite disk label Hmmm. Any hints? I have this feeling, that I might have overseen something important? TIA, Andreas -- /// TSE TeleService GmbH | Gsf: Arne Reuter | /// Hovestrasse 14 | Andreas Braukmann | We do it with /// D-48351 Everswinkel | HRB: 1430, AG WAF | FreeBSD/SMP /// ------------------------------------------------------------------- /// PGP-Key: http://www.tse-online.de/~ab/public-key /// Key fingerprint: 12 13 EF BC 22 DD F4 B6 3C 25 C9 06 DC D3 45 9B To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message