aboutsummaryrefslogtreecommitdiff
path: root/en_US.ISO_8859-1/articles
diff options
context:
space:
mode:
authorJohn Fieber <jfieber@FreeBSD.org>1997-11-28 21:48:46 +0000
committerJohn Fieber <jfieber@FreeBSD.org>1997-11-28 21:48:46 +0000
commitbb176de47ccde8bf10a363d5d326b538c1c30248 (patch)
treec60ec8b709a40aca474344591d3c02f849bc5249 /en_US.ISO_8859-1/articles
parent8b92d5797e024be91a7d5546c262b2bd61b10788 (diff)
downloaddoc-bb176de47ccde8bf10a363d5d326b538c1c30248.tar.gz
doc-bb176de47ccde8bf10a363d5d326b538c1c30248.zip
Added section on creating ccd(4) volumes. Commands submitted by Stan
Brown (stanb@awod.com). Submitted by: Doug White <dwhite@resnet.uoregon.edu>
Notes
Notes: svn path=/head/; revision=2226
Diffstat (limited to 'en_US.ISO_8859-1/articles')
-rw-r--r--en_US.ISO_8859-1/articles/formatting-media/article.sgml48
1 files changed, 47 insertions, 1 deletions
diff --git a/en_US.ISO_8859-1/articles/formatting-media/article.sgml b/en_US.ISO_8859-1/articles/formatting-media/article.sgml
index 96f12cc1a4..289e384c83 100644
--- a/en_US.ISO_8859-1/articles/formatting-media/article.sgml
+++ b/en_US.ISO_8859-1/articles/formatting-media/article.sgml
@@ -1,5 +1,5 @@
<!DOCTYPE BOOK PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
-<!-- $Id: article.sgml,v 1.3 1997-09-20 05:34:02 jfieber Exp $ -->
+<!-- $Id: article.sgml,v 1.4 1997-11-28 21:48:46 jfieber Exp $ -->
<book>
<bookinfo>
@@ -384,6 +384,52 @@ mount /dev/wd2 /usr/home
</informalexample>
</para>
</sect1>
+
+<sect1>
+<title>Creating Striped Disks using CCD</title>
+<para>Commands Submitted By: Stan Brown (<email>stanb@awod.com</email>) </para>
+
+<para>
+The Concatenated Disk Driver, or CCD, allows you to treat several identical disks as a single disk.
+Striping can result in increased disk performance by distributing reads and
+writes across the disks. See the ccd(4) and ccdconfig(4) man pages or the
+<ulink URL="http://stampede.cs.berkeley.edu/ccd/">CCD Homepage</ulink> for further details.</para>
+
+<para>To create a new CCD, execute the following commands. This describes
+how to add three disks together; simply add or remove devices as
+necessary. Remember that the disks to be striped must be <emphasis>identical.</></para>
+
+<para>Before executing these commands, make sure you add the line
+<userinput>
+pseudo-device ccd 4
+</userinput>
+
+to your kernel.</para>
+
+<informalexample>
+<screen>
+<userinput>
+cd /dev ; sh MAKDEV ccd0
+
+disklabel -r -w sd0 auto
+disklabel -r -w sd1 auto
+disklabel -r -w sd2 auto
+
+disklabel -e sd0c # change type to 4.2BSD
+disklabel -e sd1c # change type to 4.2BSD
+disklabel -e sd2c # change type to 4.2BSD
+
+ccdconfig ccd0 32 0 /dev/sd0c /dev/sd2c /dev/sd2c
+
+newfs /dev/rccd0c
+</userinput>
+</screen>
+</informalexample>
+
+<para>Now you can mount and use your CCD by referencing device /dev/ccd0c.
+</para>
+
+</sect1>
</chapter>
<chapter>