Linux ATA RAID HOWTO

Murty Rompalli

           murty@solar.m u r t y.n e t
        

朏夑桋巎 - 擔杮岅栿

yasufumi.haga@nifty.com

2002擭 4寧 26擔

Revision History                                                      
Revision 2.0         2002擭 5寧 10擔          Revised by: mr          
庡梫側奼挘                                                            
Revision 1.3         2002擭 5寧 7擔           Revised by: jyg         
僼僅乕儅僢僩廋惓                                                      
Revision 1.2         2002擭 4寧 30擔          Revised by: mr          
嵶偐偄廋惓                                                            
Revision 1.1         2002擭 4寧 28擔          Revised by: ldl         
偄偔偮偐偺嵶偐偄廋惓丄sgml 偺夵慞                                     
Revision 1.0         2002擭 4寧 26擔          Revised by: mr          
弶斉                                                                  

RAID 偼崱偱偼傕偆丄崅壙側 SCSI 僨傿僗僋偵尷偭偨榖偱偼偁傝傑偣傫丅儅僓乕
儃乕僪儊乕僇乕偼埨壙側 IDE 僨傿僗僋梡偵丄僆儞儃乕僪偱 RAID 傪僒億乕僩偡
傞儅僓乕儃乕僪傪丄偳傫偳傫攧傝弌偟偰偄傑偡丅偙傟傪 ATA RAID 偲偄偄傑偡
丅 Promise Technology 幮偲 HighPoint 幮偼丄偦偆偄偆 ATA RAID 巗応偱桪埵
偵棫偭偰偄傞 2 幮偱偡丅偙偺 HOWTO 暥彂偱偼丄僀儞僥儖偺儁儞僥傿傾儉屳姺
偱丄乮僆儞儃乕僪丄偁傞偄偼屄暿偺僇乕僪偱乯ATA RAID 僐儞僩儘乕儔偑晅偒丄
僔儞僌儖僾儘僙僢僒丄側偄偟偼儅儖僠僾儘僙僢僒偵側偭偰偍傝丄嵟掅偱傕僴乕
僪僨傿僗僋偑 2 戜晅偄偰偄傞丄偦偆偄偆僐儞僺儏乕僞偵 Linux 傪僀儞僗僩乕
儖偡傞曽朄偵偮偄偰愢柧偟偰偄傑偡丅尰帪揰偱偙偺暥彂偑埖偭偰偄傞偺偼丄
Promise FastTrack ATA RAID 僐儞僩儘乕儔偑晅偄偨儅僔儞偵丄 RedHat Linux
7.2 傪僀儞僗僩乕儖偡傞応崌偺偙偲偩偗偱偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

Table of Contents
1. 偼偠傔偵
   
    1.1. 挊嶌尃偵娭偡傞忣曬
    1.2. 柶愑忦崁
    1.3. 怴偟偄斉偵偮偄偰
    1.4. 幱帿
    1.5. 僼傿乕僪僶僢僋
    1.6. 東栿偵偮偄偰
   
2. 昁梫忦審
3. Promise 幮偺僪儔僀僶乕偑擖偭偨僼儘僢僺乕僨傿僗僋偺弨旛
4. RedHat 7.2 CD 偺弨旛
5. Red Hat 7.2 偺僀儞僗僩乕儖
6. Linux 杮棃偺 RAID 偺僀儞僗僩乕儖
7. 婛懚偺 Linux 僔僗僥儉偱偺僀儞僗僩乕儖
   
    7.1. Append 峴
    7.2. Append 峴偺寛掕
    7.3. RAID 1 偺愝掕
   
8. 僇乕僱儖偺傾僢僾僌儗乕僪
   
    8.1. Promise Technology (ft) 僪儔僀僶傪巊偭偰偍傝丄 RAID 儈儔乕偵
        OS 偑偁傞応崌
    8.2. Promise Technology (ft) 僪儔僀僶傪巊偭偰偍傝丄 RAID 儈儔乕偵
        OS 埲奜偺僨乕僞偑偁傞応崌
    8.3. Linux 杮棃偺 (ataraid) 僪儔僀僶傪巊偭偰偍傝丄 RAID 儈儔乕偵 OS
        偑偁傞応崌
    8.4. Linux 杮棃偺 (ataraid) 僪儔僀僶傪巊偭偰偍傝丄RAID 儈儔乕偵 OS
        埲奜僨乕僞偑偁傞応崌
   
9. Promise FastTrack 偺 RAID 婡擻柍岠壔
   
    9.1. 働乕僗偦偺 1 丗RAID 傪巊傢側偄 OS
    9.2. 働乕僗偦偺 2丗RAID 傪巊偭偰偄傞 OS
   
10. Tips and Important Notes
11. 徻偟偄忣曬偵偮偄偰
12. 擔杮岅斉幱帿
A. 偙偺暥彂偺嶌傝曽

1. 偼偠傔偵

偙偺 HOWTO 偺栚昗偼丄 2 戜偺僴乕僪僨傿僗僋偱 RAID 1 乮儈儔乕儕儞僌乯傪
愝掕偟丄儈儔乕僨僶僀僗偵僽乕僩壜擻側 RedHat Linux 僆儁儗乕僥傿儞僌僔僗
僥儉傪僀儞僗僩乕儖偡傞曽朄傪愢柧偡傞偙偲偱偡丅偙偺栚昗傪払惉偡傞偨傔丄
師偺擇庬椶偺曽朄傪榑偠傑偡丅 1. Promise 幮偑採嫙偟偰偄傞僪儔僀僶傪巊偆
丅 2. Linux 杮棃偺 RAID 傪巊偆丅乮Promise 幮偑採嫙偟偰偄傞僪儔僀僶傪巊
偆偲偄偆乯嵟弶偺曽朄傪慖戰偡傞応崌偼丄 RedHat 7.2 偺 CD 偵晅偄偰偔傞丄
2.4.7-10 偺僇乕僱儖傪巊傢側偗傟偽側傝傑偣傫丅堦曽丄擇斣栚偺曽朄傪慖傋偽
丄嵟怴偺僇乕僱儖 (2.4.18) 偵傾僢僾僌儗乕僪偱偒傑偡丅僗僩儔僀僺儞僌傗懠
偺僨傿僗僋峔惉偵偮偄偰偼丄偙偺暥彂偱偼榑偠傑偣傫丅偱傕昅幰偼偦偆偄偭偨
峔惉傪嶌傞帪偵傕丄偙偺暥彂偑栶棫偮偙偲偑偁傞偩傠偆偲峫偊偰偄傑偡丅偙偺
暥彂偱傑偩埖偭偰偄側偄偺偼師偺傛偆側偙偲偱偡丅 1. LILO 偱偼側偔丄GRUB
傪巊偭偰僀儞僗僩乕儖偡傞丅 2. 嵟怴偺奐敪斉僇乕僱儖 (2.5.x) 偵僀儞僗僩乕
儖偡傞丅

傑偢嵟弶偵丄擄夝側朄棩梡岅偑偪傚傄傝昁梫偱偡丅嵟嬤偺奐敪偱偼丄偙傟偑偲
偰傕戝帠偩偲偄偆偙偲偑徹柧偝傟偰偄傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.1. 挊嶌尃偵娭偡傞忣曬

偙偺晹暘偺擔杮岅栿偼嶲峫偱偡丅惓幃側傕偺偼塸暥傪撉傫偱壓偝偄丅

2002 Murty Rompalli

This document is copyrighted 2002 Murty Rompalli and is distributed
under the terms of the GNU Free Documentation License <http://
www.gnu.org/copyleft/fdl.txt> and additional terms described below.

杮暥彂偺挊嶌尃(c) 2002 偼 Murty Rompalli 偑桳偟偰偍傝丄 GNU 僼儕乕暥彂
棙梡嫋戻宊栺彂 <http://www.gnu.org/copyleft/fdl.txt> 偍傛傃壓婰偺晅壛忦
審偺壓偱攝晍偡傞丅

This Linux HOWTO document may be reproduced and distributed in whole or
in part, in any medium physical or electronic, as long as this
copyright notice is retained on all copies. Commercial redistribution
is allowed and encouraged; however, the author would like to be
notified of any such distributions.

杮 Linux HOWTO 暥彂偼丄偦偺慡懱側偄偟堦晹傪丄暔棟揑側偄偟揹巕揑側擛壗側
傞攠懱偱嵞嶌惉偟丄攝晍偟偰傕傛偄丅偨偩偟丄偦偺偡傋偰偺暋惢偵偼丄偙偺挊
嶌尃崘抦傪偦偺傑傑偺宍偱宖嵹偡傞偙偲丅塩棙栚揑偺嵞攝晍偼丄偙傟傪嫋壜偟
丄彠椼偡傞偑丄偦偺傛偆側栚揑偱攝晍偡傞応崌偼挊幰偵撏偗弌偰傕傜偄偨偄丅

All translations, derivative works, or aggregate works incorporating
this Linux HOWTO document must be covered under this copyright notice.
That is, you may not produce a derivative work from this HOWTO document
and impose additional restrictions on its distribution. Exceptions to
these rules may be granted under certain conditions; please contact the
Linux HOWTO coordinator at this address <linux-howto@metalab.unc.edu>.

杮 Linux HOWTO 暥彂傪慻傒崬傫偩偡傋偰偺東栿暔丄攈惗暔丄廤愊暔偼丄偙偺挊
嶌尃崘抦偺壓偱曐岇偟側偗傟偽側傜側偄丅偡側傢偪丄杮 Linux HOWTO 暥彂傪壓
偵攈惗暔傪嶌惉偟丄偦偺攈惗暔偺攝晍偵嵺偟偰丄怴偨側惂尷傪壽偟偰偼側傜側
偄丅忦審偵傛偭偰偼偙偺婯掕偵懳偡傞椺奜傕擣傔傜傟傞偺偱丄
<linux-howto@metalab.unc.edu> 埗偰偱丄 Linux HOWTO 僐乕僨傿僱乕僞偵楢棈
傪偲偭偰傕傜偄偨偄丅

In short, the author wishes to promote dissemination of this
information through as many channels as possible but wish to retain
copyright on this HOWTO document, and would like to be notified of any
plans to redistribute this HOWTO document.

梫栺偡傟偽丄挊幰偼壜擻側尷傝偺僠儍僱儖傪捠偠偰丄偙偺忣曬偺晛媦傪偼偐傝
偨偄偑丄杮 HOWTO 暥彂偵娭偡傞挊嶌尃偼偦偺傑傑曐帩偟偨偄偲婅偭偰偄傞丅偦
傟偵丄杮 HOWTO 暥彂偺嵞攝晍偵娭偡傞擛壗側傞埬偵偮偄偰傕丄撏偗弌偰傕傜偄
偨偄偺偱偁傞丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.2. 柶愑忦崁

杮暥彂偺撪梕偵懳偟偰偼丄擛壗側傞愑擟傕晧偄傑偣傫丅偦偺撪梕丄椺丄偦偺懠
彅乆偵偮偄偰偼丄偛帺暘偺愑擟偵墬偄偰巊梡偟偰偔偩偝偄丅偙偺暥彂偼怴偟偄
斉側偺偱丄僄儔乕傗晄惓妋側晹暘偑偁傞偐傕偟傟傑偣傫偟丄偦偺応崌偼丄傓傠
傫奆偝傫偺僔僗僥儉偵旐奞傪梌偊傞偙偲偑偁傝傑偡丅偱偡偐傜拲堄偟偰恑傔偰
壓偝偄丅偦偺寢壥丄傑偭偨偔惉岟偟偦偆偵側偔偰傕丄挊幰偼偦偺偙偲偵懳偟偰
偼丄側傫傜愑擟偼晧偄傑偣傫丅

All copyrights are held by their by their respective owners, unless
specifically noted otherwise. Use of a term in this document should not
be regarded as affecting the validity of any trademark or service mark.

偡傋偰偺挊嶌尃偼丄懠偵摿偵柧婰偟側偄尷傝丄奺乆偺強桳幰偑曐帩偟偰偄傑偡
丅杮暥彂偵偍偗傞梡岅偺巊梡偼丄彜昳彜昗丄栶柋彜昗偺偄偢傟偺崌朄惈傕斊偝
側偄傕偺偲偟傑偡丅

摿掕偺彜昳柤傗僽儔儞僪柤傪嫇偘偰傕丄偦傟傜傪悇彠偡傞傕偺偱偼偁傝傑偣傫
丅

婋尟傪敽偆僀儞僗僩乕儖傪峴側偆慜偵偼丄偛帺暘偺僔僗僥儉偺僶僢僋傾僢僾傪
庢傝丄傑偨掕婜揑偵僶僢僋傾僢僾傪庢傞偙偲傪嫮偔偍彠傔偟傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.3. 怴偟偄斉偵偮偄偰

杮 HOWTO 偺嵟怴斉偼丄 http://www.murty.net/ataraid/ <http://
www.murty.net/ataraid/> 偵偁傞丄挊幰偺僂僃僽僒僀僩偵偁傞偺偱丄偄偮偱傕
棙梡偱偒傑偡丅偁傞偄偼 <murty at solar . murty . net> 埗偰偱丄挊幰偵捈
愙楢棈偟偰丄怴偟偄斉偑側偄偐偳偆偐妋擣偟偰傕偐傑偄傑偣傫丅

