Date: Sun, 21 Jul 1996 01:14:06 -0700 (PDT) From: asami@cs.berkeley.edu (Satoshi Asami) To: njensen@salsa.habaneros.com Cc: njensen@salsa.habaneros.com, questions@freebsd.org Subject: RE: 2.1.5R and ccd questions Message-ID: <199607210814.BAA24473@baloon.mimi.com> In-Reply-To: <01BB768C.C8253040@jalapeno.habaneros.com> (njensen@salsa.habaneros.com)
next in thread | previous in thread | raw e-mail | index | archive | help
* 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607210814.BAA24473>