From owner-freebsd-questions Sat Jul 20 22:47:46 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA14478 for questions-outgoing; Sat, 20 Jul 1996 22:47:46 -0700 (PDT) Received: from salsa.habaneros.com ([207.34.140.99]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id WAA14473 for ; Sat, 20 Jul 1996 22:47:43 -0700 (PDT) Received: from jalapeno.habaneros.com (jalapeno.habaneros.com [207.34.140.98]) by salsa.habaneros.com (8.6.12/8.6.12) with SMTP id WAA01525; Sat, 20 Jul 1996 22:34:02 -0700 Received: by jalapeno.habaneros.com with Microsoft Mail id <01BB768C.C8253040@jalapeno.habaneros.com>; Sat, 20 Jul 1996 22:42:50 -0700 Message-ID: <01BB768C.C8253040@jalapeno.habaneros.com> From: "Neil C. Jensen" To: "'Neil C. Jensen'" , "'questions@freebsd.org'" Cc: "'asami@cs.berkeley.edu'" Subject: RE: 2.1.5R and ccd questions Date: Sat, 20 Jul 1996 22:42:49 -0700 Encoding: 70 TEXT Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Sorry for the long post, I thought I'd include the info below for reference.... 1 . I've been attempting to get disk mirroring working following the directions below. I can make it to the point where I create the 1-disk ccd, however, I have troubles disklabeling it. When I attempt "disklabel -w -r ccd0 auto" I get back "disklabel: open(): No such file or directory". The man pages for disklabel mention that there may be problems with this, but do not give any solutions. Does anyone know how to make this work so I can label ccd0? BTW, I tried going ahead anyway and editiing the disklabel using "disklabel -e ccd", but this created errors if I just tried to label the e & f partitions. The man pages stated that some drivers only would work with "a" paritions for unlabeled disks and I tried that as well without success. Thanks in advance for your help. Neil Jensen Habanero Studios Vancouver, Canada ---------- From: Neil C. Jensen[SMTP:njensen@salsa.habaneros.com] Sent: Thursday, July 18, 1996 4:56 PM To: 'questions@freebsd.org' Cc: 'asami@cs.berkeley.edu' Subject: 2.1.5R and ccd questions Just finished installing 2.1.5R (went very smoothly, thanks Team FreeBSD!) and thought I'd try disk mirroring using ccd. I want to mirror the contents of my entire file system so that I can reboot from one of the disk if the other fails. I have read the documentation; ccd home page and man pages and am still unclear on exactly what I need to do. I have two idential SCSI drives, sd0 & sd1. Right now the OS is installed on sd0 and I have done nothing to sd1. Do I; 1. recompile a new kernel with 'pseudo-device ccd 4' ? 2. use dd to copy the contents of sd0 to sd1? (do I need to use disklabel,partition first?) 3. create the /etc/ccd.conf file with CCDF_MIRROR flag? 4. now run ccdconfig, creating device ccd0? 5. is ccd0 now my device with the original filesystem installed, except now I am mirrored? 6. by default, I think the system will boot from sd0. If sd0 fails, how do I get the system to boot from sd1, will it automatically check for a valid system there? 7. how do I test if ccd is working? Thanks in advance for your help. I will compile any responses I get for possible inclusion in the handbook. Neil Jensen Habanero Studios Ltd Vancouver, Canada