尰帪揰偱偼丄杮暥彂偑棙梡壜擻側僼僅乕儅僢僩偼師偺偲偍傝偱偡丅

 丒 HTML <ataraid.html>.
   
 丒 僾儗乕儞僥僉僗僩 <ataraid.txt>.
   
 丒 Adobe PDF <ataraid.pdf>.
   
 丒 gzip 偱埑弅偟偨億僗僩僗僋儕僾僩乮US 儗僞乕宍幃乯 <ataraid.ps.gz>.
   
 丒 SGML 僜乕僗 <ataraid.sgml>.
   
 丒 gzip 偱埑弅偟偨 DVI 僼傽僀儖 <ataraid.dvi.gz>.
   
 丒 gzip 偱埑弅偟偨 TeX (jadetex 偱巊梡) <ataraid.tex.gz>.
   
梡巻偺戝偒偝偱偡偑丄偙傟偼條乆側傕偺偑悽奅拞偱巊傢傟偰偄傞偙偲傪妎偊偰
偍偄偰壓偝偄丅椺偊偽丄A4 偲 US 儗僞乕偼傑偭偨偔堘偭偰偄傑偡丅偙偆側傞偲
丄儐僯僶乕僒儖僼僅乕儅僢僩 (8.27x11in; 210x279mm) 傪巊偍偆偲偄偆婥帩偪
傕婲偒傛偆偲偄偆傕偺偱偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.4. 幱帿

峷專偟偰偄偨偩偗傟偽丄偍柤慜傪偙偙偵嵹偣傑偡傛 :)

Luc de Louw <luc at delouw.ch> SGML 僜乕僗偺僄儔乕傪掶惓偟偰偔傟傑偟偨
丅

Joy Y Goodreau <joyg at us.ibm.com> SGML 僜乕僗偺僄儔乕傪掶惓偟偰偔傟傑
偟偨丅

偙偺斉偵偰丄師偺曽偵偼惀旕幱堄傪弎傋偝偣偰偄偨偩偒偨偄偲巚偄傑偡丅

Alain Portal <alain.portal at free.fr>, Service Commun de Microscopie
Electronique 偺曽偱丄嵏撉偲掶惓傪峴側偭偰偄偨偩偒傑偟偨丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.5. 僼傿乕僪僶僢僋

杮暥彂偵娭偡傞僼傿乕僪僶僢僋偼丄柍榑戝娊寎偱偡丅崱偙偺暥彂偑懚嵼偡傞偺
偼丄奆偝傫偐傜偺偛堄尒偑偁傟偽偙偦側傫偱偡丅捛壛偟偨偄偙偲傗偛堄尒丄偛
斸昡側偳偼丄偳偆偐師偺埗愭傑偱丄揹巕儊乕儖偱偍婅偄偟傑偡丗 <murty at
solar. murty . net>丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.6. 東栿偵偮偄偰

塸岅傪偍巊偄偵側傜側偄丄懠偺崙乆偺儐乕僓乕偺曽乆偵丄偳偆偐墖彆傪偍婅偄
偟傑偡丅杮暥彂傪愊嬌揑偵懠崙偺尵岅偵東栿偟偰壓偝偄丅杮暥彂傪懠尵岅偵東
栿偟偨傝丄東栿偟偨偄偲巚偭偰偄傞曽偼丄偳偆偐挊幰偵抦傜偣偰壓偝偄丅埲壓
偺東栿嶌嬈偑婛偵恑峴拞偱偡丅

 丒 僼儔儞僗岅栿偑傕偆偡偖姰惉偱偡丅Alain Portal 偵姶幱偟傑偡丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2. 昁梫忦審

杮愡偱偼丄僀儞僗僩乕儖奐巒慜偵弨旛偡傞傕偺傪嫇偘偰偄偒傑偡丅

 丒 DOS 宍幃偱僼僅乕儅僢僩偟偨丄枹巊梡偺僼儘僢僺乕僨傿僗僋傪 2 枃丅
    Linux 偑摦嶌偟偰偄傞僐儞僺儏乕僞側傜丄 mkfs.msdos /dev/fd0 偲僞僀僾
    偡傟偽僼僅乕儅僢僩偱偒傑偡丅
   
 丒 Red Hat Linux 7.2 偺 CD1 偲CD2乮CD3 偲 CD4 偵擖偭偰偄傞偺偼 SRPMS
    側偺偱丄晄梫偱偡乯
   
 丒 僀儞僞乕僱僢僩偵愙懕嵪傒偱丄巊梡偱偒傞偙偲
   
 丒 摦嶌偡傞 CD-ROM 僪儔僀僽憰旛偱丄僼儘僢僺乕僨傿僗僋僪儔僀僽丄 10Mbps
    /100Mbps 偺僀乕僒僱僢僩僇乕僪傪僒億乕僩偟偰偄傞僐儞僺儏乕僞
   
 丒 擡懴
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

3. Promise 幮偺僪儔僀僶乕偑擖偭偨僼儘僢僺乕僨傿僗僋偺弨旛

 1. 壓婰偺 2 僒僀僩偺偄偢傟偐偐傜丄揔愗側僪儔僀僶傪僟僂儞儘乕僪偟丄梡堄
    偟偨僼儘僢僺乕僨傿僗僋偵曐懚偟偰壓偝偄丅僀儞僞乕僱僢僩偵偮側偑偭偰
    偄傞僐儞僺儏乕僞側傜丄偳傟偱傕偱偒傑偡丅
   
     仩 僔儞僌儖僾儘僙僢僒婡梡僪儔僀僶 <http://www.promise.com.tw/
        support/file/rhup-ftb14.tgz>
       
     仩 儅儖僠僾儘僙僢僒婡梡僪儔僀僶 <http://www.promise.com.tw/support
        /file/rhsmp-ft12014.tgz>
       
 2. 偙偺僪儔僀僶偺 tar 儃乕儖偑擖偭偨僼儘僢僺乕僨傿僗僋傪丄 Linux 偑摦
    嶌偟偰偄傞僐儞僺儏乕僞偺僼儘僢僺乕僨傿僗僋僪儔僀僽偵憓擖偟丄師偺傛
    偆偵僞僀僾偟偰壓偝偄丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆mount /dev/fd0 /mnt/floppy                              劆
    劆cd /mnt/floppy                                          劆
    劆cp rhsmp-ft12014.tgz /tmp                               劆
    劆tar xvzf /tmp/rhsmp-ft12014.tgz                         劆
    劆cd /                                                    劆
    劆umount /mnt/floppy                                      劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
 3. 乽Promise FastTrack 僪儔僀僶乿偲彂偄偨儔儀儖傪僼儘僢僺乕僨傿僗僋偵
    揬傝丄偄偭偨傫榚偵抲偄偰偍偄偰偔偩偝偄丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

4. RedHat 7.2 CD 偺弨旛

    拲堄: 偡偱偵 Red Hat Linux 7.2 偺 CD1 偲 CD2 傪偍帩偪側傜丄偙偺抜奒
    偼旘偽偟偰壓偝偄丅偦傟埲奜偼丄偙偙傪撉傫偱丄柍椏偱擖庤偡傞曽朄傪妎
    偊偰壓偝偄丅
   
 1. CD 儔僀僞乕僪儔僀僽傪惓偟偔憰旛偟偰偄傞 Windows 僐儞僺儏乕僞偵儘僌
    僆儞偟偰偔偩偝偄丅偦偟偰枹巊梡偺 CD-R 傪偦偺 CD 儔僀僞乕偵憓擖偟偰
    偔偩偝偄丅
   
 2. 僽儔僂僓乕偱師偺 Red Hat 偺僂僃僽僒僀僩傪奐偒傑偡丗 ftp://
    ftp.redhat.com/pub/redhat/linux/7.2/en/iso/i386/ <ftp://
    ftp.redhat.com/pub/redhat/linux/7.2/en/iso/i386/>
   
 3. enigma-disc1.iso 偲偄偆僼傽僀儖乮Red Hat 7.2 偺嵟弶偺僨傿僗僋乯傪尒
    偮偗偨傜丄偙偺僼傽僀儖傪 Winodws 偺僨僗僋僩僢僾偵曐懚偟偰壓偝偄丅
   
 4. 僨僗僋僩僢僾偵曐懚偟偨 iso 僀儊乕僕忋偱丄儅僂僗偺塃儃僞儞傪僋儕僢僋
    偟丄 "Record to CD乮栿拲丗乽CD 偵婰榐乿乯傪慖戰偟傑偡丅偡傞偲 iso
    僀儊乕僕偑 CD-R 偵彂偐傟丄僨傿僗僋 1 偑偱偒傑偡丅
   
 5. ftp.redhat.com/pub <ftp://ftp.redhat.com/pub> 偵丄 enigma-disc2.iso
    偲偄偆柤慜偱丄擇斣栚偺 iso 僼傽僀儖偑偁傞偺偱丄偙傟偵偮偄偰傕摨偠庤
    弴傪孞傝曉偟傑偡丅
   
 6. 偱偒偨 CD-R 偑杮摉偵撉傔傞偐偳偆偐妋偐傔偰壓偝偄丅 "My Computer乮栿
    拲丗Windows 偺僨僗僋僩僢僾偵偁傞乽儅僀僐儞僺儏乕僞乿傾僀僐儞乯"傪僋
    儕僢僋偟丄偦偺拞偵偁傞 CD 儔僀僞乕僪儔僀僽偺傾僀僐儞傪僋儕僢僋偟傑
    偡丅偙傟偱 CD-R 偺拞恎偑尒偊傞偼偢偱偡丅
   
 7. RH 7.2 disk-1 偍傛傃 RH 7.2 disk-2 偲偄偆 CD-R 偺儔儀儖傪惓偟偔嶌偭
    偰丄揬偭偰壓偝偄丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

5. Red Hat 7.2 偺僀儞僗僩乕儖

偙偺 CD 偑偱偒偰偟傑偊偽丄帺暘偺 Linux 僔僗僥儉偵 Red Hat 7.2 偺僀儞僗
僩乕儖傪巒傔傞弨旛偼姰椆偱偡丅

 1. 僐儞僺儏乕僞傪嵞婲摦偟偰偔偩偝偄丅偦偟偰夋柺忋偵 FastTrack BIOS 偺
    僾儘儞僾僩偑弌偨傜丄 Cntrl-F 傪墴偟偰壓偝偄丅偙傟偱 Promise
    FastTrack BIOS 偺愝掕夋柺偵擖傝傑偡丅
   
 2. BIOS 偺愝掕夋柺偱丄 "delete array," 偲 "define array," 偍傛傃
    "choose Mirror." 傪慖戰偟傑偡丅
   
 3. 偦偟偰丄Cntrl-Y 傪墴偟偰曐懚偟傑偡丅
   
 4. "Create Only" 傪慖戰屻丄ESC 傪墴偟偰儕僽乕僩偟偰壓偝偄丅儕僽乕僩偑
    巒傑傞偲丄崱搙偼 Promise FastTrack 偵偼丄FastTrack 僐儞僩儘乕儔偵偮
    側偑偭偰偄傞 2 戜偺僴乕僪僨傿僗僋偵丄 1x2 偺 RAID Mirror 偑掕媊偝傟
    偰偄傞偺偑暘偐傞偼偢偱偡丅
   
 5. Red Hat 7.2 偺僨傿僗僋 1 傪 CD-ROM 僪儔僀僽偵擖傟偰丄儕僽乕僩偟傑偡
    丅
   
 6. 僽乕僩偺僾儘儞僾僩偑弌偨傜丄師偺傛偆偵僞僀僾偟偰壓偝偄丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆linux noprobe                                           劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
 7. 偝偁丄僀儞僗僩乕儖偑巒傑傝傑偡丅"Add device乮栿拲丗僨僶僀僗偺捛壛乯
    " 傪慖傫偱偔偩偝偄丅偦偟偰巊梡壜擻側僪儔僀僶堦棗偵 Promise
    FastTrack 偑偁傞偐偳偆偐妋偐傔偰壓偝偄丅嵹偭偰偄側偗傟偽丄F2 傪墴偟
    偰丄僼儘僢僺乕僨傿僗僋偐傜奜晹偺僪儔僀僶傪儘乕僪偟傑偡丅 Promise
    FastTrack 僪儔僀僶偑擖偭偨僼儘僢僺乕僨傿僗僋傪僼儘僢僺乕僨傿僗僋僪
    儔僀僽偵憓擖偟偰丄 "OK" 傪墴偟偰壓偝偄丅
   
 8. 僀儞僗僩乕儖傪懕偗傑偡丅僷乕僥傿僔儑儞偼丄偝偟偁偨傝 ext3 偩偗傪慖
    傫偱壓偝偄丅 ext2 偑杮摉偵昁梫側傜丄堦斣嵟屻偱嶌傟傑偡丅
   
 9. 弶傔偰僽乕僩僼儘僢僺乕傪嶌傞応崌偼丄枹巊梡偺僽乕僩僼儘僢僺乕僨傿僗
    僋傪憓擖偟偰壓偝偄丅 Red Hat 偺僀儞僗僩乕儖僾儘僌儔儉偑僽乕僩僼儘僢
    僺乕僨傿僗僋傪嶌偭偰偔傟傑偡丅
   
       
        拲堄: "Skip boot disk creation乮栿拲丗僽乕僩僨傿僗僋嶌惉傪旘偽
        偡乯" 偼僋儕僢僋偟側偄偱壓偝偄丅偙偺抜奒傪旘偽偡偲丄傕偆僽乕僩
        僼儘僢僺乕僨傿僗僋偼嶌傟側偄偺偱丄屻偱偒偭偲戝曄屻夨偡傞偙偲偵
        側傝傑偡丅
       
