Added section on creating ccd(4) volumes. Commands submitted by Stan
Brown (stanb@awod.com). Submitted by: Doug White <dwhite@resnet.uoregon.edu>
This commit is contained in:
parent
8b92d5797e
commit
bb176de47c
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=2226
3 changed files with 141 additions and 3 deletions
en/tutorials/diskformat
en_US.ISO8859-1/articles/formatting-media
en_US.ISO_8859-1/articles/formatting-media
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE BOOK PUBLIC "-//Davenport//DTD DocBook V3.0//EN">
|
||||
<!-- $Id: diskformat.docb,v 1.3 1997-09-20 05:34:02 jfieber Exp $ -->
|
||||
<!-- $Id: diskformat.docb,v 1.4 1997-11-28 21:48:46 jfieber Exp $ -->
|
||||
<book>
|
||||
|
||||
<bookinfo>
|
||||
|
@ -383,6 +383,52 @@ mount /dev/wd2 /usr/home
|
|||
</screen>
|
||||
</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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
@ -383,6 +383,52 @@ mount /dev/wd2 /usr/home
|
|||
</screen>
|
||||
</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>
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
@ -383,6 +383,52 @@ mount /dev/wd2 /usr/home
|
|||
</screen>
|
||||
</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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue