亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? raid1.in

?? linux集群服務器軟件代碼包
?? IN
字號:
#!/bin/sh## $Id: Raid1.in,v 1.1 2004/08/27 09:34:14 lars Exp $# # Raid1#      Description: Manages a software Raid1 device on a shared storage medium.#  Original Author: Eric Z. Ayers (eric.ayers@compgen.com)# Original Release: 25 Oct 2000#          Support: linux-ha-dev@lists.tummy.com#     RAID patches: http://people.redhat.com/mingo/raid-patches/# Word to the Wise: http://lwn.net/2000/0810/a/raid-faq.php3#  Sympathetic Ear: mailto:linux-raid@vger.kernel.org## usage: $0 <raidtab_config_file> <md_dev_name> {start|stop|status}## in /etc/ha.d/haresources, use a line such as:# nodea  10.0.0.170 Raid1::/etc/raidtab.md0::/dev/md0 Filesystem::/dev/md0::/data1::ext2## This script assumes you are running the so-called RAID v.90 patches vs.# the Linux 2.2 kernel (distributed with RedHat 6.2).   I have not used # kernel version 2.4.   ## The "start" arg starts up the raid device# The "stop" arg stops it.  NOTE: all filesystems must be unmounted#  and no processes should be accessing the device.# The "status" arg just prints out whether the device is running or not## # DISCLAIMER: Use at your own risk!##  Besides all of the usual legalese that accompanies free software, #  I will warn you that I do not yet use this kind of setup (software RAID #  over shared storage) in production, and I have reservations about doing so.##  The linux md driver/scsi drivers under Raid 0.90 and kernel version 2.2 #  do not behave well when a drive is in the process of going bad.  #  The kernel slows down, but doesn't completely crash.  This is about the #  worst possible thing that could happen in an un-attended HA type #  environment.  (Once the system is rebooted, the sofware raid stuff works #  like a champ.)  #  My other reservation has to do with the interation of RAID recovery with #  journaling filesystems and other parts of the kernel.  Subscribe to #  linux-raid@vger.kernel.org  for other opinions and possible solutions.##  -EZA 25 Oct 2000 # # SETUP:## You might need to pass the command line parameter: raid=noautodetect # in an HA environment so that the kernel doesn't automatically start# up your raid partitions when you boot the node.  This means that it isn't# going to work to use RAID for the system disks and the shared disks.## 0) partition the disks to use for RAID.  Use normal Linux partition #     types, not the RAID autodetect type for your partitions.# 1) Create /etc/raidtab.md?  on both systems (see example file below)# 2) Initialize your raid partition with #     /sbin/mkraid --configfile /etc/raidtab.md? /dev/md?# 3) Format your filesystem#     mke2fs /dev/md0  # for ext2fs... a journaling filesystem would be nice# 3) Create the mount point on both systems.#     DO NOT add your raid filesystem to /etc/fstab# 4) copy this script (to /etc/rc.d/init.d if you wish) and edit it to#    reflect your desired settings.# 5) Modify the heartbeat 'haresources' setup file# 6) unmount the filesystem and stop the raid device with 'raidstop'# 7) fire up heartbeat!## # EXAMPLE config file /etc/raidtab.md0# This file must exist on both machines!##  raiddev		    /dev/md0#  raid-level		    1#  nr-raid-disks		    2#  chunk-size		    64k#  persistent-superblock	    1#  #nr-spare-disks	    0#    device	    /dev/sda1#    raid-disk     0#    device	    /dev/sdb1#    raid-disk     1#unset LC_ALL; export LC_ALLunset LANGUAGE; export LANGUAGEprefix=@prefix@exec_prefix=@exec_prefix@. @sysconfdir@/ha.d/shellfuncs# Utilities used by this scriptMODPROBE=@MODPROBE@FSCK=@FSCK@FUSER=@FUSER@RAIDSTART=@RAIDSTART@MOUNT=@MOUNT@UMOUNT=@UMOUNT@RAIDSTOP=@RAIDSTOP@check_util () {    if [ ! -x "$1" ] ; then	ha_log "ERROR: setup problem: Couldn't find utility $1"	exit 1    fi}usage() {cat <<-EOT;	usage: $0 <raidtab_config_file> <md_dev_name> {start|stop|status}	<raidtab_config_file> : name of MD configuration file. e.g. /etc/raidtab	<md_dev_name>         : of the form /dev/md?? (the block device to use)	$Id: Raid1.in,v 1.1 2004/08/27 09:34:14 lars Exp $EOT}# Check the arguments passed to this scriptRAIDTAB_CONFIG=$1MDDEV=$2if [ ! -f "$1" ] ; then	ha_log "ERROR: Couldn't open file $1"	usage	exit 1fiif [ ! -b "$MDDEV" ] ; then	ha_log "ERROR: Couldn't find MD device $MDDEV. Expected /dev/md* to exist"	usage	exit 1fi# strip off the /dev/ prefix to get the name of the MD deviceMD=`echo $MDDEV | sed -e 's/\/dev\///'`# Check to make sure the utilites are foundcheck_util $MODPROBEcheck_util $FUSERcheck_util $RAIDSTARTcheck_util $MOUNTcheck_util $UMOUNTcheck_util $RAIDSTOP# Look for the 'start' or 'stop' argumentcase "$3" in## START: Start up the RAID device#start)# See if the md device is already mounted.# NOTE: this will not work right if you have more than 10 md devices!$MOUNT | grep -e "^$MDDEV" >/dev/nullif [ $? -ne 1 ] ; then    ha_log "ERROR: Device $MDDEV is already mounted!"    exit 1;fi# Insert SCSI module$MODPROBE scsi_hostadapterif [ $? -ne 0 ] ; then    ha_log "WARNING: Couldn't insert SCSI module."fi# Insert raid personality module$MODPROBE raid1if [ $? -ne 0 ] ; then    ha_log "ERROR: Couldn't insert RAID1 module"    exit 1fi# Run raidstart to start up the RAID array$RAIDSTART --configfile $RAIDTAB_CONFIG $MDDEVif [ $? -ne 0 ] ; then	ha_log "ERROR: Couldn't start RAID for $MDDEV"	exit 1fi;;## STOP: stop the RAID device#stop)# See if the MD device is onlinegrep -e "^$MD" /proc/mdstat >/dev/nullif [ $? -ne 0 ] ; then        ha_log "WARNING: device $MD is not online according to kernel"	exit 0fi# See if the MD device is mounted# NOTE: this will not work right if you have more than 10 md devices!$MOUNT | grep -e "^$MDDEV" >/dev/nullif [ $? -ne 1 ] ; then	# Kill all processes open on filesystem	$FUSER -mk $MOUNTPOINT	# the return from fuser doesn't tell us much	#if [ $? -ne 0 ] ; then	#	ha_log "ERROR: Couldn't kill processes on $MOUNTPOINT"	#	exit 1;	#fi	# Unmount the filesystem	$UMOUNT $MDDEV	if [ $? -ne 0 ] ; then		ha_log "ERROR: Couldn't unmount filesystem for $MDDEV"		exit 1	fi	$MOUNT | grep -e "^$MDDEV" >/dev/null	if [ $? -ne 1 ] ; then	    ha_log "ERROR: filesystem for $MDDEV still mounted"	    exit 1	fifi# Turn off raid$RAIDSTOP --configfile /etc/raidtab.$MD $MDDEVif [ $? -ne 0 ] ; then	ha_log "ERROR: Couldn't stop RAID for $MDDEV"	exit 1fi;;## STATUS: is the raid device online or offline?#status) # See if the MD device is onlinegrep -e "^$MD" /proc/mdstat >/dev/nullif [ $? -ne 0 ] ; then    echo "stopped"else    echo "running"fi    ;;*)    echo "This script should be run with the third argument 'start', 'stop', or 'status'"    exit 1;;esac# If you got to this point, chances are everything is O.K.exit 0;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色图清纯唯美| 国产在线精品一区在线观看麻豆| 亚洲福利视频一区二区| 国产成人精品aa毛片| 欧美精品丝袜中出| 国产精品视频一二| 国产在线麻豆精品观看| 欧美色区777第一页| 国产精品三级av| 久久激情综合网| 91.成人天堂一区| 樱花影视一区二区| 91麻豆精东视频| 国产精品天美传媒| 国产一区三区三区| 精品人伦一区二区色婷婷| 性感美女久久精品| 在线精品亚洲一区二区不卡| 欧美国产视频在线| 国产91精品露脸国语对白| 精品国产一区二区亚洲人成毛片| 亚洲妇女屁股眼交7| 91极品美女在线| 一区二区三区在线视频观看58 | 成人激情开心网| 久久老女人爱爱| 激情综合色综合久久| 欧美电影在线免费观看| 亚洲国产欧美日韩另类综合 | 蜜臀a∨国产成人精品| 欧美日韩一区 二区 三区 久久精品| 亚洲欧洲日韩一区二区三区| 国产不卡视频一区| 国产精品理伦片| av中文字幕不卡| 18欧美乱大交hd1984| 91亚洲大成网污www| 1024成人网| 91麻豆swag| 亚洲自拍偷拍av| 欧美久久高跟鞋激| 美女视频黄 久久| 久久免费电影网| gogogo免费视频观看亚洲一| 亚洲免费大片在线观看| 欧美日韩免费一区二区三区视频| 亚洲一区二三区| 91超碰这里只有精品国产| 美女视频网站久久| 国产欧美一区二区三区网站| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 亚洲综合另类小说| 日韩你懂的电影在线观看| 国内精品在线播放| 国产精品久久久久aaaa樱花| 91国产视频在线观看| 午夜精品福利一区二区三区av | 国产精品456| 国产精品视频你懂的| 色94色欧美sute亚洲13| 性做久久久久久免费观看欧美| 欧美电视剧在线观看完整版| 精品一区二区久久久| 国产精品免费久久| 欧美三电影在线| 国产精品一区二区免费不卡 | 国内精品伊人久久久久av影院| 日本一区二区电影| 欧美性受xxxx黑人xyx性爽| 蜜桃一区二区三区四区| 国产精品久久看| 欧美一区二区黄色| k8久久久一区二区三区| 日本欧美一区二区在线观看| 日本一区二区综合亚洲| 欧美久久久久久久久| 成人免费视频视频在线观看免费| 亚洲在线观看免费视频| 国产日韩v精品一区二区| 欧美主播一区二区三区| 国产成a人亚洲| 麻豆国产一区二区| 一个色在线综合| 国产日产亚洲精品系列| 欧美一级久久久久久久大片| 一本一道综合狠狠老| 狠狠色狠狠色综合系列| 一区二区三区在线观看视频| 精品日韩99亚洲| 在线这里只有精品| www.爱久久.com| 国产最新精品精品你懂的| 亚洲一二三专区| 亚洲男女一区二区三区| 国产欧美一区二区精品性色超碰| 在线不卡免费欧美| 欧美在线啊v一区| 91免费在线视频观看| 国产成人久久精品77777最新版本| 日韩高清一级片| 亚洲午夜视频在线| 亚洲黄色小视频| 最新中文字幕一区二区三区| 久久久久久久久免费| 精品人伦一区二区色婷婷| 8x福利精品第一导航| 欧美午夜精品一区二区三区| 99re热视频精品| jiyouzz国产精品久久| 成人午夜伦理影院| 成人国产亚洲欧美成人综合网| 国产成人99久久亚洲综合精品| 狠狠色丁香婷综合久久| 日本欧美一区二区三区乱码| 天堂一区二区在线免费观看| 午夜国产不卡在线观看视频| 亚洲制服丝袜av| 亚洲va欧美va人人爽午夜| 亚洲一级二级三级在线免费观看| 一区二区三区国产精华| 亚洲乱码国产乱码精品精小说| 综合在线观看色| 亚洲女同一区二区| 亚洲成a人v欧美综合天堂下载| 亚洲一区自拍偷拍| 三级精品在线观看| 免费成人在线网站| 国产成人综合在线播放| 波多野结衣亚洲一区| 一本到一区二区三区| 欧美在线观看视频一区二区| 欧美精品第1页| 久久看人人爽人人| 亚洲女与黑人做爰| 日韩影视精彩在线| 国产经典欧美精品| 91在线一区二区| 欧美日韩精品久久久| 欧美一区二区成人| 国产欧美日韩三级| 一区二区三区视频在线看| 日韩和欧美一区二区| 激情五月激情综合网| 99久久伊人网影院| 欧美二区三区的天堂| 中文一区二区在线观看| 一区二区欧美视频| 精品一区二区免费在线观看| 99综合影院在线| 欧美一区二区在线免费观看| 久久精品人人做人人爽人人| 亚洲女与黑人做爰| 国产资源精品在线观看| 99精品偷自拍| www久久精品| 一区二区三区四区视频精品免费 | 欧美一区三区二区| 日本一区二区电影| 免费成人你懂的| 91免费国产在线观看| 精品国产一区二区国模嫣然| 亚洲精品成人悠悠色影视| 卡一卡二国产精品 | 99精品1区2区| 日韩精品一区二区三区中文不卡 | 久久精品人人做人人爽人人| 亚洲成av人片观看| 成人精品免费视频| 精品精品欲导航| 婷婷六月综合亚洲| 91视频免费观看| 国产精品麻豆网站| 国内精品视频666| 在线成人av网站| 亚洲国产精品自拍| av中文字幕不卡| 国产精品网曝门| 国产一区在线观看视频| 欧美日韩精品一区视频| 最新中文字幕一区二区三区| 久久国产综合精品| 欧美麻豆精品久久久久久| 亚洲少妇30p| 99久久精品情趣| 中文字幕在线视频一区| 国产在线不卡一卡二卡三卡四卡| 欧美一区二区三区在线| 亚洲电影第三页| 欧美日韩精品一区视频| 亚洲影院在线观看| 欧美色图一区二区三区| 亚洲精品日日夜夜| 91麻豆自制传媒国产之光| 国产精品美女久久久久av爽李琼| 国产成人综合亚洲网站| 国产午夜亚洲精品午夜鲁丝片| 久久99精品久久只有精品| 欧美α欧美αv大片| 激情综合色播激情啊| 久久一区二区三区四区|