10. 僀儞僗僩乕儖偱僽乕僩儘乕僟乕偺愝掕偵側偭偨傜丄慖傇偺偼偳偆偐 "LILO"
    偩偗偵偟偰丄 GRUB 傪僽乕僩儘乕僟乕偵偡傞偺偼巭傔偰壓偝偄丅
   
    僀儞僗僩乕儖偑廔傞偲丄崱搙偼乽愝掕乿夋柺偵側傝傑偡丅
   
11. Cntrl-ALT-F2 傪墴偟偰丄 tty2 偵愗懼偊偰壓偝偄丅
   
12. 僔僃儖偺僾儘儞僾僩偱丄師偺傛偆偵僞僀僾偟傑偡丗
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆cd /mnt/sysimage/lib/modules/2.4.7-10/kernel/drivers/scsi 劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
13. ls 偲僞僀僾偟偰丄 ft.o 偑懚嵼偡傞偙偲傪妋擣偟偰壓偝偄丅柍偄応崌偼師
    偺傛偆偵偟偰丄庤嶌嬈偱 ft.o 偲偄偆儌僕儏乕儖傪僀儞僗僩乕儖偡傞昁梫
    偑偁傝傑偡丅
   
     a. 僪儔僀僶偺僼儘僢僺乕僨傿僗僋偑儅僂儞僩偝傟偰偄傞偙偲傪妋擣偟偰
        壓偝偄丅僼儘僢僺乕僨傿僗僋偺僨傿儗僋僩儕偵堏傝丄師偺傛偆偵僞僀
        僾偟傑偡丗
       
        劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
        劆mv module.cgz /tmp                                  劆
        劆cd /tmp                                             劆
        劆gzip -dc module.cgz | cpio -idumv                   劆
        劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
       
     b. 偙傟偱丄 /tmp 偺壓偵丄堦孮偺僨傿儗僋僩儕偑偱偒偨偙偲偑傢偐傝傑
        偡丅
       
        劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
        劆cd /tmp/`uname -r`                                              劆
        劆cp ft.o /mnt/sysimage/lib/modules/`uname -r`/kernel/drivers/scsi劆
        劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
       
     c. 僔僃儖僾儘儞僾僩偱丄師偺傛偆偵僞僀僾偟偰壓偝偄丗
       
        劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
        劆less /mnt/sysimage/etc/lilo.conf                    劆
        劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
       
        偙傟偱丄lilo.conf 偑惓偟偦偆偐偳偆偐挷傋偰壓偝偄丅摿偵丄 initrd
        =峴偲丄偦傟偵懳墳偡傞 initrd.img 僼傽僀儖偑丄 /mnt/sysimage/
        boot 僨傿儗僋僩儕壓偵懚嵼偟側偗傟偽側傝傑偣傫丅偙傟偑柍偄応崌偼
        丄師偺傛偆偵偟偰丄庤嶌嬈偱嶌偭偰壓偝偄丅
       
        劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
        劆/mnt/sysimage/usr/sbin/chroot /mnt/sysimage /sbin/mkinitrd \  劆
        劆--preload jbd \                                               劆
        劆--preload ext3 \                                              劆
        劆--preload scsi_mod \                                          劆
        劆--with ft \                                                   劆
        劆/boot/initrd.img 2.4.7-10                                     劆
        劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
       
14. 偱偼丄僼儘僢僺乕僨傿僗僋偲 CD 傪敳偄偰丄儕僽乕僩偟傑偟傚偆丅偙偺帪
    丄帺暘偺僐儞僺儏乕僞偑柍帠偵婲摦偡傞傛偆丄偍婩傝傪曺偘偰壓偝偄丅
   
15. 僽乕僩偟側偄応崌偼丄僽乕僩僼儘僢僺乕傪擖傟偰儕僽乕僩偟丄儘僌僀儞偟
    偰偔偩偝偄丅偦傟偐傜埲壓偺傛偆偵偟偰廋暅偟傑偡丅
   
     a. /boot/initrd.img 偑懚嵼偡傞偙偲傪妋擣偟偰壓偝偄丅偦傟偐傜丄 /
        lib/modules/2.4.7-10/kernel/drivers/scsi/ft.o 偑懚嵼偡傞偙偲傕
        妋擣偟偰壓偝偄乮柍偗傟偽丄愭偵愢柧偟偨傛偆偵丄偙偆偄偭偨偙偲傪
        庤摦偱捈偝側偗傟偽側傝傑偣傫乯丅
       
     b. /sbin/lilo 偲僞僀僾偟偰壓偝偄丅
       
     c. 偱偼丄僼儘僢僺乕僨傿僗僋傪敳偄偰儕僽乕僩偟傑偟傚偆丅 Promise 僪
        儔僀僶傪巊偭偨怴偟偄儅僔儞偱僽乕僩偡傞偼偢偱偡丅
       
16. df -k 偲僞僀僾偟偰壓偝偄丅僴乕僪僨傿僗僋偑丄/dev/hdaX 偱偼側偔丄 /
    dev/sdaX 偵側偭偰偄傞偺偑傢偐傞偱偟傚偆丅偳偆偟偰偐偲偄偆偲丄
    Promise 僪儔僀僶偑尩枾側堄枴偱偺僴乕僪僂僃傾 RAID 偱偼側偔丄幚嵺偵
    偼丄僜僼僩僂僃傾僄儈儏儗乕僔儑儞 RAID 偺摿暿側僞僀僾偩偐傜偱偡丅乮
    Promise RAID 偼 BIOS 偺僴僢僋傪捠偟偰摦嶌偟傑偡乯
   
 

偍巊偄偺儅僔儞偑 SMP 偺応崌丄儐僯僾儘僙僢僒僇乕僱儖偱婲摦偡傞応崌偼丄埲
壓偵帵偡傛偆偵丄 initrdsmp.img 傪庤嶌嬈偱嶌傜側偗傟偽側傝傑偣傫丅

 1. 偛帺暘偺儅僔儞傪 2.4.7-10 偺儐僯僾儘僙僢僒僇乕僱儖偱僽乕僩偡傞応崌
    偼丄埲壓偺傛偆偵僞僀僾偟偰丄 2.4.7-10 僇乕僱儖偱巊梡偡傞
    initrdsmp.img 傪嶌偭偰壓偝偄丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆/sbin/mkinitrd \                                        劆
    劆--preload jbd \                                         劆
    劆--preload ext3 \                                        劆
    劆--preload scsi_mod \                                    劆
    劆--with ft \                                             劆
    劆/boot/initrdsmp.img 2.4.7-10smp                         劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
       
        拲堄: initrd 僼傽僀儖傪嶌傞僐儅儞僪傪妎偊傞偺偑寵側傜丄昅幰偺僗
        僋儕僾僩 geninitrd <files/geninitrd.txt> 傪僟僂儞儘乕僪偟偰丄庤
        尦偵抲偄偰偍偄偰偔偩偝偄丅
       
 2. 2.4.7-10smp乮SMP 僇乕僱儖僙僋僔儑儞乯梡偵丄揔媂 /etc/lilo.conf 傪挷
    惍偟丄 /sbin/lilo 偲僞僀僾偟偰丄 SMP 僇乕僱儖偱儕僽乕僩偟偰壓偝偄丅
    /etc/lilo.conf 偑偳偺傛偆偵側傞偐偼丄偙偙偵帵偟偰偁傝傑偡丅 <files/
    lilo.conf.txt>
   
偙傟偱丄儅儖僠僾儘僙僢僒偺応崌偺丄偪傖傫偲摦偔丄SMP 僒億乕僩晅偒偺 Red
Hat 7.2 偺儅僔儞偑偱偒傑偟偨丅 SCSI 僄儈儏儗乕僔儑儞傪巊偭偨丄 Promise
FastTrack 偺媈帡僴乕僪僂僃傾 RAID 偑摦偄偰偄傞偙偲偵枮懌側傜丄偙偺愭偼
撉傑側偔偰傕偐傑偄傑偣傫丅

Promise 僪儔僀僶偼 SCSI 僄儈儏儗乕僔儑儞側偺偱丄 CPU 偵偐側傝晧壸傪偐偗
傑偡丅偱偡偐傜丄Linux 杮棃偺丄杮摉偺 RAID 傪巊偄丄 Promise 偺 SCSI 僄儈
儏儗乕僔儑儞偼巭傔偨偗傟偽丄偙偺傑傑撉傒懕偗偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

6. Linux 杮棃偺 RAID 偺僀儞僗僩乕儖

嵟弶偵昁梫側偺偼丄僱僢僩儚乕僋偺愝掕偲僀儞僞乕僱僢僩傊偺愙懕偱偡丅偙偺
帪揰偱偼傑偩丄Promise 僪儔僀僶偺 SCSI 僄儈儏儗乕僔儑儞偱摦嶌拞偱偡丅師
偵 Linux 杮棃偺 RAID 傪僀儞僗僩乕儖偟傑偡丅

 

 1. www.kernel.org <http://www.kernel.org/> 傊峴偭偰丄嵟怴僇乕僱儖
    2.4.18.tar.gz 傪僟僂儞儘乕僪偟偰壓偝偄丅
   
 2. 僇乕僱儖偺峔惉傪峴側偄傑偡丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆cd /usr/src/                                                                      劆
    劆tar xvzf linux-2.4.18.tar.gz                                                      劆
    劆cd linux                 # tar 偱嶌偭偨偽偐傝偺丄僇乕僱儖僜乕僗僨傿儗僋僩儕偵堏傞 劆
    劆cp config.txt .config    #乮壓婰偺拲堄傪尒偰丄config.txt 偺擖庤愭傪尒偮偗傞偙偲乯 劆
    劆make menuconfig                                                                   劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
       
        拲堄: 幚嵺偵偪傖傫偲摦嶌偡傞 cnofig.txt 偼丄偙偙 <files/
        config.txt> 偐傜僟僂儞儘乕僪偱偒傑偡丅柍榑丄帺暘偺梫媮偵崌偆傛
        偆偵丄僥僉僗僩僄僨傿僞偱捈愙廋惓偟偰傕偄偄偟丄愭偵愢柧偟偨傛偆
        偵丄make menuconfig 偲僞僀僾偟偰傕偐傑偄傑偣傫丅偱傕丄vi 偲偐
        emacs 偱捈愙 .config 傪捈偦偆偲偡傞偲丄娫堘偄偑婲偒傗偡偔側傝傑
        偡丅偱偡偐傜偍姪傔側偺偼丄 make menuconfig 偲僞僀僾偟偰丄儊僯儏
        乕僀儞僞僼僃乕僗傪巊偆偙偲偱偡丅
       
 3. 僇乕僱儖偺埲壓偺僆僾僔儑儞傪偡傋偰乮儌僕儏乕儖偱偼側偔乯捈愙慻傒崬
    傓傛偆偵偟偰壓偝偄丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆  ATA/IDE/MFM/RLL Support -->                                               劆
    劆        <*> ATA/IDE/MFM/RLL Support                                         劆
    劆        IDE/ATA/ATAPI Block Devices -->                                     劆
    劆                <*> Enhanced ATA/IDE/MFM/RLL disk/cdrom/tape/floppy support 劆
    劆                <*> Include IDE/ATA-2 Disk Support                          劆
    劆                [*] Use multi-mode by default                               劆
    劆                Include IDE/ATAPI CDROM support                             劆
    劆                [*] Generic PCI IDE chipset support                         劆
    劆                        [*] Sharing PCI IDE interrupt support               劆
    劆                        [*] Generic PCI Bus master DMA support              劆
    劆                        [*] Use PCI DMA by default when available           劆
    劆                        [*] Intel PIIXn chipset support                     劆
    劆                                [*] PIIXn tuning support                    劆
    劆                [*] Promise PDC202{46|62|65|67|68} support                  劆
    劆                        [*] Special UDMA Feature                            劆
    劆                        [*] Special FastTrack Feature                       劆
    劆                [*] VIA 82CXXX chipset support                              劆
    劆                <*> Support for IDE RAID controllers                        劆
    劆                        <*> Support Promise Software RAID (fasttrack)       劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
 4. 忋婰偺傛偆偵丄慻傒崬傓傛偆偵愝掕偟偨傜丄帺暘偺娐嫬偵崌傢偣偰丄懠偵
    昁梫側晹暘傪曄峏偟偰壓偝偄丅
   
 5. 曄峏偑廔偭偨傜丄偦偺僇乕僱儖偺峔惉忣曬傪曐懚偟偰壓偝偄丅尰嵼偺僨傿
    儗僋僩儕偺 .config 偵曐懚偝傟傑偡丅偙偺僼傽僀儖偼丄偤傂僶僢僋傾僢僾
    傪庢偭偰偍偄偰壓偝偄丅庢傜側偄偲丄屻偱屻夨偟傑偡傛丅 .config 僼傽僀
    儖傪枹巊梡偺僼儘僢僺乕僨傿僗僋偐丄 /root 偵僐僺乕偟偰偔偩偝偄丅
   
 6. 偄偮傕傗偭偰偄傞傛偆偵偟偰丄僇乕僱儖傪價儖僪偟丄僀儞僗僩乕儖偟傑偡
    丅師偺傛偆偵僞僀僾偡傟偽偄偄偱偟傚偆丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆make dep ; make clean ; make && make install            劆
    劆make modules && make modules_install                    劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
