From owner-freebsd-questions Mon Feb 24 22:44:40 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id WAA01018 for questions-outgoing; Mon, 24 Feb 1997 22:44:40 -0800 (PST) Received: from kagg2.kagg.gy-edu.kalmar.se (www.kagg.gy-edu.kalmar.se [193.45.113.2]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id WAA01005 for ; Mon, 24 Feb 1997 22:44:35 -0800 (PST) Received: from preinstalledcom (kk113-192.kalmar.se [193.45.113.192]) by kagg2.kagg.gy-edu.kalmar.se (8.6.12/8.6.9) with SMTP id HAA19200; Tue, 25 Feb 1997 07:52:08 +0100 Message-Id: <1.5.4.32.19970225064309.0087c630@kagg.gy-edu.kalmar.se> X-Sender: lknl@kagg.gy-edu.kalmar.se X-Mailer: Windows Eudora Light Version 1.5.4 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 25 Feb 1997 07:43:09 +0100 To: The Hermit Hacker , freebsd-questions@freebsd.org From: Lennart Nilhov Subject: Re: ccd-driver Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk At 23:33 1997-02-24 -0400, you wrote: >On Tue, 25 Feb 1997, Carey Nairn wrote: > >> At 19:06 24/02/97 -0400, The Hermit Hacker wrote: >> >On Tue, 25 Feb 1997, Carey Nairn wrote: >> > >> >> If you want to mirror one disk on another (i.e. make an exact duplicate) >> >> then ccd is not the solution you want. >> >> >> > Why not? I'm personally using it to strip 5 disks into one file >> >system for news, but according to the man page(s), ccd does support >> >mirror'ng... >> > >> >> from the ccd man page... >> >> The ccd driver provides the capability of combining one or more >> disks/partitions into one virtual disk. >> >> I didn't see anything about using ccd to mirror. If you can point me to >> the relevant man page I would happily be corrected on this point. >> > > i've just checked 'man ccdconfig' on both 2.2-current of last >year sometime, as well as my current 3.0-current machine, and both state: > > > A ccd is described on the command line and in the ccd configuration file > by the name of the ccd, the interleave factor, the ccd configuration > flags, and a list of one or more devices. The flags may be represented > as a decimal number, a hexadecimal number, a comma-separated list of > strings, or the word ``none''. The flags are as follows: > > CCDF_SWAP 0x01 Interleave should be dmmax > CCDF_UNIFORM 0x02 Use uniform interleave > CCDF_MIRROR 0x04 Support mirroring > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > CCDF_PARITY 0x08 Support parity (not implemented yet) > > The format in the configuration file appears exactly as if it were en- > tered on the command line. Note that on the command line and in the con- > figuration file, the _f_l_a_g_s argument is optional. > > # > # /etc/ccd.conf > # Configuration file for concatenated disk devices > # > > # ccd ileave flags component devices > ccd0 16 none /dev/sd2e /dev/sd3e > > FreeBSD July 17, 1995 2 > Yes this is correct. I have followed this instruktion in details. I have used ccd0 16 4 /dev/sd1s1e /dev/sd2s1e and dmesg says: ccd0: Concatened disk driver ccd0: mirror/parity forces uniform flag But the main problem is: "who to us it" I can't find any information about the correct line in /etc/fstab /Lennart But the main question is, "who to us it" > >