From owner-freebsd-questions Sun Jul 21 01:14:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA20051 for questions-outgoing; Sun, 21 Jul 1996 01:14:44 -0700 (PDT) Received: from baloon.mimi.com (sjx-ca16-04.ix.netcom.com [199.35.223.132]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA20039 for ; Sun, 21 Jul 1996 01:14:40 -0700 (PDT) Received: (from asami@localhost) by baloon.mimi.com (8.7.5/8.6.12) id BAA24473; Sun, 21 Jul 1996 01:14:06 -0700 (PDT) Date: Sun, 21 Jul 1996 01:14:06 -0700 (PDT) Message-Id: <199607210814.BAA24473@baloon.mimi.com> To: njensen@salsa.habaneros.com CC: njensen@salsa.habaneros.com, questions@freebsd.org In-reply-to: <01BB768C.C8253040@jalapeno.habaneros.com> (njensen@salsa.habaneros.com) Subject: RE: 2.1.5R and ccd questions From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk * 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. Aw shucks. I haven't tried the "auto" myself, didn't know that doesn't work with ccd. Yes, it seems like you can't edit the ccd disklabel (with disklabel -e) without writing one first. (The output you get by just calling disklabel on ccd0 is a "fake" one and you can't edit that.) Just save the output of "disklabel ccd0" in a file, write *some* label (e.g., "disklabel -wr ccd0 fuji513", look at /etc/disktab for entries), and then use "disklabel -e ccd0" and save the result back. You can then modify it. Satoshi