/etc/lilo.conf 傪挱傔偰丄怴偟偄僇乕僱儖 2.4.18 偑僽乕僩偡傞傛偆偵丄峴偑
怴偨偵捛壛偝傟偰偄傞偙偲傪妋擣偟偰壓偝偄丅偙偺怴偟偄僇乕僱儖偵娭偟偰偼
丄 /etc/lilo.conf 偵偼 initrd= 峴偑柍偄偲偄偆偙偲偵拲堄偟偰壓偝偄丅偮傑
傝丄尰嵼偺 2.4.7-10 僇乕僱儖偲偼堘偭偰丄偙偺怴偟偄僇乕僱儖偼 initrd.img
偵棅傜偢偵丄帺暘偱僽乕僩偟傑偡丅

偱偼丄/etc/lilo.conf 傪埲壓偺傛偆偵挷惍偟傑偟傚偆丅

 1. /etc/lilo.conf 偵偁傞丄怴偟偄僇乕僱儖梡偺 root=/dev/sdaX 偲偄偆峴傪
    尒偮偗偰丄偦偙傪 root=/dev/ataraid/d0pX 偲偄偆傛偆偵曄峏偟傑偡丅X
    偲偄偆偺偼丄 1 偐傜 16 傑偱偺悢帤偱偡丅偦偟偰丄曄峏撪梕傪曐懚偟傑偡
    丅
   
 2. 師偺傛偆偵僞僀僾偟傑偡丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆/sbin/lilo                                              劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
 3. 僀儞僗僩乕儖拞偵 ext2 僷乕僥傿僔儑儞傪慖傫偱偄偨応崌偼丄偝偟偁偨傝
    丄/etc/fstab 偵偁傞丄ext2 偑偁傞峴傪僐儊儞僩偵偟偰壓偝偄丅乮堦斣椙
    偄偺偼丄偙偺慡岺掱偵偮偄偰丄ext2 傪朰傟嫀傞偙偲偱偡乯
   
 4. 僼儘僢僺乕僨傿僗僋偲 CD 傪偡傋偰敳偒偲傝丄埲壓偺傛偆偵僞僀僾偟偰儕
    僽乕僩偟傑偡丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆sync;sync;reboot                                        劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
 5. LILO 偺僾儘儞僾僩偑弌偨傜丄 2.4.18 偵懳墳偡傞丄怴偟偄僇乕僱儖偺儔儀
    儖傪僞僀僾偟傑偡丅
   
 6. 僽乕僩偑廔偭偨傜儘僌僀儞偟丄 df -k 偲僞僀僾偟偰丄偦偙偵偁傞僄儞僩儕
    偑丄埲慜偺 /dev/sdaX 偐傜 /dev/ataraid/d0X 偵曄傢偭偨偙偲傪妋擣偟偰
    壓偝偄丅
   
       
        拲堄: 怴偟偄僇乕僱儖偺僽乕僩帪偵丄僗儚僢僾僨僶僀僗偺儅僂儞僩偵
        娭偡傞僄儔乕偑偄偔偮偐弌傞偐傕偟傟傑偣傫丅偙傟偼柍奞偱偡丅偱傕
        丄/etc/fstab 傪廋惓偟偰丄 sdaX 偺僄儞僩儕偼丄偄偢傟傕 ataraid/
        d0pX 僄儞僩儕偵曄偊傞曽偑偄偄偱偟傚偆丅
       
 7. 偱偼丄僐儞僺儏乕僞傪僀儞僞乕僱僢僩偵偮側偄偱丄 lilo-22.tar.gz 乮
    lilo 僾儘僌儔儉偺嵟怴斉乯傪僟僂儞儘乕僪偟傑偟傚偆丅
   
 8. 師偺傛偆偵僞僀僾偟偰丄僐儞僺儏乕僞偐傜婛懚偺 lilo 傪嶍彍偟傑偡丅 
    rpm -e --nodeps lilo
   
 9. 埲壓偺傛偆偵偟偰丄lilo 偺怴偟偄僶乕僕儑儞傪僀儞僗僩乕儖偟傑偡丅
   
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆tar xvzf lilo-22.tar.gz                                                   劆
    劆cd lilo-22      # tar 偱嶌偭偨偽偐傝偺丄lilo 偺僜乕僗僨傿儗僋僩儕偵堏傞   劆
    劆./QuickInst.sh                                                            劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
   
10. 僔僗僥儉偐傜偺幙栤偵偼 "Yes" 偲摎偊偰壓偝偄丅
   
11. /sbin/lilo 偑嶌惉偝傟側偄偲偄偆偺偼暿偱偡偑丄偦傟埲奜偺僄儔乕偼柍帇
    偟偰壓偝偄丅
   
12. 埲壓偺傛偆偵丄/etc/lilo.conf 傪挷惍偟傑偡丅
   
     仩 linear 傪 lba32 偵抲偒姺偊傑偡丅
       
     仩 "compact" 偺峴傪嶍彍偟傑偡丅
       
     仩 vga= 偺峴傪丄 vga=normal 偵曄偊傑偡丅
       
     仩 boot=/dev/sda 偺峴傪丄 boot=/dev/ataraid/dN 偵曄偊傑偡乮N 偼儖
        乕僩僼傽僀儖僔僗僥儉偑懚嵼偡傞僷乕僥傿僔儑儞斣崋偱偡丅 df -k /
        偲僞僀僾偟偰丄儖乕僩僷乕僥傿僔儑儞斣崋傪尒偮偗偰壓偝偄乯丅
       
     仩 default=linux-2.4.18 偵側偭偰偄傞偙偲傪妋擣偟偰壓偝偄丅乮
        linux-2.4.18 偲偄偆偺偼丄怴偟偄僇乕僱儖傪僽乕僩偡傞偺偵巜掕偟偨
        儔儀儖 2.4.18 偺偙偲偱偡乯丅
       
13. 曄峏撪梕傪僼傽僀儖偵曐懚偟偰丄/sbin/lilo 偲僞僀僾偟傑偡丅
   
14. 僔僗僥儉傪儕僽乕僩偟丄岾塣傪懸偪傑偟傚偆丅
   
/etc/lilo.conf 偼丄嵟廔揑偵偙偺傛偆偵側傝傑偡丅 <files/lilo.conf2.txt>

壗傕偐傕柍帠偵峴偒傑偟偨偹丅側傜丄廽墐偩両両

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

7. 婛懚偺 Linux 僔僗僥儉偱偺僀儞僗僩乕儖

杮愡偱偼塣梡拞偺 Linux 婡偵偁傞偐傕偟傟側偄旕 OS 偺僨傿僗僋偵丄 Linux
杮棃偺 ATA RAID 傪僀儞僗僩乕儖偡傞曽朄傪愢柧偟傑偡丅偪側傒偵丄旕 OS 僨
傿僗僋偲偄偆偺偼丄 /, /usr, /var, /boot 偲偄偭偨丄Linux OS 偺僷乕僥傿僔
儑儞偑壗傕娷傑傟偰偄側偄僨傿僗僋偺偙偲偱偡丅尵偄姺偊傟偽丄帺桼偵巊偊傞
僨傿僗僋偑 2 戜晅偄偨丄摦嶌拞偺 Linux 婡偑偁傝丄偦偺 2 戜偺僨傿僗僋偵
ATA RAID 儈儔乕乮RAID 1乯傪愝掕偟偨偄傢偗偱偡丅戝愗側僨乕僞傪儈儔乕僨僶
僀僗偵曐懚偡傟偽丄偦偺僨乕僞偼曐岇偝傟傑偡丅傕偪傠傫丄懠偺 RAID 1 摨條
丄僨乕僞偺撉傒崬傒拞偼丄撉傒崬傒懍搙偑夵慞偟偰偄傞偺偑傢偐傞偟丄儈儔乕
僨僶僀僗忋偺僨乕僞傪廋惓偟偨傝丄偦偙偵怴偟偄僨乕僞傪捛壛偡傟偽丄彂偒崬
傒懍搙偑庒姳掅壓偡傞偺傕傢偐傝傑偡丅偱偡偐傜丄僨乕僞僨傿僗僋偵懳偟偰丄
彂偒崬傒傛傝傕撉傒庢傝傪昿斏偵峴側偆応崌偼丄僨乕僞僨傿僗僋偵 RAID 1 傪
巊偆偙偲傪偍姪傔偟傑偡丅僒僀僩傪柵懡偵曄偊側偄僂僃僽僒乕僶乕偺儂僗僥傿
儞僌偑椙偄椺偱偡丅偦偙偱偼丄僂僃僽偺僐儞僥儞僣偼柵懡偵廋惓偝傟傑偣傫偑
丄偐側傝昿斏偵儐乕僓乕偺傾僋僙僗偑偁傝傑偡丅

埲壓偼丄偍巊偄偺 RAID 僠僢僾偑 Promise Technology 幮惢偺応崌偵丄 ATA
RAID 傪旕 OS 僨傿僗僋偵僀儞僗僩乕儖偡傞庤弴偱偡丅

 丒 偍巊偄偺 Promise RAID 僠僢僾乛僇乕僪偺丄 IO 傾僪儗僗斣崋偲 IRQ 斣崋
    傪尒偮偗偰壓偝偄丅
   
 丒 師偵丄/etc/lilo.conf 傪廋惓偟偰丄揔愗側 Append 峴傪捛壛偟傑偡丅
   
 丒 偦偟偰丄ataraid 僒億乕僩傪桳岠偵偟傑偡丅偙傟偼丄Linux 婡偺僗僞乕僩
    傾僢僾帪偵 ataraid 儌僕儏乕儖傪帺摦揑偵儘乕僪偡傞偐丄偁傞偄偼僇乕僱
    儖偵 ataraid 僒億乕僩傪慻傒崬傫偱偟傑偆偐丄偙偺偄偢傟偐偱峴側偄傑偡
    丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

7.1. Append 峴

Promise FastTrack RAID 傕娷傔偰丄傾僢僾僌儗乕僪傗忈奞暅媽偲偄偭偨傛偆側
丄條乆側嶌嬈傪棟夝偡傞偨傔丄怴偨偵 Append 峴偲偄偆傕偺傪摫擖偟傑偡丅

僽乕僩帪偵 LILO 偺 boot: 偱傢偨偡 ide 僆僾僔儑儞偼偡傋偰丄暥帤楍偲偟偰
堦偮偵傑偲傑傞偲丄 Append 峴傪峔惉偟傑偡丅 /etc/lilo.conf 偺 append= 僉
乕儚乕僪埲崀偵偁傞丄擇廳堷梡晞偱埻傑傟偨 ide 僆僾僔儑儞傕偡傋偰丄 
Append 峴傪峔惉偡傞傕偺偱偡丅

椺偊偽丄Linux 僐儞僺儏乕僞偺僽乕僩帪偵丄boot: 僾儘儞僾僩偱丄

linux-new ide2=0x0001,0x0009,9 ide3=0x2000,0x2009,10 ide4=none nousb
expert root=/dev/hda3

偲僞僀僾偡傞偲丄Append 峴偼師偺傛偆側暥帤楍偵側傝傑偡丅

ide2=0x0001,0x0009,9 ide3=0x2000,0x2009,10 ide4=none.

摨條偵丄/etc/lilo.conf 偵師偺傛偆側僙僋僔儑儞偑偁傟偽丄

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆image=/boot/vmlinuz-2.4.9-10                                        劆
劆        label=linuxold                                              劆
劆        read-only                                                   劆
劆        root=/dev/hde9                                              劆
劆        append="nousb ide2=0x9400,0x9002 ide3=0x8800,0x8402"        劆
劆        initrd="initrd.img"                                         劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

Append 峴偼埲壓偺傛偆偵側傝傑偡丅

ide2=0x9400,0x9002 ide3=0x8800,0x8402.

RAID 傪巊偭偨 Linux 婡偺僽乕僩偵娭偡傞栤戣偵憳嬾偡傞応崌丄揔愗側 Append
峴傪巊傢偞傞傪摼側偄応崌偑偁傝傑偡丅偱偡偐傜丄Append 峴偑偳偆偄偆傕偺偐
傪寛掕偟丄偦傟傪彂偒棷傔偰偍偔偙偲偑戝帠側偙偲偵側傝傑偡丅偙偆偟偰偍偗
偽丄屻偵忈奞暅媽偺嵺偵栶棫偮偟丄僇乕僱儖傪娙扨偵傾僢僾僌儗乕僪偟偨傝丄
僴乕僪僨傿僗僋偺捛壛乛揚嫀傪峴側偆帪偵傕彆偐傝傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

7.2. Append 峴偺寛掕

惓偟偄 Append 峴傪寛傔傞偵偼丄傑偢嵟弶偵丄偡傋偰偺 ide 僨僶僀僗偑偳偆偄
偆傆偆偵愙懕偝傟偰偄傞偺偐傪抦偭偰偍偔昁梫偑偁傝傑偡丅 IDE 僨僶僀僗偼丄
僴乕僪僨傿僗僋偱傕偄偄偟丄ATAPI CDROM 傗偦偺懠偺僨僶僀僗偱傕偐傑偄傑偣
傫偄偭偨傫 Append 峴傪寛傔偰偟傑偊偽丄乮僽乕僩帪偺乯boot: 僆僾僔儑儞偵
捛壛偱偒傞偟丄偁傞偄偼 /etc/lilo.conf 偺 append 僷儔儊乕僞偵丄暥帤楍偲
偟偰妱傝摉偰傞偙偲傕偱偒傑偡丅偙偺崬傒擖偭偨 boot: 僆僾僔儑儞傪妎偊偰偍
偄偰丄枅夞僽乕僩帪偵偦傟傪僞僀僾偡傞偺偑戝岲偒側傜暿偱偡偗偳丄偦偆偱側
偗傟偽丄擇斣栚偺傗傝曽偺曽偑偄偄偱偟傚偆偹丅偮傑傝丄 /etc/lilo.conf 偵
偦偺僆僾僔儑儞傪彂偄偰偍偒傑偡丅 append="帺暘偺 Append 峴傪偙偙偵彂偔"
傪捛壛偟偰丄偦偺僼傽僀儖傪曐懚偟丄偦傟偐傜 /sbin/lilo 僐儅儞僪傪幚峴偟
偰丄怴偟偄 /etc/lilo.conf 傪桳岠偵偟傑偡丅

