doc/ja/man/man8/ccdconfig.8
Jun Kuriyama 7401d9bca9 Catching up to 3.0.0-19990106-SNAP of section 1, 5 and 6.
Reviewed by:	Japanese Online Manual Project <man-jp@jp.FreeBSD.ORG>
Submitted by:	Kazuo Horikawa <k-horik@yk.rim.or.jp>
1999-01-30 15:44:18 +00:00

180 lines
5.3 KiB
Groff

.\" $NetBSD: ccdconfig.8,v 1.1.2.1 1995/11/11 02:43:33 thorpej Exp %
.\"
.\" Copyright (c) 1995 Jason R. Thorpe.
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
.\" modification, are permitted provided that the following conditions
.\" are met:
.\" 1. Redistributions of source code must retain the above copyright
.\" notice, this list of conditions and the following disclaimer.
.\" 2. Redistributions in binary form must reproduce the above copyright
.\" notice, this list of conditions and the following disclaimer in the
.\" documentation and/or other materials provided with the distribution.
.\" 3. All advertising materials mentioning features or use of this software
.\" must display the following acknowledgment:
.\" must display the following acknowledgement:
.\" This product includes software developed for the NetBSD Project
.\" by Jason R. Thorpe.
.\" 4. The name of the author may not be used to endorse or promote products
.\" derived from this software without specific prior written permission.
.\"
.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" %Id: ccdconfig.8,v 1.6 1998/11/19 20:22:10 asami Exp %
.\"
.\" jpman %Id: ccdconfig.8,v 1.3 1997/07/28 10:00:39 konuma Stab %
.Dd July 17, 1995
.Dt CCDCONFIG 8
.Os FreeBSD
.Sh ̾¾Î
.Nm ccdconfig
.Nd ·ë¹ç¥Ç¥£¥¹¥¯¥É¥é¥¤¥ÐÍÑÀßÄê¥æ¡¼¥Æ¥£¥ê¥Æ¥£
.Sh ½ñ¼°
.Nm ccdconfig
.Op Fl cv
.Ar ccd
.Ar ileave
.Op Ar flags
.Ar dev
.Op Ar
.Nm ccdconfig
.Fl C
.Op Fl v
.Op Fl f Ar config_file
.Nm ccdconfig
.Fl u
.Op Fl v
.Ar ccd
.Op Ar
.Nm ccdconfig
.Fl U
.Op Fl v
.Op Fl f Ar config_file
.Nm ccdconfig
.Fl g
.Op Fl M Ar core
.Op Fl N Ar system
.Oo
.Ar ccd Oo ...
.Oc
.Oc
.Sh ²òÀâ
.Nm
¤Ï·ë¹ç¥Ç¥£¥¹¥¯¥Ç¥Ð¥¤¥¹ (concatenated disk device, ccd) ¤ÎưŪ¤ÊÀßÄꤪ¤è¤Ó
²ò½ü¤ò¹Ô¤¦¾ì¹ç¤Ë»ÈÍѤ·¤Þ¤¹¡£ccd ¤Î¾ÜºÙ¤Ë¤Ä¤¤¤Æ¤Ï¡¢
.Xr ccd 4
¤ò»²¾È¤·¤Æ²¼¤µ¤¤¡£
.Pp
°Ê²¼¤Î¥ª¥×¥·¥ç¥ó¤¬»ÈÍѤǤ­¤Þ¤¹¡£
.Bl -tag -width indent
.It Fl c
ccd ¤ÎÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£
.Nm
¤Î¥Ç¥Õ¥©¥ë¥È¤Îưºî¤Ç¤¹¡£
.It Fl C
ÀßÄê¥Õ¥¡¥¤¥ë¤Ë½ñ¤«¤ì¤Æ¤¤¤ëÁ´¤Æ¤Î¥Ç¥Ð¥¤¥¹¤ÎÀßÄê¤ò¹Ô¤¤¤Þ¤¹¡£
.It Fl f Ar config_file
Á´¤Æ¤Î¥Ç¥Ð¥¤¥¹¤ÎÀßÄꤢ¤ë¤¤¤Ï²ò½ü¤ò¹Ô¤¦»þ¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Î
.Pa /etc/ccd.conf
¤Ç¤Ï¤Ê¤¯¡¢
.Pa config_file
¤«¤éÀßÄê¾ðÊó¤òÆÉ¤ß¹þ¤ß¤Þ¤¹¡£
.It Fl g
ccd ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤È¤·¤Æ»ÈÍѤǤ­¤ë·Á¼°¤Ç¡¢¸½ºß¤Î ccd ¤ÎÀßÄê¤ò½ÐÎϤ·¤Þ¤¹¡£
°ú¿ô¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢ÀßÄꤵ¤ì¤Æ¤¤¤ëÁ´¤Æ¤Î ccd ¤Ë¤Ä¤¤¤Æ½ÐÎϤ·¤Þ¤¹¡£
°ú¿ô¤¬»ØÄꤵ¤ì¤Æ¤¤¤ì¤Ð¡¢»ØÄꤵ¤ì¤¿ ccd ¤Ë¤Ä¤¤¤Æ¤Î¤ß½ÐÎϤ·¤Þ¤¹¡£
.It Fl M Ar core
̾Á°¥ê¥¹¥È¤ËÂбþ¤¹¤ëÃͤΟ³«¤Ë¡¢¥Ç¥Õ¥©¥ë¥È¤Î
.Pa /dev/mem
¤Ç¤Ï¤Ê¤¯¡¢
.Pa core
¤ò»ÈÍѤ·¤Þ¤¹¡£
.It Fl N Ar system
(
.Xr getbootfile 3
¤Ë¤è¤êȽÃǤµ¤ì¤ë)
¸½ºß²ÔÆ¯Ãæ¤Î¥«¡¼¥Í¥ë¤ÎÂå¤ï¤ê¤Ë
.Ar system
¤ò¥«¡¼¥Í¥ë¤È¤·¤Æ»ÈÍѤ·¤Þ¤¹¡£
.It Fl u
ccd ¤ÎÀßÄê¤ò²ò½ü¤·¤Þ¤¹¡£
.It Fl U
ccd ÀßÄê¥Õ¥¡¥¤¥ë¤Ë½ñ¤«¤ì¤Æ¤¤¤ëÁ´¤Æ¤Î ccd ¥Ç¥Ð¥¤¥¹¤ÎÀßÄê¤ò²ò½ü¤·¤Þ¤¹¡£
.It Fl v
¤è¤ê¾éĹ¤Ê½ÐÎϤò¹Ô¤¤¤Þ¤¹¡£
.El
.Pp
ccd ¤Ï¡¢¥³¥Þ¥ó¥É¹Ô¤Ê¤¤¤· ccd ÀßÄê¥Õ¥¡¥¤¥ë¤Ë¤Æ¡¢ccd ¤Î̾Á°¡¢¥¤¥ó¥¿¥ê¡¼¥Ö
¥Õ¥¡¥¯¥¿¡¢ccd ÀßÄê¥Õ¥é¥°¡¢¤Ò¤È¤Ä°Ê¾å¤Î¥Ç¥Ð¥¤¥¹¤Î¥ê¥¹¥È¤Î¾ðÊó¤Ë¤è¤ê
ÄêµÁ¤µ¤ì¤Þ¤¹¡£¥Õ¥é¥°¤Ï¡¢½½¿Ê¿ô¡¢½½Ï»¿Ê¿ô¡¢¥³¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¤¿Ì¾Á°¤Î¥ê¥¹¥È¡¢
.Dq none
¤Î¤¤¤º¤ì¤«¤Çɽ¤¹¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
¥Õ¥é¥°¤Ë¤Ï°Ê²¼¤Îʪ¤¬¤¢¤ê¤Þ¤¹¡£
.\" °Ê²¼¤Îɽ¤ÎÉôʬ¤Î¥Þ¥¯¥í¤Ï¥ª¥ê¥¸¥Ê¥ë¤Î±Ñ¸ìÈǤȤϰۤʤ뤬¡¢¤³¤Á¤é¤ÎÊý¤¬
.\" ¤­¤ì¤¤¤Ë(¸«¤ä¤¹¤¤·Á¤Ç)¥Õ¥©¡¼¥Þ¥Ã¥È¤µ¤ì¤ë¤Î¤Ç¡¢Êѹ¹¤·¤¿¡£
.\" ¥Þ¥¯¥í¼«ÂÎ¤Ï NetBSD ¤Î ccdconfig.8 ¤ÎÆüËܸìÈǤò»²¹Í¤Ë¤·¤¿¡£
.\" 2.2.2-RELEASE ÂоÝ
.\" By yugawa@orleans.rim.or.jp (May 20 1997)
.\"
.\" "-offset indent" Äɲá£
.\" 2.2.2-RELEASE ÂоÝ
.\" By konuma@de.mtex.co.jp (Jul 28 1997)
.Pp
.Bl -tag -width "CCDF_UNIFORM 0x02" -ffset intent -compact -offset indent
.It "CCDF_SWAP 0x01"
dmmax (swap ¤Îñ°Ì¥Ö¥í¥Ã¥¯¤ÎºÇÂçÃÍ) ñ°Ì¤Ç¥¤¥ó¥¿¥ê¡¼¥Ö¤·¤Þ¤¹
.It "CCDF_UNIFORM 0x02"
¥Ç¥£¥¹¥¯´Ö¤Ç¶Ñ°ì¤Ê¥¤¥ó¥¿¥ê¡¼¥Öưºî¤Ë¤Ê¤ê¤Þ¤¹
.It "CCDF_MIRROR 0x04"
¥Ç¡¼¥¿¤Î¥ß¥é¡¼¥ê¥ó¥°¤ò¹Ô¤¤¤Þ¤¹
.It "CCDF_PARITY 0x08"
¥Ñ¥ê¥Æ¥£¸¡ºº¤ò¹Ô¤¤¤Þ¤¹ (¸½¾õ¤Ç¤Ï»ÈÍѤǤ­¤Þ¤»¤ó)
.El
.Pp
ÀßÄê¥Õ¥¡¥¤¥ë¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï¡¢¥³¥Þ¥ó¥É¹Ô¤«¤é»ØÄꤹ¤ë¾ì¹ç¤È
Ʊ°ì¤Î·Á¼°¤Ë¤Ê¤ê¤Þ¤¹¡£¥³¥Þ¥ó¥É¹Ô¤«¤é»ØÄꤹ¤ë¾ì¹ç¤â¡¢
ÀßÄê¥Õ¥¡¥¤¥ë¤«¤é»ØÄꤹ¤ë¾ì¹ç¤â¡¢
.Pa flags
°ú¿ô¤Ï¥ª¥×¥·¥ç¥ó¤Ç¤¹¡£
.Bd -unfilled -offset indent
#
# /etc/ccd.conf
# Configuration file for concatenated disk devices
#
.Pp
# ccd ileave flags component devices
ccd0 16 none /dev/da2e /dev/da3e
.Ed
.Pp
.Sh »ÈÍÑÎã
¥³¥Þ¥ó¥É¹Ô¤«¤é°Ê²¼¤Î¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤·¤¿¾ì¹ç¡¢ccd0 ¤ò
(/dev/da2e, /dev/da3e, /dev/da4e, /dev/da5e ¤Î) »Í¤Ä¤ÎÍ×ÁǤ«¤é
¹½À®¤µ¤ì¡¢32 ¥Ö¥í¥Ã¥¯¤´¤È¤Ë¥¤¥ó¥¿¥ê¡¼¥Ö¤¹¤ë ccd ¤È¤·¤ÆÀßÄꤷ¤Þ¤¹¡£
.Bd -unfilled -offset indent
# ccdconfig ccd0 32 0 /dev/da2e /dev/da3e /dev/da4e /dev/da5e
.Ed
.Pp
.Sh ´ØÏ¢¥Õ¥¡¥¤¥ë
.Bl -tag -width /etc/ccd.conf -compact
.It Pa /etc/ccd.conf
¥Ç¥Õ¥©¥ë¥È¤Î ccd ÀßÄê¥Õ¥¡¥¤¥ë
.El
.Sh ´ØÏ¢¹àÌÜ
.Xr ccd 4 ,
.Xr rc 8
.Sh Îò»Ë
.Nm
¥³¥Þ¥ó¥É¤Ï
.Nx 1.0a
¤«¤éÅо줷¤Þ¤·¤¿¡£