当前位置: 首页 > 图文教程 > 操作系统 > Unix/Linux > configuration utility for the RAIDframe disk drive

Unix/Linux
MX 10
使用Apache&花生壳架设Web服务器
请教dns!有关于密码的问题!
Linux下各种服务器的架设详解
用init玩转 Linux 运行级别
修改/etc/inittab后如何保存退出
emacs进行文件编辑后如何保存退出
linux怎样用普通用户关机
Linux下备份恢复技术的应用
Linux下使用磁带机的常用命令 tar
vmware中linux如何设置网卡
vmware中linux怎么设置网络
怎么在redhat linux下挂载光驱软驱???
redhat linux 下载大全 完全整理
用vmware安装linux系统过程
在linux如何查看IP
linux下如何修改ip地址,主机名等信息
vmware 网络配置
Linux系统中如何查看运行级别
Slackware Linux init 进程

Unix/Linux 中的 configuration utility for the RAIDframe disk drive


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-11-01   浏览: 86 ::
收藏到网摘: n/a

RAIDCTL(8) OpenBSD System Manager's Manual RAIDCTL(8)NAME raidctl - configuration utility for the RAIDframe disk driverSYNOPSIS raidctl [-v] [-afFgrR component] [-BGipPsSu] [-cC config_file] [-A [yes | no | root]] [-I serial_number] dev
DESCRIPTION raidctl is the user-land control program for raid(4), the RAIDframe disk device. raidctl is primarily used to dynamically configure and unconfig- ure RAIDframe disk devices. For more information about the RAIDframe disk device, see raid(4). This document assumes the reader has at least rudimentary knowledge of RAID and RAID concepts. The device used by raidctl is specified by dev. dev may be either the full name of the device, e.g. /dev/rraid0c, or just simply raid0 (for /dev/rraid0c). For several commands (-BGipPsSu), raidctl can accept the word all as the dev argument. If all is used, raidctl will execute the requested action for all the configured raid(4) devices. The command-line options for raidctl are as follows: -a component dev Add component as a hot spare for the device dev. -A yes dev Make the RAID set auto-configurable. The RAID set will be auto- matically configured at boot before the root file system is mounted. Note that all components of the set must be of type RAID in the disklabel. -A no dev Turn off auto-configuration for the RAID set. -A root dev Make the RAID set auto-configurable, and also mark the set as be- ing eligible to contain the root partition. A RAID set config- ured this way will override the use of the boot disk as the root device. All components of the set must be of type RAID in the disklabel. Note that the kernel being booted must currently re- side on a non-RAID set and, in order to have the root file system correctly mounted from it, the RAID set must have its `a' parti- tion (aka raid[0..n]a) set up. -B dev Initiate a copyback of reconstructed data from a spare disk to its original disk. This is performed after a component has failed, and the failed drive has been reconstructed onto a spare drive. -c config_file dev Configure the RAIDframe device dev according to the configuration given in config_file. A description of the contents of config_file is given later. -C config_file dev As for -c, but forces the configuration to take place. This is required the first time a RAID set is configured. -f component dev This marks the specified component as having failed, but does not initiate a reconstruction of that component. -F component dev Fails the specified component of the device, and immediately be- gin a reconstruction of the failed disk onto an available hot spare. This is one of the mechanisms used to start the recon- struction process if a component does have a hardware failure. -g component dev Get the component label for the specified component. -G dev Generate the configuration of the RAIDframe device in a format suitable for use with raidctl -c or -C. -i dev Initialize the RAID device. In particular, (re-write) the parity on the selected device. This MUST be done for all RAID sets be- fore the RAID device is labeled and before file systems are cre- ated on the RAID device. -I serial_number dev Initialize the component labels on each component of the device. serial_number is used as one of the keys in determining whether a particular set of components belong to the same RAID set. While not strictly enforced, different serial numbers should be used for different RAID sets. This step MUST be performed when a new RAID set is created. -p dev Check the status of the parity on the RAID set. Displays a sta- tus message, and returns successfully if the parity is up-to- date. -P dev Check the status of the parity on the RAID set, and initialize (re-write) the parity if the parity is not known to be up-to- date. This is normally used after a system crash (and before a fsck(8)) to ensure the integrity of the parity. -r component dev Remove the spare disk specified by component from the set of available spare components. -R component dev Fails the specified component, if necessary, and immediately be- gins a reconstruction back to compone