棟夝傪怺傔傞偨傔丄 ide 僨僶僀僗偑師偺傛偆偵側偭偰偄傞偲偟傑偟傚偆丅

 丒 ide0: hda , hdb乮僴乕僪僨傿僗僋乯
   
 丒 ide1: hdc , hdd 乮僴乕僪僨傿僗僋丄偁傞偄偼 CDROM 偺傛偆側懠偺僨僶僀
    僗乯
   
 丒 ide2: hde 乮嵟弶偺嬻偒僨傿僗僋乯
   
 丒 ide3: hdg 乮擇斣栚偺嬻偒僨傿僗僋乯
   
忋婰 2 戜偺嬻偒僨傿僗僋乮hde 偲 hdg乯偼丄RAID 1 偵偟偨偄偲巚偭偰偄傞僨
傿僗僋偱丄偦偙偵丄/dev/ataraid/d0 偲偄偆 raid 僨僶僀僗傪嶌傝傑偡丅偙偙
偱 hdf 傕 hdh 傕柍偄偙偲偵拲堄偟偰壓偝偄丅偙傟偑 Promise 僠僢僾忋偱 IDE
/RAID 億乕僩傪巊偆傗傝曽偩偐傜偱偡丅 2 戜偺僴乕僪僨傿僗僋傪摨堦偺
Promise 僐儞僩儘乕儔偺 IDE 億乕僩偵愙懕偡傞偺偼丄尗偄傗傝偐偨偠傖側偄偱
偡偹丅忋婰偺椺偱尵偊偽丄Promise Technology 幮偺僇乕僪忋偱丄僾儔僀儅儕儅
僗僞乕偲僙僇儞僟儕儅僗僞乕偵愙懕偟偰巊梡偟傑偟偨丅

