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

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

?? filesystem.in

?? linux集群服務器軟件代碼包
?? IN
字號:
#!/bin/sh## $Id: Filesystem.in,v 1.2 2005/01/03 06:25:28 alan Exp $# # Filesystem#      Description: Manages a Filesystem 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## usage: ./Filesystem <device> <directory> <fstype> [<options>] {start|stop|status}##<device>    : name of block device for the filesystem. e.g. /dev/sda1, /dev/md0#		Or a -U or -L option for mount, or an NFS mount specification#<directory> : the mount point for the filesystem#<fstype>    : name of the filesystem type. e.g. ext2#<options>   : options to be given to the mount command via -o### An example usage in /etc/ha.d/haresources: #       node1  10.0.0.170 Filesystem::/dev/sda1::/data1::ext2#  or#       node1  10.0.0.170 Filesystem::-Ldata1::/data1::ext2#  or#       node1  10.0.0.170 Filesystem::server:/data1::/data1::nfs::ro## This assumes you want to manage a filesystem on a shared (scsi) bus.# Do not put this filesystem in /etc/fstab.  This script manages all of# that for you.## If you are interested in High Availability, you will probably also want# some sort of external hardware RAID controller in front of the actual # disks.  I don't mean a RAID controller embedded in the host controller -# it has to be a external controller.## It can also be an internal RAID controller if the controller supports# failover.  IBM's ServeRAID controller does this, and it automatically# prohibits concurrent access too, so it's pretty cool in this application.## There is a script for software RAID-1 included in this directory.  Right # now, I wouldn't recommend using software RAID (see notes in the Raid1 script)## NOTE: There is no locking (such as a SCSI reservation) being done here.#       I would if the SCSI driver could properly maintain the reservation,#       which it cannot, even with the 'scsi reservation' patch submitted#       earlier this year by James Bottomley.  The patch minimizes the#       bus resets caused by a RESERVATION_CONFLICT return, and helps the #       reservation stay when 2 nodes contend for a reservation, #       but it does not attempt to recover the reservation in the #       case of a bus reset.  ##       What all this means is that if 2 nodes mount the same file system#       read-write, the filesystem is going to become corrupted.##	As a result, you should use this together with the stonith option#	and redundant, independent communications paths.##	If you don't do this, don't blame us when you scramble your disk.# #	Note:  the ServeRAID controller does prohibit concurrent acess#	In this case, you don't actually need STONITH, but redundant comm is#	still an excellent idea.#unset LC_ALL; export LC_ALLunset LANGUAGE; export LANGUAGEprefix=@prefix@exec_prefix=@exec_prefix@#. @sysconfdir@/ha.d/shellfuncs. /etc/ha.d/shellfuncs# Utilities used by this scriptMODPROBE=@MODPROBE@FSCK=@FSCK@FUSER=@FUSER@MOUNT=@MOUNT@UMOUNT=@UMOUNT@BLOCKDEV=@BLOCKDEV@check_util () {    if [ ! -x "$1" ] ; then	ha_log "ERROR: setup problem: Couldn't find utility $1"	exit 1    fi}usage() {cat <<-EOT;	usage: $0 <device> <directory> <fstype> [<options>] {start|stop|status}	<device>    : name of block device for the filesystem. e.g. /dev/sda1, /dev/md0	              OR -LFileSystemLabel OR -Uuuid or an NFS specification	<directory> : the mount point for the filesystem	<fstype>    : name of the filesystem type. e.g. ext2	<options>   : options to be given as -o options to mount.	$Id: Filesystem.in,v 1.2 2005/01/03 06:25:28 alan Exp $	EOT}##	Make sure the kernel does the right thing with the FS buffers#	This function should be called after unmounting and before mounting#	It may not be necessary in 2.4 and later kernels, but it shouldn't hurt#	anything either...##	It's really a bug that you have to do this at all...#flushbufs() {  if    [ "$BLOCKDEV" != "" -a -x "$BLOCKDEV" ]  then    case $1 in      -*|[^/]*:/*)	;;      *)		$BLOCKDEV --flushbufs $1;;    esac  fi}# Check the arguments passed to this scriptDEVICE=$1MOUNTPOINT=$2FSTYPE=$3case $# in  4)	operation=$4; options="";;  5)	operation=$5; options="-o $4";;  *)	usage; exit 1;;esaccase $DEVICE in  -*) # Oh... An option to mount instead...  Typically -U or -L	;;  [^/]*:/*)	# An NFS filesystem specification...	;;  *)	if [ ! -b "$DEVICE"  -a "$operation" != stop ]; then	  ha_log "ERROR: Couldn't find device $DEVICE. Expected /dev/??? to exist"	  usage	  exit 1	fi;;esacif [ ! -d "$MOUNTPOINT" ] ; then	ha_log "ERROR: Couldn't find directory  $MOUNTPOINT to use as a mount point"	usage	exit 1	fi	# Check to make sure the utilites are foundcheck_util $MODPROBEcheck_util $FSCKcheck_util $FUSERcheck_util $MOUNTcheck_util $UMOUNT  # Look for the 'start', 'stop' or status argumentcase "$operation" in## START: Start up the filesystem#start)	# See if the device is already mounted.	$MOUNT | cut -d' ' -f3 | grep -e "^$MOUNTPOINT$" >/dev/null	if [ $? -ne 1 ] ; then	    ha_log "ERROR: Filesystem $MOUNTPOINT is already mounted!"	    exit 1;	fi	# Insert SCSI module	$MODPROBE scsi_hostadapter >/dev/null 2>&1	# Insert Filesystem module	$MODPROBE $FSTYPE >/dev/null 2>&1	grep -e "$FSTYPE"'$' /proc/filesystems >/dev/null	if [ $? != 0  ] ; then		ha_log "ERROR: Couldn't find filesystem $FSTYPE in /proc/filesystems"		usage		exit 1	fi	# Check the filesystem & auto repair.  	# NOTE: Some filesystem types don't need this step...  Please modify	#       accordingly	if	  case $FSTYPE in	    ext3|reiserfs|xfs|jfs|vfat|fat|nfs)	false;;	    *)				true;;	  esac        then	  ha_log "info: Starting filesystem check on $DEVICE"	  $FSCK -t $FSTYPE -a $DEVICE		  # NOTE: if any errors at all are detected, it returns non-zero	  # if the error is >4 then there is a big problem	  if	    [ $? -ge 4 ]	  then	    ha_log "ERROR: Couldn't sucessfully fsck filesystem for $DEVICE"	    exit 1		  fi		fi	flushbufs $DEVICE	# Mount the filesystem.	if	  $MOUNT -t $FSTYPE $options $DEVICE $MOUNTPOINT        then	  : Mount worked!        else	  ha_log "ERROR: Couldn't mount filesystem $DEVICE on $MOUNTPOINT"	  exit 1	fi# end of start);;## STOP: Unmount the filesystem#stop)	# See if the device is currently mounted	if	  $MOUNT | grep -e " on $MOUNTPOINT " >/dev/null	then		# Kill all processes open on filesystem		$FUSER -mk $MOUNTPOINT		# Get the current real device name...		# (specified devname could be -L or -U...)		DEV=`$MOUNT | grep "on $MOUNTPOINT " | cut -d' ' -f1`		# Unmount the filesystem		$UMOUNT $MOUNTPOINT		if [ $? -ne 0 ] ; then			ha_log "ERROR: Couldn't unmount $MOUNTPOINT"			exit 1		fi		flushbufs $DEV	else		ha_log "WARNING: Filesystem $MOUNTPOINT not mounted?"	fi# end of stop);;## STATUS: is the filesystem mounted or not?#status)	$MOUNT | grep -e "on $MOUNTPOINT " >/dev/null	if [ $? = 0 ] ; then		echo "$MOUNTPOINT is mounted (running)"	else		echo "$MOUNTPOINT is unmounted (stopped)"	fi# end of status);;*)    echo "This script should be run with a fourth argument of 'start', 'stop', or 'status'"    usage    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一区二区三区免费野_久草精品视频
日韩欧美一区二区免费| 国产成人丝袜美腿| 欧美日韩国产中文| 午夜精品久久久久影视| 欧美日韩免费一区二区三区 | 激情五月婷婷综合| 久久影院电视剧免费观看| 国产精品18久久久久久久久久久久| 欧美成人女星排名| 成人亚洲精品久久久久软件| 综合欧美一区二区三区| 欧美日韩久久久一区| 精品中文字幕一区二区| 国产精品乱码人人做人人爱 | 欧美在线你懂的| 肉肉av福利一精品导航| 久久众筹精品私拍模特| www.av精品| 日韩av网站在线观看| 国产欧美日韩在线| 在线观看日韩毛片| 久久精品国产久精国产| 国产精品人妖ts系列视频| 欧美色网站导航| 国产剧情一区二区三区| 一区二区三区精品视频在线| 精品久久久久久久久久久久久久久| 成人黄色国产精品网站大全在线免费观看 | 精品午夜一区二区三区在线观看| 国产精品免费网站在线观看| 精品视频在线看| 国产91精品免费| 日韩av在线发布| 国产精品久久久久天堂| 欧美一区二区三区在线观看视频| 成人手机在线视频| 日本成人中文字幕| 亚洲天堂av老司机| 26uuuu精品一区二区| 在线观看欧美黄色| 国产成人精品亚洲午夜麻豆| 亚洲成人激情综合网| 国产精品免费人成网站| 精品粉嫩超白一线天av| 欧美三级中文字| 成人综合在线视频| 蜜乳av一区二区| 亚洲观看高清完整版在线观看 | 亚洲少妇屁股交4| 亚洲精品一区二区三区精华液| 91成人国产精品| 粉嫩蜜臀av国产精品网站| 欧美bbbbb| 亚洲va国产天堂va久久en| 国产精品成人午夜| 国产午夜久久久久| 欧美成人一区二区三区片免费| 在线观看91视频| 色综合久久久久综合99| 国产91精品一区二区| 日韩高清电影一区| 亚洲一区二区三区视频在线 | 亚洲同性同志一二三专区| 亚洲制服丝袜av| 国产精品毛片a∨一区二区三区| 精品国免费一区二区三区| 欧美另类z0zxhd电影| 色噜噜狠狠色综合中国| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 成人免费看黄yyy456| 国内一区二区在线| 久久精品国产77777蜜臀| 日本强好片久久久久久aaa| 亚洲电影欧美电影有声小说| 亚洲最新视频在线播放| 亚洲一区二区三区中文字幕在线| 亚洲婷婷国产精品电影人久久| 中文字幕在线一区二区三区| 中文字幕欧美激情| 亚洲欧洲在线观看av| 中文字幕字幕中文在线中不卡视频| 国产精品国产自产拍高清av王其| 国产色综合久久| 一区精品在线播放| 亚洲精品欧美综合四区| 一区二区三区高清| 亚洲一区在线免费观看| 五月综合激情网| 久久精品国产一区二区三区免费看 | 欧美变态口味重另类| 精品国产一区二区亚洲人成毛片 | 国产一区二区导航在线播放| 久久69国产一区二区蜜臀| 久久99精品国产麻豆婷婷| 国产精品一色哟哟哟| 99re这里只有精品首页| 色综合久久久久久久久| 欧美精品精品一区| 精品久久久久av影院| 亚洲国产精品高清| 亚洲国产综合91精品麻豆| 视频在线观看91| 在线观看视频一区| 777a∨成人精品桃花网| 精品国产sm最大网站免费看| 国产喂奶挤奶一区二区三区| 中文字幕一区二区在线观看| 亚洲成人免费视频| 国产精品一区专区| 色婷婷av一区二区三区软件| 欧美一级一级性生活免费录像| 久久精品欧美日韩| 亚洲一区二区欧美| 国产综合久久久久久久久久久久| 99精品在线免费| 91精品免费观看| 国产精品欧美久久久久无广告 | 91在线一区二区三区| 在线成人午夜影院| 日韩免费看网站| 亚洲精品第一国产综合野| 老司机免费视频一区二区| 99r国产精品| 亚洲精品在线观看网站| 一区二区三区高清在线| 国产综合色视频| 欧美精品丝袜中出| 国产精品不卡一区二区三区| 免费高清成人在线| 色久优优欧美色久优优| 久久久久久久综合色一本| 香蕉加勒比综合久久| www.日韩av| 欧美精品一区二区三区蜜桃视频| 亚洲一区电影777| 粉嫩欧美一区二区三区高清影视| 欧美一区日本一区韩国一区| 亚洲手机成人高清视频| 国产精品小仙女| 欧美一区二区三区精品| 亚洲激情av在线| 成人黄色片在线观看| 精品国产一区二区三区忘忧草 | 玖玖九九国产精品| 欧美亚洲丝袜传媒另类| 中文字幕视频一区| 国产在线麻豆精品观看| 91精品国产一区二区| 一区二区三区中文免费| 99在线精品免费| 欧美国产欧美综合| 激情综合色播五月| 日韩欧美的一区| 日本不卡一区二区| 欧美巨大另类极品videosbest| 亚洲精品视频在线| 99re免费视频精品全部| 国产精品情趣视频| 成人免费看视频| 国产精品初高中害羞小美女文| 国产成人精品一区二| 国产三级精品视频| 国产成人自拍网| 欧美激情中文字幕一区二区| 国产激情视频一区二区在线观看 | 日本一区二区在线不卡| 久久99国产精品麻豆| 欧美一区二区三区成人| 免费精品视频最新在线| 日韩视频免费观看高清完整版| 日韩精品一二三| 欧美成人一区二区三区片免费 | 欧美日韩综合在线| 亚洲大片免费看| 91精品国产黑色紧身裤美女| 美女一区二区视频| 欧美精品一区二区三区蜜桃视频 | 综合久久给合久久狠狠狠97色| 成人app软件下载大全免费| 国产精品女同互慰在线看| 91论坛在线播放| 亚洲午夜国产一区99re久久| 欧美肥胖老妇做爰| 久久se这里有精品| 欧美国产精品中文字幕| 精品国产91久久久久久久妲己| 精品一区二区久久久| 欧美激情在线看| 欧美午夜免费电影| 美国精品在线观看| 亚洲国产精品成人综合色在线婷婷| 成人v精品蜜桃久久一区| 亚洲男人的天堂av| 91精品国产一区二区三区香蕉| 国内久久婷婷综合| 亚洲男人电影天堂| 欧美一区二区三区四区在线观看| 国产精品一区免费视频| 亚洲精品日产精品乱码不卡| 91精品国产丝袜白色高跟鞋|