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

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

?? software-raid.howto.sgml

?? create raid tool at linux
?? SGML
?? 第 1 頁 / 共 3 頁
字號:
<!DOCTYPE linuxdoc system[ <!ENTITY CurrentVer "0.90.2 - Alpha">  <!ENTITY mdstat "<TT>/proc/mdstat</TT>">  <!ENTITY ftpkernel "<TT>ftp://ftp.fi.kernel.org/pub/linux</TT>">  <!ENTITY fstab "<TT>/etc/fstab</TT>">  <!ENTITY raidtab "<TT>/etc/raidtab</TT>">]><ARTICLE><TITLE>The Software-RAID HOWTO<AUTHOR>Jakob &Oslash;stergaard        (<htmlurl        url="mailto:jakob@ostenfeld.dk"        name="jakob@ostenfeld.dk">)<DATE>v. &CurrentVer;, 27th february 1999<ABSTRACT>This HOWTO describes how to use Software RAID under Linux. You must beusing the RAID patches available from <htmlurlname="ftp://ftp.fi.kernel.org/pub/linux/daemons/raid/alpha"url="ftp://ftp.fi.kernel.org/pub/linux/daemons/raid/alpha">. The HOWTOcan be found at <htmlurlname="http://ostenfeld.dk/~jakob/Software-RAID.HOWTO/"url="http://ostenfeld.dk/~jakob/Software-RAID.HOWTO/">.</ABSTRACT><TOC><SECT>Introduction<P>This howto is written by Jakob &Oslash;stergaard based on a largenumber of emails between the author and Ingo Molnar (<htmlurlurl="mailto:mingo@chiara.csoma.elte.hu"name="mingo@chiara.csoma.elte.hu">) -- one of the RAID developers --,the linux-raid mailing list (<htmlurlurl="mailto:linux-raid@vger.rutgers.edu"name="linux-raid@vger.rutgers.edu">) and various other people.<P>The reason this HOWTO was written even though a Software-RAID HOWTOallready exists is, that the old HOWTO describes the old-styleSoftware RAID found in the stock kernels. This HOWTO describes the useof the ``new-style'' RAID that has been developed more recently. Thenew-style RAID has a lot of features not present in old-style RAID.<P>Some of the information in this HOWTO may seem trivial, if you knowRAID all ready. Just skip those parts.<P><SECT1>Disclaimer<P>The mandatory disclaimer:<P>Although RAID seems stable for me, and stable for many other people,it may not work for you.  If you loose all your data, your job, gethit by a truck, whatever, it's not my fault, nor the developers'.  Beaware, that you use the RAID software and this information atyour own risk!  There is no guarantee whatsoever, that any of thesoftware, or this information, is in anyway correct, nor suited forany use whatsoever. Back up all your data before experimenting withthis. Better safe than sorry.<P><SECT1>Requirements<P>This HOWTO assumes you are using a late 2.2.x or 2.0.x kernel with amatching raid0145 patch, and the 0.90 version of the raidtools. Bothcan be found at <HTMLURLname="ftp://ftp.fi.kernel.org/pub/linux/daemons/raid/alpha"url="ftp://ftp.fi.kernel.org/pub/linux/daemons/raid/alpha">. The RAIDpatch, the raidtools package, and the kernel should all match as closeas possible. At times it can be necessary to use older kernels if raidpatches are not available for the latest kernel.<P><SECT>Why RAID ?<P>There can be many good reasons for using RAID. A few are; the abilityto combine several physical disks into one larger ``virtual'' device,performance improvements, and redundancy.<P><SECT1>Technicalities<P>Linux RAID can work on most block devices. It doesn't matter whetheryou use IDE or SCSI devices, or a mixture. Some people have also usedthe Network Block Device (NBD) with more or less success.<P>Be sure that the bus(ses) to the drives are fast enough. You shouldn'thave 14 UW-SCSI drives on one UW bus, if each drive can give 10 MB/sand the bus can only sustain 40 MB/s.Also, you should only have one device per IDE bus. Running disks asmaster/slave is horrible for performance. IDE is really bad ataccessing more that one drive per bus.  Of Course, all newermotherboards have two IDE busses, so you can set up two disks inRAID without buying more controllers.<P>The RAID layer has absolutely nothing to do with the filesystemlayer. You can put any filesystem on a RAID device, just like anyother block device.<P><SECT1>Terms<P>The word ``RAID'' means ``Linux Software RAID''. This HOWTO does nottreat any aspects of Hardware RAID.<P>When describing setups, it is useful to refer to the number of disksand their sizes. At all times the letter <BF>N</BF> is used to denotethe number of active disks in the array (not countingspare-disks). The letter <BF>S</BF> is the size of the smallest drivein the array, unless otherwise mentioned. The letter <BF>P</BF> isused as the performance of one disk in the array, in MB/s. When used,we assume that the disks are equally fast, which may not always be true.<P>Note that the words ``device'' and ``disk'' are supposed to mean aboutthe same thing.  Usually the devices that are used to build a RAIDdevice are partitions on disks, not necessarily entire disks.  Butcombining several partitions on one disk usually does not make sense,so the words devices and disks just mean ``partitions on differentdisks''.<P><SECT1>The RAID levels<P>Here's a short description of what is supported in the Linux RAIDpatches. Some of this information is absolutely basic RAID info, butI've added a few notices about what's special in the Linuximplementation of the levels.  Just skip this section if you knowRAID. Then come back when you are having problems   :)<P>The current RAID patches for Linux supports the followinglevels:<ITEMIZE><ITEM><BF>Linear mode</BF><ITEMIZE><ITEM>Two or more disks are combined into one physical device. The disksare ``appended'' to each other, so writing to the RAID device will fillup disk 0 first, then disk 1 and so on. The disks does not have to beof the same size. In fact, size doesn't matter at all here   :)<ITEM>There is no redundancy in this level. If one disk crashes you willmost probably loose all your data.  You can however be lucky torecover some data, since the filesystem will just be missing one largeconsecutive chunk of data.<ITEM>The read and write performance will not increase for singlereads/writes. But if several users use the device, you may be luckythat one user effectively is using the first disk, and the other useris accessing files which happen to reside on the second disk. If thathappens, you will see a performance gain.</ITEMIZE><ITEM><BF>RAID-0</BF><ITEMIZE><ITEM>Also called ``stripe'' mode. Like linear mode, except that reads andwrites are done in parallel to the devices. The devices should haveapproximately the same size. Since all access is done in parallel, thedevices fill up equally. If one device is much larger than the otherdevices, that extra space is still utilized in the RAID device, butyou will be accessing this larger disk alone, during writes in thehigh end of your RAID device. This of course hurts performance.<ITEM>Like linear, there's no redundancy in this level either. Unlikelinear mode, you will not be able to rescue any data if a drivefails. If you remove a drive from a RAID-0 set, the RAID device willnot just miss one consecutive block of data, it will be filled withsmall holes all over the device. e2fsck will probably not be able torecover much from such a device.<ITEM>The read and write performance will increase, because reads andwrites are done in parallel on the devices. This is usually the mainreason for running RAID-0. If the busses to the disks are fast enough,you can get very close to N*P MB/sec.</ITEMIZE><ITEM><BF>RAID-1</BF><ITEMIZE><ITEM>This is the first mode which actually has redundancy. RAID-1 can beused on two or more disks with zero or more spare-disks. This mode maintainsan exact mirror of the information on one disk on the otherdisk(s). Of Course, the disks must be of equal size. If one disk islarger than another, your RAID device will be the size of thesmallest disk.<ITEM>If up to N-1 disks are removed (or crashes), all data are still intact. Ifthere are spare disks available, and if the system (eg. SCSI driversor IDE chipset etc.) survived the crash, reconstruction of the mirrorwill immediately begin on one of the spare disks, after detection ofthe drive fault.<ITEM>Read performance will usually scale close to to N*P, while write performance isthe same as on one device, or perhaps even less.  Reads can be done inparallel, but when writing, the CPU must transfer N times as much datato the disks as it usually would (remember, N identical copies ofall data must be sent to the disks).</ITEMIZE><ITEM><BF>RAID-4</BF><ITEMIZE><ITEM>This RAID level is not used very often. It can be used on threeor more disks. Instead of completely mirroring the information, itkeeps parity information on one drive, and writes data to the otherdisks in a RAID-0 like way.  Because one disks is reserved for parityinformation, the size of the array will be (N-1)*S, where S is thesize of the smallest drive in the array. As in RAID-1, the disks should eitherbe of equal size, or you will just have to accept that the S in the(N-1)*S formula above will be the size of the smallest drive in thearray.<ITEM>If one drive fails, the parityinformation can be used to reconstruct all data.  If two drives fail,all data is lost.<ITEM>The reason this level is not more frequently used, is becausethe parity information is kept on one drive. This information must beupdated <EM>every</EM> time one of the other disks are writteto. Thus, the parity disk will become a bottleneck, if it is not a lotfaster than the other disks.  However, if you just happen to have alot of slow disks and a very fast one, this RAID level can be very useful.</ITEMIZE><ITEM><BF>RAID-5</BF><ITEMIZE><ITEM>This is perhaps the most useful RAID mode when one wishes to combinea larger number of physical disks, and still maintain someredundancy. RAID-5 can be used on three or more disks, with zero ormore spare-disks. The resulting RAID-5 device size will be (N-1)*S,just like RAID-4. The big difference between RAID-5 and -4 is, thatthe parity information is distributed evenly among the participatingdrives, avoiding the bottleneck problem in RAID-4.<ITEM>If one of the disks fail, all data are still intact, thanks to theparity information. If spare disks are available, reconstruction willbegin immediately after the device failure.  If two disks failsimultaneously, all data are lost. RAID-5 can survive one diskfailure, but not two or more.<ITEM>Both read and write performance usually increase, but it's hard topredict how much.</ITEMIZE></ITEMIZE><SECT2>Spare disks<P>Spare disks are disks that do not take part in the RAID set until oneof the active disks fail.  When a device failure is detected, thatdevice is marked as ``bad'' and reconstruction is immediately startedon the first spare-disk available.<P>Thus, spare disks add a nice extra safety to especially RAID-5 systemsthat perhaps are hard to get to (physically). One can allow the systemto run for some time, with a faulty device, since all redundancy ispreserved by means of the spare disk.<P>You cannot be sure that your system will survive a disk crash. TheRAID layer should handle device failures just fine, but SCSI driverscould be broken on error handling, or the IDE chipset could lock up,or a lot of other things could happen.<P><SECT1>Swapping on RAID<P>There's no reason to use RAID for swap performance reasons. The kernelitself can stripe swapping on several devices, if you just give themthe same priority in the fstab file.<P>A nice fstab looks like:<VERB>/dev/sda2       swap           swap    defaults,pri=1   0 0/dev/sdb2       swap           swap    defaults,pri=1   0 0/dev/sdc2       swap           swap    defaults,pri=1   0 0/dev/sdd2       swap           swap    defaults,pri=1   0 0/dev/sde2       swap           swap    defaults,pri=1   0 0/dev/sdf2       swap           swap    defaults,pri=1   0 0/dev/sdg2       swap           swap    defaults,pri=1   0 0</VERB>This setup lets the machine swap in parallel on seven SCSI devices. Noneed for RAID, since this has been a kernel feature for a long time.<P>Another reason to use RAID for swap is high availability.  If you setup a system to boot on eg. a RAID-1 device, the system should be ableto survive a disk crash. But if the system has been swapping on thenow faulty device, you will for sure be going down.  Swapping on theRAID-1 device would solve this problem. <P>However, swap on RAID-{1,4,5} is <BF>NOT</BF> supported. You can set it up,but it will crash. The reason is, that the RAID layer sometimesallocates memory before doing a write. This leads to a deadlock, sincethe kernel will have to allocate memory before it can swap, and swapbefore it can allocate memory.<P>It's sad but true, at least for now.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩丝袜情趣美女图片| 亚洲成在人线在线播放| 一区二区三区精品在线观看| 日本不卡123| 99re成人在线| 久久久午夜精品理论片中文字幕| 亚洲高清视频在线| 97久久超碰国产精品| 精品国产sm最大网站| 亚洲一二三区在线观看| 99v久久综合狠狠综合久久| 久久亚洲捆绑美女| 美女免费视频一区| 欧美日韩国产天堂| 亚洲国产成人高清精品| 91老司机福利 在线| 国产精品蜜臀在线观看| 国产成人在线免费观看| 日韩你懂的在线观看| 午夜久久福利影院| 欧美日韩在线直播| 亚洲综合清纯丝袜自拍| 色综合欧美在线视频区| 亚洲欧洲av在线| 成人国产精品免费观看视频| 久久久99精品免费观看| 国产一区二区伦理片| 久久综合国产精品| 国产乱子轮精品视频| 久久一区二区视频| 国产精品一区二区果冻传媒| 国产欧美一区二区三区鸳鸯浴| 狠狠v欧美v日韩v亚洲ⅴ| 精品国产污污免费网站入口| 激情伊人五月天久久综合| 欧美成人猛片aaaaaaa| 国产呦萝稀缺另类资源| 欧美经典一区二区三区| 成av人片一区二区| 亚洲伦理在线免费看| 在线这里只有精品| 亚洲mv在线观看| 日韩一区二区在线观看视频播放| 久久国产夜色精品鲁鲁99| 精品国产欧美一区二区| 国产精品白丝jk黑袜喷水| 国产欧美中文在线| 91久久精品一区二区三| 日韩专区欧美专区| 欧美精品一区二区三区高清aⅴ| 国产做a爰片久久毛片| 欧美极品少妇xxxxⅹ高跟鞋 | 欧美视频一区二区三区四区 | 99国产精品久久久久久久久久久| 亚洲欧洲99久久| 欧美日韩欧美一区二区| 国内久久精品视频| 亚洲人123区| 日韩欧美中文字幕制服| 成人动漫视频在线| 亚洲成人三级小说| 久久精品一区四区| 欧美羞羞免费网站| 国产精品亚洲第一区在线暖暖韩国| 国产精品无遮挡| 欧美日韩高清一区二区不卡 | 国产欧美日韩麻豆91| 一本久道中文字幕精品亚洲嫩| 日韩国产欧美在线播放| 日本一区二区三区国色天香 | 蜜桃久久久久久| 国产精品国产馆在线真实露脸| 欧美日韩一区二区三区四区| 国产真实乱对白精彩久久| 一级日本不卡的影视| 国产欧美精品一区| 制服丝袜中文字幕亚洲| av欧美精品.com| 激情图片小说一区| 视频在线观看一区| 亚洲免费观看高清完整版在线观看 | 国产视频一区二区三区在线观看| 色婷婷综合久色| 高清国产一区二区三区| 美国十次了思思久久精品导航| 亚洲精品中文字幕乱码三区| 久久久午夜精品| 欧美一激情一区二区三区| 色婷婷精品久久二区二区蜜臂av| 国产中文字幕一区| 美女一区二区视频| 三级不卡在线观看| 一区二区三区四区高清精品免费观看| 久久蜜桃av一区二区天堂| 7777精品久久久大香线蕉| 91尤物视频在线观看| 成人白浆超碰人人人人| 国产一区二区三区在线看麻豆| 五月婷婷综合激情| 亚洲精品视频一区| ㊣最新国产の精品bt伙计久久| 久久久久97国产精华液好用吗| 日韩一区二区三免费高清| 欧美日本视频在线| 欧美日韩久久久一区| 欧美日韩精品系列| 欧美亚洲国产bt| 欧美日韩在线精品一区二区三区激情| 97se亚洲国产综合自在线| 高潮精品一区videoshd| 国产成人精品在线看| 国产黄人亚洲片| 福利电影一区二区| 成人aaaa免费全部观看| 99riav一区二区三区| 91麻豆免费在线观看| 一本一道久久a久久精品综合蜜臀| 不卡一区二区中文字幕| 91亚洲国产成人精品一区二三 | 国产黑丝在线一区二区三区| 国产一二精品视频| 国产成人鲁色资源国产91色综| 国产91精品露脸国语对白| 不卡的电影网站| 一本色道a无线码一区v| 欧美日韩一级黄| 欧美va在线播放| 国产精品人成在线观看免费| 亚洲特黄一级片| 亚洲18色成人| 国产一区二区精品在线观看| 成人av资源站| 在线成人小视频| 久久精品免费在线观看| 自拍偷拍亚洲激情| 午夜视频在线观看一区二区三区| 蜜桃一区二区三区在线观看| 丁香一区二区三区| 色一区在线观看| 日韩精品一区二区在线观看| 欧美国产一区在线| 亚洲国产另类av| 国产一区高清在线| 色婷婷久久一区二区三区麻豆| 宅男噜噜噜66一区二区66| 久久精品视频在线看| 亚洲曰韩产成在线| 国内欧美视频一区二区| 在线亚洲一区二区| 欧美大片顶级少妇| 亚洲麻豆国产自偷在线| 韩国v欧美v亚洲v日本v| 欧美性做爰猛烈叫床潮| 精品久久人人做人人爰| 一区二区三区四区在线免费观看| 美女视频一区二区三区| 91影院在线观看| 精品国产乱码久久久久久久| 一区二区三区毛片| 国产成人福利片| 91精品国产欧美一区二区| 中文字幕一区在线观看视频| 九九视频精品免费| 欧美伊人久久久久久久久影院| 国产偷国产偷精品高清尤物| 天堂一区二区在线| 91麻豆成人久久精品二区三区| 久久网站热最新地址| 日日欢夜夜爽一区| 日本韩国精品在线| 国产精品久久一级| 国内外成人在线| 日韩一卡二卡三卡国产欧美| 一区二区三区在线播| www.在线欧美| 欧美激情在线看| 国产原创一区二区| 日韩免费性生活视频播放| 视频在线在亚洲| 欧美日韩中字一区| 一区二区三区欧美在线观看| 成人精品国产福利| 国产欧美一区二区三区鸳鸯浴| 奇米四色…亚洲| 88在线观看91蜜桃国自产| 亚洲国产毛片aaaaa无费看| 不卡免费追剧大全电视剧网站| 久久综合九色综合欧美98| 久久国产综合精品| 精品女同一区二区| 狠狠色丁香久久婷婷综合_中| 日韩一区二区三区av| 秋霞午夜av一区二区三区| 欧美福利一区二区| 日本欧美一区二区在线观看| 91精品久久久久久久91蜜桃| 首页国产欧美久久| 日韩免费视频一区| 国产中文一区二区三区| 久久久久久久久99精品|