帺暘偺僐儞僺儏乕僞偵偮側偑偭偰偄傞 ide 偑偳傟傎偳懡庬懡條側偺偐抦傜側偗
傟偽丄 /proc/devices 傗 /proc/ide/* 偵栚傪捠偟偰傒偰壓偝偄丅僽乕僩儘僌
僼傽僀儖 /var/log/bootlog 傪擮擖傝偵挷傋傞偺傕椙偄偱偟傚偆乮偁傞偄偼丄
Linux 僔僗僥儉偺僽乕僩捈屻偵丄 dmesg | more 偲僞僀僾偟偰傕偐傑偄傑偣傫
乯丅偙偆偡傟偽丄巊偭偰偄傞 ide 偑傢偐傝傑偡丅偱偼丄less /proc/pci 偲僞
僀僾偟偰丄 Promise Technology 偵娭偡傞揔摉側忣曬傪尒偮偗傑偟傚偆丅 less
/proc/pci 偺弌椡偩偲丄 Promise 僠僢僾偵娭偡傞埲壓偺傛偆側忣曬偑偳偙偐偵
偁傝傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆 Bus  0, device  17, function  0:                                               劆
劆    Unknown mass storage controller: Promise Technology Unknown device (rev 2). 劆
劆      Vendor id=105a. Device id=d30.                                            劆
劆      Medium devsel.  IRQ 10.  Master Capable.  Latency=32.                     劆
劆      I/O at 0x9400 [0x9401].                                                   劆
劆      I/O at 0x9000 [0x9001].                                                   劆
劆      I/O at 0x8800 [0x8801].                                                   劆
劆      I/O at 0x8400 [0x8401].                                                   劆
劆      I/O at 0x8000 [0x8001].                                                   劆
劆      Non-prefetchable 32 bit memory at 0xd5800000 [0xd5800000].                劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偙偺弌椡偐傜暘偐傞偺偼丄 Promise Technology 僇乕僪偑椉曽偺 ide 億乕僩乮
ide2 偲 ide3乯偱 IRQ 10 傪巊偭偰偄傞偲偄偆偙偲偱偡丅僇乕僱儖偑 PCI 偺
IRQ 嫟桳傪僒億乕僩偟偰偄傞尷傝丄摨偠 IRQ 傪巊偭偰傕傑偭偨偔戝忎晇偱偡丅
Linux 僇乕僱儖偼丄僨僼僅儖僩偱 PCI IRQ 嫟桳傪僒億乕僩偡傞傛偆偵愝掕偝傟
偰偄傞傫偱偡丅傑偨丄偙偺僇乕僪偑偄傠傫側 IO 傾僪儗僗傪巊偭偰偄傞偙偲傕
暘偐傝傑偡丅僽乕僩帪偵 Promise Technology 幮惢偺僨傿僗僋傪惓偟偔幆暿偡
傞偨傔偵昁梫側偺偼丄 IRQ 斣崋偲丄[ ] 偺奜偵偁傞 IO 傾僪儗僗斣崋偩偗偱偡
丅偙偺忣曬傪巻偵彂偄偰偍偄偰壓偝偄丅忋婰偺弌椡偺応崌偵彂偄偰偍偔偺偼丄
師偺帠暱偱偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆IRQ1 = 10                                                           劆
劆IRQ2 = 10                                                           劆
劆IO1 = 0x9400                                                        劆
劆IO2 = 0x9000                                                        劆
劆IO3 = 0x8800                                                        劆
劆IO4 = 0x8400                                                        劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偝偰丄崱搙偼埲壓偺忣曬傪昡壙偟偰丄惓偟偄 Append 峴偑摼傜傟傞傛偆偵偟側
偗傟偽側傝傑偣傫丅偦偺屻偱偙偺Append 峴傪僽乕僩帪偵巜掕偡傞偐丄 lilo 偺
愝掕僼傽僀儖偵柧婰偟傑偟傚偆丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆ideX=IO1,IO2+0x0002,IRQ1 ideY=IO3,IO4+0x0002,IRQ2                   劆
劆偙偙偱丄ideX 偲 ideY 偲偄偆偺偼丄                                   劆
劆嬻偒僨傿僗僋偑巊偭偰偄傞丄                                          劆
劆Promise 僇乕僪偺擇偮偺 IDE 億乕僩偱偡丅                             劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偙偺椺偱偼丄忋婰偺 Append 峴偼師偺傛偆偵側傝傑偡丅

ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10

椺偊偽丄/etc/lilo.conf 偵廬偭偰 linux 偲偄偆儔儀儖偑晅偄偨丄僶乕僕儑儞
2.4.18 偺僇乕僱儖傪僽乕僩偟偨偗傟偽丄師偺擇偮偺曽朄偺偄偢傟偐偱丄Append
峴傪巜掕偟傑偡丅

 1. 僽乕僩帪偵巜掕偡傞応崌
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆boot: linux ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10 劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
    偙偺曽朄傪慖傫偩応崌偼丄Linux 婡傪僽乕僩偡傞偨傃偵丄 linux 偲偄偆儔
    儀儖偺屻偵丄庤嶌嬈偱Append 峴傪僞僀僾偟偰壓偝偄丅
   
 2. /etc/lilo.conf 偵柧婰偡傞応崌
    劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
    劆image=/boot/vmlinuz-2.2.18                                  劆
    劆        label=linux                                         劆
    劆        read-only                                           劆
    劆        root=/dev/hda1                                      劆
    劆        append="ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10"劆
    劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
    偙偺曽朄傪慖傫偩応崌偼丄曄峏撪梕傪桳岠偵偡傞偨傔丄 /sbin/lilo 偲僞
    僀僾偟偰丄 lilo 傪堦夞幚峴偟側偗傟偽側傝傑偣傫丅偦偆偡傟偽丄僽乕僩
    帪偵梋暘偵壗傕僞僀僾偡傞昁梫偑側偔側傝傑偡丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

7.3. RAID 1 偺愝掕

Promise Technology 幮惢偺愱梡僪儔僀僶 (ft.o) 傪巊偭偰 RAID 1 傪峔抸偟偨
偄応崌偼丄 Promise 僪儔僀僶 (ft.o) 傪 /lib/modules/僇乕僱儖僶乕僕儑儞偵
僟僂儞儘乕僪偟丄 modprobe -k ft 偲僞僀僾偡傟偽儌僕儏乕儖偑儘乕僪偱偒傑
偡丅偦偆偡傟偽丄 /dev/sdc 偲偐偦偆偄偭偨傕偺偱丄怴偟偄 raid 僨僶僀僗偵
傾僋僙僗偱偒傞偼偢偱偡丅偱傕丄偙傟偑偆傑偔偄偐側偄応崌偼丄 Append Line
偺撪梕傪寛傔偰丄 /etc/lilo.conf 偵捛壛偟偰壓偝偄丅偱傕丄RAID 傪婛懚偺
Linux 僔僗僥儉偵峔抸偟丄 Promise Technology 幮偺 ft 僪儔僀僶偐丄 Linux
杮棃偺 ataraid 僪儔僀僶偺偄偢傟偐傪巊偆偮傕傝側傜丄 /etc/lilo.conf 偱 
Append Line 傪巊偆偙偲傪嫮偔偍姪傔偟傑偡丅偍巊偄偺僇乕僱儖偵 ataraid 僒
億乕僩傪慻傒崬傫偱偄傞応崌偼丄 ataraid 儌僕儏乕儖傪儘乕僪偡傞昁梫偼偁傝
傑偣傫偑丄偦傟埲奜偺応崌偼丄 Append Line 偑擖偭偰偄傞怴偟偄 /etc/
lilo.conf 偱偄偭偨傫儕僽乕僩偡傟偽丄偳偪傜偐偺僪儔僀僶乮Promise
Technology 幮惢偺僪儔僀僶 ft.o 偐丄Linux 杮棃偺 RAID 儌僕儏乕儖乯傪儘乕
僪偟偰丄RAID 傪桳岠偵偱偒傑偡丅

偍姪傔偼 Linux 杮棃偺 RAID 側偺偱丄偙傟傪徻嵶偵尒偰偄偒傑偟傚偆丅婛懚偺
Linux 婡偱 Linux 杮棃偺 RAID 傪峔抸偡傞偵偼丄愭偵愢柧偟偨傛偆偵丄/etc/
lilo.conf 偵 Append 峴傪捛壛偟傑偡丅偱偼丄/sbin/lilo 偲僞僀僾偟偰丄曄峏
撪梕傪桳岠偵偟偰壓偝偄丅懕偄偰僐儞僺儏乕僞傪儕僽乕僩偟傑偡丅僇乕僱儖偵
ataraid 僒億乕僩傪慻傒崬傫偱偄側偐偭偨傝丄 ataraid.o 儌僕儏乕儖偑壗傜偐
偵棟桼偱儘乕僪偵幐攕偟偨応崌偼丄儕僽乕僩屻丄庤嶌嬈偱 ataraid 儌僕儏乕儖
傪儘乕僪偟偰偔偩偝偄丅 ataraid 僒億乕僩傪僇乕僱儖慻傒崬傒偱僐儞僷僀儖偟
偨応崌乮偙偺応崌丄ataraid 偼儌僕儏乕儖偱偼偁傝傑偣傫乯偼丄偡偖偵僼僅乕
儅僢僩偵偐偐偭偰丄儈儔乕僨傿僗僋 /dev/ataraid/d0 傪巊偄偩偣傑偡丅

偱傕丄ataraid 傪儌僕儏乕儖偲偟偰暿偵僐儞僷僀儖偟偰偄傞応崌偼丄 lsmod 偲
僞僀僾偟偰丄 ataraid 偑昞帵偝傟傞偺傪妋擣偟偰壓偝偄丅昞帵偝傟側偄応崌偼
丄 modprobe -k ataraid 偲僞僀僾偟偰丄庤嶌嬈偱偦偺儌僕儏乕儖傪儘乕僪偟偰
壓偝偄丅壗傕僄儔乕偑柍偗傟偽丄偡偖偵儈儔乕僨傿僗僋 /dev/ataraid/d0 傪巊
偄巒傔偰偐傑偄傑偣傫丅偄偮傕傗偭偰偄傞傛偆偵丄僼僅乕儅僢僩偟丄儅僂儞僩
偟偰偐傜丄巊偭偰壓偝偄丅

/dev/ataraid/d0 偑巊偊傞偲偄偆偙偲偼丄傗傞傋偒偙偲傪偆傑偔傗傝悑偘偨偲
偄偆偙偲偵側傝傑偡丅偱偡偐傜丄 /dev/hde 傗 /dev/hdg丄偦傟偵懠偺僷乕僥傿
僔儑儞偵偼丄偳偆偐捈愙傾僋僙僗偟側偄偱壓偝偄丅 Linux 帺懱偱偼偱偒傑偡偑
丄偦傟偼巭傔偰壓偝偄丅偄偭偨傫 2 戜偺僨傿僗僋偐傜儈儔乕僨僶僀僗傪嶌偭偨
傜丄捈愙僨傿僗僋傪傾僋僙僗偡傞偺偱偼側偔丄昁偢儈儔乕僨傿僗僋傪傾僋僙僗
偡傞傛偆偵偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

8. 僇乕僱儖偺傾僢僾僌儗乕僪

Promise FastTrack RAID 傪憰旛偟偨丄Linux 婡偺僇乕僱儖傪傾僢僾僌儗乕僪偟
傛偆偲偡傞偺偼丄杮愡傪擮擖傝偵撉傫偱偐傜偵偟偰壓偝偄丅偳偺傛偆側宍偱偁
傟丄傑偭偨偔 Promise FastTrack 傪巊偭偰偄側偄偺側傜暿偱偡偑丄巊偭偰偄傞
応崌偼丄栤戣傪夞旔偡傞偺偵偙偺忣曬偑昁梫偵側傝傑偡丅

僇乕僱儖偺傾僢僾僌儗乕僪偼丄昁偢僨乕僞偺僶僢僋傾僢僾傪庢偭偰偐傜峴側偭
偰壓偝偄丅傑偨丄/etc/fstab 偲 /etc/lilo.conf, /boot/
vmlinuz-currentversion 偦傟偵丄乮傕偟 initrd傪巊梡偟偰偄傟偽乯 /boot/
initrd.img 傕僶僢僋傾僢僾傪庢偭偰壓偝偄丅僇乕僱儖傪傾僢僾僌儗乕僪偡傞嵺
偼丄 /boot 撪偺屆偄僇乕僱儖偲丄偦偺埶懚娭學偵偁傞僼傽僀儖丄偦傟偵 /etc/
lilo.conf 撪偺懳墳偡傞峴偼嶍彍偟側偄偱壓偝偄丅僇乕僱儖傪丄椺偊偽 2.4.19
偵傾僢僾僌儗乕僪偡傞応崌偼丄 /etc/lilo.conf 偵暿偺僇乕僱儖僙僋僔儑儞傪
嶌傞偩偗偵偟偰壓偝偄丅椺偊偽丄埲壓偺峴傪 /etc/lilo.conf 偵捛壛偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# 怴昳偺僇乕僱儖 2.4.19 僽乕僩梡僐乕僪偺奐巒                        劆
劆                                                                    劆
劆image=/boot/vmlinuz-2.4.19                                          劆
劆        label=linux-new                                             劆
劆        read-only                                                   劆
劆        root=/dev/ataraid/d0p12                                     劆
劆                                                                    劆
劆# 怴昳偺僇乕僱儖 2.4.19 僽乕僩梡僐乕僪偺廔椆                        劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偦傟偵丄boot: 僾儘儞僾僩偱 linux-new 偲僞僀僾偟偰乮偁傞偄偼 curses 儊僯
儏乕儌乕僪偱 LILO 傪巊偭偰偄傟偽丄儊僯儏乕偱嫮挷昞帵偝傟偰偄傞
linux-new 傪慖傫偱乯丄怴偟偄僇乕僱儖偑僽乕僩偱偒側偄尷傝丄 /etc/
lilo.conf 偵偁傞 default=linux 峴傕曄峏偟側偄偱壓偝偄丅

偱偼丄師偺巐庬椶偺働乕僗偱丄僇乕僱儖傪傾僢僾僌儗乕僪偡傞丄幚嵺偺夁掱傪
尒偰偄偒傑偟傚偆丅

 1. Promise Technology (ft) 僪儔僀僶傪巊偭偰偍傝丄RAID 儈儔乕偵 OS 偑偁
    傞丅
   
 2. Promise Technology (ft) 僪儔僀僶傪巊偭偰偍傝丄RAID 儈儔乕偵 OS 埲奜
    偺僨乕僞偑偁傞丅
   
 3. Linux 杮棃偺 (ataraid) 僪儔僀僶傪巊偭偰偍傝丄RAID 儈儔乕偵 OS 偑偁
    傞丅
   
 4. Linux 杮棃偺 (ataraid) 僪儔僀僶傪巊偭偰偍傝丄RAID 儈儔乕偵 OS 埲奜
    偺僨乕僞偑偁傞丅
   
OS 偲偄偆偺偼"Operating System 乮栿拲丗僆儁儗乕僥傿儞僌僔僗僥儉乯"丄嬶
懱揑偵偼丄偙偺応崌 Red Hat Linux 僆儁儗乕僥傿儞僌僔僗僥儉偺偙偲偱偡丅
Linux 傪 /dev/ataraid/d0p1 偲偄偭偨傛偆側丄儈儔乕偝傟偰偄傞僷乕僥傿僔儑
儞乮Promise Technology 偺愱梡僪儔僀僶傪巊偭偰偄傞応崌偼丄 /dev/sda1乯偵
僀儞僗僩乕儖偡傞応崌丄偙傟偼 RAID 儈儔乕偵 OS 傪擖傟偰偍偗偲偄偆偙偲偱
偡丅 Linux 婡偺 RAID 偵偁傞偺偑 / 傗 /boot 偲偄偭偨丄庡梫側僷乕僥傿僔儑
儞偩偗偱傕丄 RAID 偵 OS 偑偁傞乮堦椺乯偲偄偄傑偡丅

偱傕丄 /mydata1 傗 /imp丄偦傟偵 /scratch 偲偄偭偨傛偆側丄嬻偄偰偄傞僷乕
僥傿僔儑儞傪妶梡偡傞栚揑偱丄儐乕僓乕偑嶌惉偟偨僷乕僥傿僔儑儞偵偼丄
Linux 傪僀儞僗僩乕儖偟偨傝丄壗傜偐偺昗弨揑側 Linux 僜僼僩僂僃傾僷僢働乕
僕傪傾僢僾僌儗乕僪偟偰傕丄僨僼僅儖僩偱偼丄壗偺僼傽僀儖傕僀儞僗僩乕儖偝
傟傑偣傫丅偱偡偐傜偦偆偄偭偨僷乕僥傿僔儑儞偼 Linux OS 偺堦晹偲偼尵偊傑
偣傫丅偦偆偄偭偨儐乕僓乕僷乕僥傿僔儑儞偵偁傞僨乕僞偼丄偳傟偱傕儐乕僓乕
僨乕僞丄傑偨偼旕 OS 僨乕僞偲側傝傑偡丅 OS 僷乕僥傿僔儑儞偲偟偰嶌惉偡傞
偺傪丄 ext3 僞僀僾偺僷乕僥傿僔儑儞偲僗儚僢僾僼傽僀儖偩偗偵偟偰偍偔偺偼
丄偆傑偄峫偊偱偡丅旕 OS 僷乕僥傿僔儑儞偵偮偄偰偼丄ext2 偲偐 dos 偺傛偆
側丄懠偺僼傽僀儖僔僗僥儉偵偟偰傕偐傑偄傑偣傫乮摨偠 Linux 僐儞僺儏乕僞忋
偵丄 Windows 偺傛偆側暿偺僆儁儗乕僥傿儞僌僔僗僥儉偑偁偭偨傝丄偨偩扨偵
dos 偑戝岲偒側偩偗偩偭偨傝偡傞応崌偱偡乯丅偱傕丄偦偺昁梫偑柍偗傟偽丄
ext2 傪巊偆偙偲傕側偄偱偟傚偆丅 OS 僷乕僥傿僔儑儞傗旕 OS 僷乕僥傿僔儑儞
梡偵丄 ext3 偲偄偆傕偭偲椙偄傕偺偑巊偊傞偺偱偡偐傜丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

8.1. Promise Technology (ft) 僪儔僀僶傪巊偭偰偍傝丄 RAID 儈儔乕偵 OS 偑
偁傞応崌

尰帪揰偱 Promise Technology 偑僒億乕僩偟偰偄傞偺偼丄 Red Hat 7.2 傑偱偺
僶乕僕儑儞偩偗偱偡丅 Red Hat 7.2 偱偼丄僨僼僅儖僩偱 2.4.7-10 僇乕僱儖傪
巊梡偟偰偄傑偡丅傑偨丄Linux 偲 Promise 偑採嫙偟偰偄傞僪儔僀僶傪僀儞僗僩
乕儖偡傞応崌偵偼丄 /etc/lilo.conf 偱 initrd.img 乮弶婜 RAM 僨傿僗僋僀儊
乕僕乯傪巊偆昁梫偑偁傞偙偲傕妎偊偰偍偄偰壓偝偄丅僀儞僗僩乕儖帪偵偼丄
Promise 僪儔僀僶偺僗僋儕僾僩偑丄帺摦揑偵 initrd 僼傽僀儖傪嶌惉偟偰丄 /
etc/lilo.conf 傪愝掕偡傞偙偲偵側偭偰偄傑偡丅偱偡偑丄偁偄偵偔偙傟偑偪傖
傫偲摦嶌偟側偄偺偱丄庤嶌嬈偱 initrd.img 傪嶌惉偟丄 /etc/lilo.conf 傪帺
暘偱愝掕偡傞昁梫偑偁傝傑偡丅

僨僼僅儖僩偺僇乕僱儖 2.4.7-10 偼巊傢偞傞傪摼側偄傕偺偱丄僜乕僗偺僐儞僷
僀儖傕丄 up2date 儐乕僥傿儕僥傿傗 rpm 儐乕僥傿儕僥傿偲偄偭偨傛偆側丄帺
摦傾僢僾僌儗乕僪僾儘僌儔儉傪巊偭偨傾僢僾僌儗乕僪傕丄偱偒側偄偟丄傗傜側
偄偱偔偩偝偄丅傕偟丄幚嵺傎傫偲偆偵僇乕僱儖偺傾僢僾僌儗乕僪偑昁梫側傜傗
偭偰偔偩偝偄丅偱傕偦偺帪偼 raid 偼巊傢側偄偱壓偝偄丅 Section 7.2 偱愢柧
偟偨傛偆偵丄 Append 峴傪 /etc/lilo.conf 偵捛壛偟丄 ataraid 儌僕儏乕儖傪
儘乕僪偟側偄乮偁傞偄偼 ataraid 傪慻傒崬傑側偄傛偆偵偟偰僇乕僱儖傪僐儞僷
僀儖偡傞乯傛偆偵偡傟偽傛偄傢偗偱偡丅偙偆偡傟偽丄僇乕僱儖傪怴偟偄僶乕僕
儑儞偵傾僢僾僌儗乕僪偟丄 Promise Technology 僇乕僪傪娙扨側 IDE 奼挘僇乕
僪偵巊偭偰偄傞偺偱丄 RAID 婡擻傪抐擮偡傞偙偲偵側傝傑偡丅

Promise Technology 偑丄傕偟偙偺愭 2.4.19 梡偵怴偟偄僶乕僕儑儞偺 ft 傪儕
儕乕僗偡傟偽丄偦偺帪偵丄傑偢乮庤嶌嬈偱僐儞僷僀儖偣偢偵丄 up2date 偲偐 
rpm 傪巊偭偰乯僇乕僱儖傪 2.4.19 偵傾僢僾僌儗乕僪偟丄偦偟偰丄偦偺怴偟偄
僶乕僕儑儞偺 ft.o 僼傽僀儖傪 /lib/modules/kernel-2.4.19 偵抲偗偽偄偄偺
偱偡丅偝傜偵丄initrd-2.4.19 傪 /boot 偵抲偒丄 initrd= 峴傪 /etc/
lilo.conf 偺怴偟偄僇乕僱儖僙僋僔儑儞偵捛壛偡傞昁梫傕偁傝傑偡丅偛帺暘偺
Linux 婡偱 Promise Technology 幮偺僪儔僀僶傪巊偭偰偄傞応崌丄偦傟偼 OS
偑 RAID 儈儔乕忋偵偁傝丄 Promise Technology 幮偑怴偟偄僇乕僱儖梡偺丄怴
偟偄僶乕僕儑儞偺僪儔僀僶傪儕儕乕僗偟側偐偭偨偲偄偆偙偲偱偡丅偱偡偐傜丄
崱偍巊偄偺僇乕僱儖傪楳傇偺偼巭傔偰壓偝偄丅偄偠傝夞偟偰偟傑偆偲丄偦偺僐
儞僺儏乕僞偵怺崗側僟儊乕僕傪梌偊偰丄僽乕僩傕僨乕僞偺庢傝弌偟傕偱偒側偔
側偭偰偟傑偄傑偡丅偙傟偼妎偊偰偍偄偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

8.2. Promise Technology (ft) 僪儔僀僶傪巊偭偰偍傝丄 RAID 儈儔乕偵 OS 埲
奜偺僨乕僞偑偁傞応崌

愭偺働乕僗乮Promise Technology (ft) 僪儔僀僶傪巊偭偰偍傝丄 RAID 儈儔乕
偵 OS 偑偁傞応崌乯偺愢柧偼丄傎偲傫偳偡傋偰偙偺働乕僗偵傕摉偰偼傑傝傑偡
丅傕偪傠傫丄崱搙偼婋尟偑媦傇偺偑 OS 偱偼側偔偰丄 OS 埲奜偺僨乕僞偩偲偄
偆偙偲偼妎屽偺偆偊偱偟傚偆丅偮傑傝丄傾僢僾僌儗乕僪偵幐攕偟偰偟傑偆偲丄
僽乕僩偼偱偒傑偡偑丄 RAID 僷乕僥傿僔儑儞偵偁傞僨乕僞偼尒偊側偔側傞偲偄
偆偙偲偱偡丅偦偺懠偵丄Promise 偺愱梡僪儔僀僶 (ft.o) 偺儘乕僪乛傾儞儘乕
僪偵梈捠偑偒偔傛偆偵側傝傑偡丅偟偐偟丄Promise Technology 偺僪儔僀僶偵偼
壗偐偲栵夘側偙偲偑偁傞偺偱丄壗帠傕側偔摦嶌偡傞偲偄偆曐徹偼壗傕偁傝傑偣
傫丅

Promise Technology 偑丄怴偟偄僶乕僕儑儞偺僇乕僱儖偵傆偝傢偟偄僪儔僀僶傪
儕儕乕僗偟側偄尷傝丄偳偺傛偆側曽朄偱傕丄僇乕僱儖偺傾僢僾僌儗乕僪偼傗傜
側偄偱壓偝偄丅 2.4.7-10 僇乕僱儖偺傑傑偱傗傜側偔偰偼偄偗傑偣傫丅偄偔偮
偐偺帠椺偱僐儞僺儏乕僞傪僽乕僩偡傞偲偄偆偙偲傪 Section 7.2 偱榑偠偨傛偆
偵丄傂傚偭偲偟偨傜丄Append 峴傪捛壛偡傞昁梫偑偁傞偐傕抦傟傑偣傫丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

8.3. Linux 杮棃偺 (ataraid) 僪儔僀僶傪巊偭偰偍傝丄 RAID 儈儔乕偵 OS 偑
偁傞応崌

偙偺応崌偼丄 2.4.18 埲崀偺偳偺僶乕僕儑儞偺僇乕僱儖偵傕丄傾僢僾僌儗乕僪
偟偰偐傑偄傑偣傫偑丄曽朄偼僇乕僱儖偺嵞僐儞僷僀儖偵偟偰丄 up2date 儐乕僥
傿儕僥傿傗 rpm 儐乕僥傿儕僥傿偲偄偭偨傛偆側丄帺摦傾僢僾僌儗乕僪庤朄偼壗
傕巊傢側偄偱壓偝偄丅傾僢僾僌儗乕僪偵偼丄慜僶乕僕儑儞偺僇乕僱儖僜乕僗僨
傿儗僋僩儕 (/usr/src/linux-2.4.18/.config) 偵偁傞 .config 僼傽僀儖偑昁
梫偵側傝傑偡丅 2.4.18 偺 .config 僼傽僀儖偼丄娫堘偄側偔曐懚偟偰偁傝傑偡
傛偹丠

.config 傪 /usr/src/linux-2.4.19 偵僐僺乕偟偨傜丄 make menuconfig 偲僞
僀僾偟偰丄曄峏偟偰傕偐傑偄傑偣傫丅偟偐偟丄2.4.19 偵傾僢僾僌儗乕僪偡傞偩
偗偱丄儅僔儞偺僴乕僪僂僃傾偑曄傢偭偨傢偗偱偼側偄偺偱丄捠忢偼曄峏偡傞昁
梫偼偁傝傑偣傫丅偱傕 make menuconfig 偲僞僀僾偟偰曄峏偡傞応崌偼丄廋惓偟
偨 .config 僼傽僀儖傪曐懚偟偰偍偒丄僶僢僋傾僢僾傕庢傞偙偲傪朰傟側偄偱壓
偝偄丅 /root 傗僼儘僢僺乕僨傿僗僋偵丄埨慡偵曐懚偟偰偍偄偰壓偝偄丅埲壓偑
偦偺庤弴偱偡丅

 丒 怴偟偄僇乕僱儖傪 /usr/src 偵揥奐偟丄僩僢僾僨傿儗僋僩儕柤傪
    linux-2.4.19 偵曄偊傑偡丅偙傟偱丄怴偟偄僇乕僱儖僜乕僗偺僨傿儗僋僩儕
    偑 /usr/src/linux-2.4.19偵側傝傑偡丅
   
 丒 cp /root/config.txt .config
   
 丒 make menuconfig 乮昁梫側曄峏傪峴側偄傑偡乯
   
 丒 cp .config /root/config-2.4.19.txt 乮埨慡側応強偵愝掕僼傽僀儖傪僶僢
    僋傾僢僾偟傑偡乯
   
 丒 make dep ; make clean ; make && make install 乮怴偟偄僇乕僱儖傪僀儞
    僗僩乕儖偟傑偡乯
   
 丒 make modules && make modules_install 乮怴偟偄僇乕僱儖儌僕儏乕儖傪僀
    儞僗僩乕儖偟傑偡乯
   
 丒 /etc/lilo.conf 傪曇廤偟丄怴偟偄僇乕僱儖傪僽乕僩偡傞峴傪丄怴偨偵捛壛
    偟傑偡丅怴偟偄僇乕僱儖偺儔儀儖偼丄linux-new 偵偟傑偡丅 default= 峴
    偲丄尰嵼摦嶌拞偺僇乕僱儖偵懳墳偟偨峴偼嶍彍偟側偄偱壓偝偄丅
   
 丒 /sbin/lilo 乮/etc/lilo.conf撪偺曄峏傪桳岠偵偟傑偡乯
   
 丒 /sbin/lilo -R linux-new 乮linux-new 傪僨僼僅儖僩偺僽乕僩僇乕僱儖偵
    偡傞傛偆丄堦夞偩偗巜帵偡傞丅乯
   
 丒 sync;sync;reboot 乮儕僽乕僩偟丄偆傑偔偄偔偲婜懸偟偰壓偝偄丅傕偟僽乕
    僩偟側偄応崌偼丄偄偭偨傫揹尮傪愗偭偰偐傜丄嵞搙揹尮傪搳擖偟偰壓偝偄
    丅偦傟偐傜儘僌僀儞偟偰丄側偤僇乕僱儖偑僽乕僩偟側偐偭偨偺偐丄挷傋偰
    壓偝偄乯
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

8.4. Linux 杮棃偺 (ataraid) 僪儔僀僶傪巊偭偰偍傝丄RAID 儈儔乕偵 OS 埲奜
僨乕僞偑偁傞応崌

偙偆偄偆応崌偵僇乕僱儖傪傾僢僾僌儗乕僪偡傞偵偼丄慜愢乮Linux 杮棃偺
(ataraid) 僪儔僀僶傪巊偭偰偍傝丄 RAID 儈儔乕偵 OS 偑偁傞応崌乯偱愢柧偟
偨傕偺偲摨偠庤弴偵廬偄傑偡丅栤戣偵憳嬾偟偨応崌偼丄 Append 峴傪 /etc/
lilo.conf 偵捛壛偡傞昁梫偑偁傞偐傕偟傟傑偣傫丅帺暘偺 Append 峴偑壗偐傪
尒偮偗傞応崌偼丄 Section 7.2 傪尒偰壓偝偄丅

慜愡偲摨偠偙偲偱偡偑丄帺摦壔偟偰偄傞曽朄 (up2date 儐乕僥傿儕僥傿偲偐 
rpm 儐乕僥傿儕僥傿) 偱偼丄僇乕僱儖偺傾僢僾僌儗乕僪偼偟傛偆偲偟側偄偱偔
偩偝偄丅慜愡偱愢柧偟偨傛偆偵丄僇乕僱儖傪庤嶌嬈偱僐儞僷僀儖偟丄僀儞僗僩
乕儖偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

9. Promise FastTrack 偺 RAID 婡擻柍岠壔

偙偺愡傪撉傫偱偄傞偲偄偆偙偲偼丄 Promise Technology FastTrach 僇乕僪傗
丄偁傞偄偼儅僓乕儃乕僪偺僆儞儃乕僪僠僢僾偺丄乮埲慜偼quasi-hardware RAID
偲尵偭偰偄偨乯媈帡 RAID 婡擻偵偆傫偞傝偟偰偄傞偺偐傕偟傟傑偣傫偹丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

9.1. 働乕僗偦偺 1 丗RAID 傪巊傢側偄 OS

Promise FastTrack 偺 RAID 婡擻傪柍岠偵偟偰丄晛捠偺暯杴側 IDE 僇乕僪偱巊
偆偙偲偼偱偒傑偡丅旕忢偵娙扨偱偡丅師偺庤弴偵廬偭偰壓偝偄丅

 1. 傑偢 Append 峴傪惓妋偵寛傔偰壓偝偄丅傢偐傜側偗傟偽丄 Section 7.2 傪
    尒偰壓偝偄丅
   
 2. /etc/lilo.conf 傪廋惓偟偰丄尰嵼偺僇乕僱儖偺僽乕僩僙僋僔儑儞偵丄
    append="Append 峴" 傪捛壛偟偰壓偝偄丅孞傝曉偟傑偡偑丄徻嵶偼 Section
    7.2 傪尒偰壓偝偄丅
   
 3. /sbin/lilo 偲僞僀僾偟偰丄儕僽乕僩偟偰壓偝偄丅
   
偝偁丄偙傟偱僴乕僪僨傿僗僋偑暘偐傟偰尒偊傞偼偢偩偟丄巊偆偙偲傕偱偒傑偡
丅偙傟傑偱偵 RAID 儈儔乕偵僷乕僥傿僔儑儞傪嶌偭偰偄偨応崌偼丄擇偮偺儊儞
僶乕僨傿僗僋偺奺乆偵丄揔媂僷乕僥傿僔儑儞偑偁傞偺偑傢偐傞偱偟傚偆丅 RAID
儈儔乕偵奿擺偟偰偁偭偨僨乕僞偑偁傞偺傕傢偐傞偼偢偱偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

9.2. 働乕僗偦偺 2丗RAID 傪巊偭偰偄傞 OS

/ 傗 /boot丄 /usr丄偦傟偵 etc 傪 RAID 僷乕僥傿僔儑儞偱巊偭偰偄傞 Linux
僐儞僺儏乕僞偺丄 RAID 傪柍岠偵偟偨偗傟偽丄傑偢嵟弶偵丄 /usr/src/linux
/.config 傗 /etc/fstab丄偦傟偵 /boot/vmlinux 傪娷傓僨乕僞偺僶僢僋傾僢僾
傪庢偭偰壓偝偄丅偦偟偰揹尮傪愗傝丄偦傟偐傜揹尮傪搳擖偟偰壓偝偄丅 boot:
僾儘儞僾僩偑弌偨傜丄 linux 偵懕偗偰 Append 峴傪僞僀僾偟偰壓偝偄丅僔僗僥
儉偑偆傑偔僽乕僩偟側偄応崌偼丄嬞媫梡偺儗僗僉儏乕乛僽乕僩僼儘僢僺乕僨傿
僗僋傪擖傟偰丄僼儘僢僺乕僨傿僗僋偐傜棫偪忋偘偰丄 boot: 僾儘儞僾僩偱丄 
linux 偲僞僀僾偟丄懕偗偰丄Append 峴傪僞僀僾偟偰壓偝偄丅偦傟偱傕僽乕僩偱
偒側偄応崌偼丄埨慡偵 RAID 傪柍岠偵偡傞偙偲偼偱偒傑偣傫丅偮傑傝丄RedHat
CDROM #1 偐傜棫偪忋偘偰丄 Linux 傪嵞僀儞僗僩乕儖偡傞偟偐側偄偲偄偆偙偲
偱偡丅孞傝曉偟偵側傝傑偡偑丄 boot: 僾儘儞僾僩偱丄 linux 偲僞僀僾偟丄懕
偗偰 Append 峴傪僞僀僾偟偰壓偝偄丅

Linux 婡偺僽乕僩偑偆傑偔偄偭偨傜丄傑偢僨乕僞偑偡傋偰巊梡壜擻偱丄惓偟偄
偙偲傪妋擣偟偰壓偝偄丅応崌偵傛偭偰偼丄 /boot 偵偁傞僥僉僗僩宍幃偺愝掕僼
傽僀儖偲丄 LILO 偺僶僀僫儕僼傽僀儖偑夡傟偰偄傞偐傕偟傟傑偣傫丅傕偟夡傟
偰偄傟偽丄僶僢僋傾僢僾偐傜儕僗僩傾偡傞偐丄 /etc/lilo.conf 傪嵞愝掕偟偰
丄 /sbin/lilo 傪幚峴偟丄僇乕僱儖偺嵞僐儞僷僀儖偲嵞僀儞僗僩乕儖傪峴側偆
昁梫偑偁傝傑偡乮嵞僐儞僷僀儖偵偼柍廋惓偺 .config丄偮傑傝 Promise RAID
僒億乕僩傪擖傟偰偄側偄傕偺傪巊偭偰壓偝偄乯丅

Linux 婡偑棫偪忋偑傝丄僼傽僀儖偑偡傋偰柍帠側傜丄 /etc/lilo.conf 偵 
Append 峴傪捛壛偟丄 /sbin/lilo 傪幚峴偟偰儕僽乕僩偟偰壓偝偄丅

OS 僨傿僗僋偺 RAID 傪柍岠偵偟偨偗傟偳傕丄屻偱傗偼傝 RAID 傪巊偄偨偔側偭
偨応崌偼丄僨乕僞傪僶僢僋傾僢僾偟偰偐傜丄Linux 傪嵞僀儞僗僩乕儖偟偰壓偝
偄丅偙偺傛偆偵怱曄傢傝傪偟偰丄 Linux 偺 OS 僨傿僗僋偵 RAID 傪栠偟偨偔側
偭偨応崌丄尰嵼偺僨乕僞傪媇惖偵偟側偗傟偽側傜側偄偐傕偟傟傑偣傫丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

10. Tips and Important Notes

 丒 愭偵愢柧偟偨傛偆偵丄 RAID 偺僀儞僗僩乕儖傪姰椆偝偣傞偺偵丄傢偞傢偞
    KDE / GNOME 傗懠偺 X 僂傿儞僪僂僔僗僥儉傪巊傢偢丄扨弮側僥僉僗僩抂枛
    傪巊偭偰壓偝偄丅
   
 丒 Cntrl-ALT-Fj 傪墴偣偽丄 ttyj 偵愗傝懼傢傝傑偡丅偨偩偟丄j=1,2,..6丅
   
 丒 傎傫偲偆偵 KDE/GNOME丄偁傞偄偼懠偺 X 僂傿儞僪僂僔僗僥儉傪僗僞乕僩偝
    偣傞応崌偼丄 tty7 偱憱傜偣偰壓偝偄丅 Cntrl-ALT-F7 傪墴偣偽丄偦偙偵
    傾僋僙僗偱偒傑偡丅
   
 丒 FastTrack RAID 梡偵丄 Promise 偑採嫙偟偰偄傞 SCSI 僄儈儏儗乕僔儑儞
    傪巊偍偆偲寛傔偰偄傞偺側傜丄僶乕僕儑儞 2.4.7-10 偺僇乕僱儖傪丄僨僼
    僅儖僩偱巊傢偞傞傪摼側偔側傞偙偲傪妎偊偰偍偄偰壓偝偄丅側偤側傜丄偦
    偺懠偺僜乕僗僐乕僪偼 FastTrack 偱偼巊偊側偄偐傜偱偡丅
   
 丒 RH 7.2 偺僀儞僗僩乕儖拞偼丄慖傇僼傽僀儖僞僀僾偼 ext3 偲僗儚僢僾僼傽
    僀儖偩偗偵偟偰偔偩偝偄丅
   
 丒 Promise 偺 SCSI 僄儈儏儗乕僔儑儞傪巭傔偰丄Linux 杮棃偺 RAID 傪峔抸
    偡傞応崌丄 d0 偲偄偆柤慜偺儈儔乕偐丄 hde2丄hdg3 摍乆偲偄偆柤慜偺屄
    乆偺僨傿僗僋偐丄偦偺偄偢傟偐偺僴乕僪僨傿僗僋傊偺傾僋僙僗偑嫋壜偝傟
    傑偡丅偙傟偼旕忢偵廳梫側偙偲偱偡偑丄愨懳偵捈愙僴乕僪僨傿僗僋偵懳偟
    偰丄偦偺柤慜偱傾僋僙僗偟偰偼偄偗傑偣傫丅偦偺戙傢傝偵丄懳墳偡傞儈儔
    乕僷乕僥傿僔儑儞傪傾僋僙僗偟偰壓偝偄丅椺丗/dev/hde3 傗 /dev/hdg3 偺
    戙傢傝偵丄 /dev/ataraid/d0p3 傪巊偭偰壓偝偄丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

11. 徻偟偄忣曬偵偮偄偰

徻偟偄忣曬偵偮偄偰偼丄師偺儕僜乕僗傪挷傋偰壓偝偄丅

 丒 http://www.geocities.com/ender7007/ 偵偁傞 Quasi-Mini-HowTo
   
 丒 http://lhd.datapower.com/db/dispproduct.cgi?DISP?2751 偵偁傞 LhD 惢
    昳偺儁乕僕丅 LhD Main Page <http://lhd.datapower.com/> 偵峴偭偰丄
    Promise FastTrack 傪専嶕偡傞偙偲傕偱偒傑偡丅
   
 丒 RedHat, Inc. 偺 ATA RAID help document <http://people.redhat.com/
    arjanv/pdcraid/ataraidhowto.html>丅 ataraid mailing list <https://
    listman.redhat.com/mailman/listinfo/ataraid-list> 傊偺嶲壛傕偱偒傞
    偟丄 the mailing list archive. <https://listman.redhat.com/
    pipermail/ataraid-list/> 偱 ataraid 傪専嶕偡傞偙偲傕偱偒傑偡丅
   
 丒 http://support.promise.com <http://support.promise.com/> 偵偁傞丄
    Promise Technology 幮偺僒億乕僩僂僃僽僒僀僩丅偙偺儁乕僕 <http://
    www.promise.com/support/linux_eng.asp> 傕僠僃僢僋偟偰壓偝偄丅
   
 丒 Promise FastTrack 偺 Linux Mandrake 梡僿儖僾偼丄 http://
    www.magic-lamp.org <http://www.magic-lamp.org/> 偱棙梡偱偒傑偡丅
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

12. 擔杮岅斉幱帿

峑惓偵偁偨傝丄JF 僾儘僕僃僋僩偺奆條偵偛嫤椡偄偨偩偒傑偟偨丅摿偵丄拞扟愮
奊偝傫偵偼婱廳側傾僪僶僀僗傪偄偨偩偒傑偟偨丅偙偺応傪庁傝偰屼楃怽偟忋偘
傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

A. 偙偺暥彂偺嶌傝曽

偲偄偆傢偗偱丄偳偆傗偭偰偙偺 HOWTO 偑偱偒偨偐抦傝偨偄偱偟傚丠奆偝傫偼偙
偺暥彂偺 SGML 斉傪僟僂儞儘乕僪偟偰丄拞恎傪偄偔偮偐廋惓偟偨偺偱偁傟偽丄
偳偆傗偭偰 HOWTO 傪嶌傞傫偱偡偐丠抦傝偨偄偱偡偹丅

昅幰偺応崌偼丄嵟弶偵 nsgmls -s ataraid.sgml 偲僞僀僾偟偰丄帺暘偺 SGML
偵僄儔乕偑側偄偙偲傪妋擣偟傑偟偨丅偦傟偐傜丄makehowto 偲偄偆僗僋儕僾僩
傪嶌偭偰丄 ./makehowto ataraid.sgml 偲偄偆僐儅儞僪傪幚峴偟傑偟偨丅埲壓
偑丄makehowto 僗僋儕僾僩偱偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆#!/bin/bash                                                                     劆
劆#                                                                               劆
劆# makehowto by Murty Rompalli                                                   劆
劆# (c) All Rights Reserved                                                       劆
劆# 旕塩棙偺巊梡偵偮偄偰偼帺桼偱偡丅偦偺懠偺栚揑偱巊梡偡傞応崌偼丄偡傋偰          劆
劆# 嶌幰偺嫋壜偑昁梫偱偡丅徻嵶偼 murty@solar.m u r t y.net 埗偰偵楢棈偟偰壓偝偄丅 劆
劆#                                                                               劆
劆                                                                                劆
劆function maketut() {                                                            劆
劆echo;echo Creating Tutorial Files ...                                           劆
劆jade \                                                                          劆
劆    -t sgml \                                                                   劆
劆    -d /usr/lib/sgml/stylesheets/nwalsh-modular/html/ldp.dsl\#html \            劆
劆    $1.sgml                                                                     劆
劆}                                                                               劆
劆                                                                                劆
劆function makehtml {                                                             劆
劆echo;echo Creating html file: $1.html ...                                       劆
劆jade \                                                                          劆
劆    -t sgml \                                                                   劆
劆    -d /usr/lib/sgml/stylesheets/nwalsh-modular/html/docbook.dsl \              劆
劆    -V nochunks \                                                               劆
劆    $1.sgml > $1.html                                                           劆
劆}                                                                               劆
劆                                                                                劆
劆function maketxt {                                                              劆
劆        if [ -f $1.html ]                                                       劆
劆        then                                                                    劆
劆                echo;echo Creating text file: $1.txt ...                        劆
劆                lynx -dump $1.html > $1.txt                                     劆
劆        else                                                                    劆
劆                echo;echo $1.html not found, creating ...                       劆
劆                makehtml $1                                                     劆
劆                maketxt $1                                                      劆
劆        fi                                                                      劆
劆}                                                                               劆
劆                                                                                劆
劆function makepdf {                                                              劆
劆        [ -f $1.ps ] && gzip $1.ps                                              劆
劆                                                                                劆
劆        if [ -f $1.ps.gz ]                                                      劆
劆        then                                                                    劆
劆                echo;echo Creating pdf file: $1.pdf ...                         劆
劆                gzip -dc $1.ps.gz |                                             劆
劆                gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$1.pdf - 劆
劆        else                                                                    劆
劆                echo;echo $1.ps.gz not found creating ...                       劆
劆                makeps $1                                                       劆
劆                makepdf $1                                                      劆
劆        fi                                                                      劆
劆}                                                                               劆
劆                                                                                劆
劆function maketex {                                                              劆
劆echo;echo Creating TeX file $1.tex ...                                          劆
劆jade \                                                                          劆
劆    -t tex \                                                                    劆
劆    -d /usr/lib/sgml/stylesheets/cygnus-both.dsl\#print \                       劆
劆    $1.sgml                                                                     劆
劆gzip $1.tex                                                                     劆
劆echo $1.tex gzipped to $1.tex.gz                                                劆
劆}                                                                               劆
劆                                                                                劆
劆function makedvi {                                                              劆
劆echo;echo Creating DVI file $1.dvi ...                                          劆
劆db2dvi $1.sgml  >/dev/null 2>&1                                                 劆
劆echo See $1.log for errors                                                      劆
劆gzip $1.dvi                                                                     劆
劆echo $1.dvi gzipped to $1.dvi.gz                                                劆
劆}                                                                               劆
劆                                                                                劆
劆function makeps {                                                               劆
劆echo;echo Creating PS file $1.ps ...                                            劆
劆db2ps $1.sgml  >/dev/null 2>&1                                                  劆
劆echo See $1.log for errors                                                      劆
劆gzip $1.ps                                                                      劆
劆echo $1.ps gzipped to $1.ps.gz                                                  劆
劆}                                                                               劆
劆                                                                                劆
劆#### 儊僀儞僾儘僌儔儉偺奐巒                                                     劆
劆                                                                                劆
劆echo "                                                                          劆
劆makehowto utility for generating HOWTO from SGML file.                          劆
劆(c) Murty Rompalli                                                              劆
劆"                                                                               劆
劆                                                                                劆
劆[ x$1 = x ] &&                                                                  劆
劆echo "Error. Usage: $0 abc.sgml '{tut|html|pdf|tex|dvi|ps|all}'                 劆
劆                                                                                劆
劆Option 'all' is default if sgml file is the only option supplied.               劆
劆                                                                                劆
劆Options:                                                                        劆
劆-------                                                                         劆
劆tut     Make complete tutorial, i.e., generate necessary html files             劆
劆html    Make a printable single HTML file                                       劆
劆pdf     Make a PDF file                                                         劆
劆tex     Make a TeX source file, gzipped                                         劆
劆dvi     Make a DVI file, gzipped                                                劆
劆ps      Make a PostScript file, gzipped                                         劆
劆all     Generate all possible formats.                                          劆
劆                                                                                劆
劆" && exit                                                                       劆
劆                                                                                劆
劆file="`echo $1|sed 's/\.sgml$//'`"                                              劆
劆                                                                                劆
劆[ x$file = x ] &&                                                               劆
劆echo Error. Usage: $0 abc.sgml '{tut|html|tex|dvi|ps|all}' && exit              劆
劆                                                                                劆
劆[ -f $file.sgml ] || {                                                          劆
劆echo Error. $file.sgml does not exist                                           劆
劆exit                                                                            劆
劆}                                                                               劆
劆                                                                                劆
劆[ -r $file.sgml ] || {                                                          劆
劆echo Error. $file.sgml not readable                                             劆
劆exit                                                                            劆
劆}                                                                               劆
劆                                                                                劆
劆                                                                                劆
劆if [ x$2 = x ]                                                                  劆
劆then                                                                            劆
劆        action=all                                                              劆
劆else                                                                            劆
劆        action=$2                                                               劆
劆fi                                                                              劆
劆                                                                                劆
劆                                                                                劆
劆case $action in                                                                 劆
劆tut|tutorial) maketut $file                                                     劆
劆                ;;                                                              劆
劆html|htm) makehtml $file                                                        劆
劆                ;;                                                              劆
劆tex|latex) maketex $file                                                        劆
劆                ;;                                                              劆
劆dvi) makedvi $file                                                              劆
劆                ;;                                                              劆
劆ps) makeps $file                                                                劆
劆                ;;                                                              劆
劆text|txt) maketxt $file                                                         劆
劆                ;;                                                              劆
劆pdf) makepdf $file                                                              劆
劆                ;;                                                              劆
劆all)    maketut $file                                                           劆
劆        makehtml $file                                                          劆
劆        maketex $file                                                           劆
劆        makedvi $file                                                           劆
劆        makeps $file                                                            劆
劆        maketxt $file                                                           劆
劆        makepdf $file                                                           劆
劆        ;;                                                                      劆
劆*) echo error                                                                   劆
劆        ;;                                                                      劆
劆esac                                                                            劆
劆                                                                                劆
劆\rm -f $file.aux                                                                劆
劆\rm -f $file.tex                                                                劆
劆\rm -f $file.dvi                                                                劆
劆                                                                                劆
劆echo;echo makehowto: Finished                                                   劆
劆echo You can review $file.log and delete it.                                    劆
劆echo Thank you for using makehowto.                                             劆
劆echo                                                                            劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

PDF 斉傪嶌傝偨偄偩偗側傜丄椺偊偽丄./makehowto ataraid.sgml pdf 偲僞僀僾
偡傞偩偗偱傕偐傑偄傑偣傫丅 ./makehowto 偲偩偗僞僀僾偡傟偽丄偙偺僗僋儕僾
僩偺巊梡朄偵娭偡傞僿儖僾偑摼傜傟傑偡丅偙偺 makehowto 僗僋儕僾僩傪僟僂儞
儘乕僪偡傞応崌偼丄偙偙傪僋儕僢僋偟偰壓偝偄丅 <files/makehowto>

