From owner-freebsd-questions Fri Jul 31 12:41:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11775 for freebsd-questions-outgoing; Fri, 31 Jul 1998 12:41:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11758 for ; Fri, 31 Jul 1998 12:41:24 -0700 (PDT) (envelope-from dhagan@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id PAA29053 for ; Fri, 31 Jul 1998 15:47:13 -0400 (EDT) Received: from rottweiler.cslab.vt.edu (rottweiler.cslab.vt.edu [198.82.184.24]) by sable.cc.vt.edu (8.8.8/8.8.8) with SMTP id PAA24315 for ; Fri, 31 Jul 1998 15:41:11 -0400 (EDT) Date: Fri, 31 Jul 1998 15:34:37 -0400 (EDT) From: "Daniel T. Hagan" X-Sender: dhagan@rottweiler.cslab.vt.edu To: questions@FreeBSD.ORG Subject: Disk mirroring with ccd Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >From the man page for ccd(8): Disk Mirroring You can configure the ccd to ``mirror'' any even number of disks. See ccdconfig(8) for how to specify the necessary flags. In an event of a disk failure, you can use dd(1) to recover the failed disk. Note that a one-disk ccd is not the same as the original partition. In particular, this means if you have a filesystem on a two-disk mirrored ccd and one of the disks fail, you cannot mount and use the remaining partition as itself; you have to configure it as a one-disk ccd. Just to be sure I understand what this is saying, if I have: ccd0 ?? CCDF_MIRROR /dev/sd1e /dev/sd2e as the configuration, and sd1 fails, can I change the configuration to: ccd0 ?? none /dev/sd2e And recover the data from ccd0? As an added question, how does interleaving affect disk mirroring under ccd? Any recommended values? Please cc: a reply directly to me, as I don't read the list on a regular basis. Thanks, Daniel Hagan --- Daniel Hagan http://www.acm.vt.edu/~dhagan Head Admin ACM dhagan@vt.edu Virginia Tech To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message