Shunze ¾Ç¶é >¹q¸£¸ê°T¾Ç¨t >µw©³¤l > ¡mÂà¸ü¡n¦ó¿×RAID¡H «¢Åo¡AÁÙ¨S¦³µù¥U©ÎªÌµn¤J¡C½Ð§A[µù¥U|µn¤J]
« ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD » Åã¥Ü¦¨¦C¦L¼Ò¦¡ | ¼W¥[¨ì§Úªº³Ì·R
µoªí·s¥DÃD µoªí¦^ÂÐ
§@ªÌ
¥DÃD
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
¡mÂà¸ü¡n¦ó¿×RAID¡H¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¦ó¿× RAID¡H

RAID (¿W¥ßºÏºÐ¦h­«°}¦C) ªººc·Q³Ì¥ý¬O¥Ñ¥[¦{¬f§JµÜ¤j¾Çªº David A. Patterson¡B
Garth Gibson¤Î Randy H. Katz ¦b 1988 ¦~©Ò´£¥Xªº¡C

ºÏºÐ°}¦C RAID(Redundant Array of Independent Disks)²³æªº¸ÑÄÀ¡A
´N¬O±N¦h¥xµwºÐ³z¹LRAID Controller (¤ÀHardware¡ASoftware )µ²¦X¦¨µêÀÀ³æ¥x¤j®e¶qªºµwºÐ¨Ï¥Î¡A
¨ä¯S¦â¬O¦h¥xµwºÐ¦P®ÉŪ¨ú³t«×¥[§Ö¤Î´£¨Ñ®e¿ù©ÊFault Tolerant¡C
©Ò¥H RAID ¬O·í¦¨¥­®É¥D­n¦s¨ú¸ê®ÆªºStorage¡A¤£¬O Backup Solution¡C

RAID ªº¥Øªº¦b©ó±N¬Û¦Pªº¸ê®ÆÀx¦s¦b¦h­ÓºÏºÐ¾÷¤¤¤£¦Pªº¦a¤è¡A¨Ã¥B§ïµ½Àx¦s¤l¨t²Îªº®Ä¯à¡C
RAID ªºÀuÂI¬°´£¨Ñ§ó¦nªº¥Í²£¤O®Ä¯à¤Î/©Î¸ê®Æ¿ù»~®e§Ô«×¡C
³z¹L±N¤u§@¶q¥­¦æ¤À´²¨ì¦h­Ó¹êÅéºÏºÐ¾÷¤¤¥i¥H¹F¨ì¸û¦nªº®Ä¯à¡C
¦ÓÂǥѸê®Æ¦h­«¾Þ§@¡A·í¤@­Ó (©Î¦h­Ó) ºÏºÐ¾÷©ÎºÏ°Ïµo¥Í°ÝÃD®É¡A
¥i¥H¦b¥t¤@­ÓºÏºÐ¾÷¤¤§ä¨ì¸ê®Æªº¬M®g«þ¨©¡A«h¥i¹F¨ì¿ù»~®e§Ô«×¡C

RAID ¦b§@·~¨t²Î¤¤Åã¥Ü¬°¤@­Ó³æ¤@ªºÅÞ¿èºÏºÐ¾÷¡C
RAID ±±¨î¾¹±±¨î¸ê®Æ¦p¦ó¦b¹êÅé¤ÎÅÞ¿è°}¦C¤§¶¡³QÀx¦s¤Î¦s¨ú¡C
RAID ±±¨î¾¹¨ó§U¨Ï¥ÎªÌ½T«O§@·~¨t²Î¶È¬Ý±o¨£ÅÞ¿èºÏºÐ¾÷¡A
¦P®É¨Ï¥ÎªÌ¤]¤£»Ý­n¾á¤ß¦p¦óºÞ²z¦¹½ÆÂøªº¬[ºc¡C



RAID µ¥¯Å¬°¦ó¡H

Striping / Span (RAID 0)

RAID µ¥¯Å 0 ¬O³Ì§ÖªººÏºÐ°}¦C¡A¥¦¬O¤@ºØ®Ä¯à¾É¦VªººÏºÐ¬M®g¤èªk¡C
°}¦C¤¤ªº¸ê®Æ³z¹L½u©Ê©Î¤£¦PªººÏºÐ¼g¤J¥HÀò±o¸û§Öªº¶Ç¿é¡C

¦¹§Þ³N±N¸ê®Æ¤Á³Î¡A¦ý¤£·|³y¦¨¸ê®Æªº­«½Æ¡C
¥¦´£¨Ñ³Ì¨Îªº®Ä¯à¡A¦ý¤£¨ã¿ù»~®e§Ô«×¡C¸ê®ÆºÏ°ÏªºÅª¼g¦b¦h­ÓºÏºÐ¾÷¤§¶¡¶i¦æ¡C
·í¥ô¦ó¤@­ÓºÏºÐ¾÷µo¥Í°ÝÃD®É¡A¾ã­Ó°}¦C¬Ò·|¨ü¨ì¼vÅT¡C
¥¦ªº®Ä¯àÀu©ó³æ¤@­ÓºÏºÐ¾÷¡A¦]¬°¤u§@¶q¥­§¡¤À°t©ó¨C¤@­Ó°}¦C¡C
¦¹ºØ°}¦CÃþ«¬¾A¥Î©ó»Ý­n°ª®Ä¯àªº¨t²Î¡C

§Ú­Ì«Øij¨Ï¥Î¦P¤@­ÓºÏºÐ¾÷¥HÀò±o§ó¦nªº®Ä¯à¤Î¸ê®ÆÀx¦s®Ä²v¡C
ºÏºÐ°}¦C®e¶qµ¥©óºÏºÐ¾÷ªº¼Æ¶q­¼¥H³Ì¤pªººÏºÐ¾÷®e¶q¡C
¨Ò¦p¡G¤@­Ó 40GB ¤Î¤@­Ó 60GB ªººÏºÐ¾÷±N§Î¦¨¤@­Ó 80GB (40GBx2) ªººÏºÐ°}¦C¡C






¬M®g (RAID 1)

RAID µ¥¯Å 1 ¨Ï¥Î¦Ü¤Ö¨â­Ó¬Û¦PªººÏºÐ¾÷¨Ã¥B¦b¨âªÌ¤¤Àx¦s§¹¥þ¬Û¦Pªº¸ê°T°Ï¶ô¡C
¦¹¬°¿ù»~®e§Ô«×³ÌºCªºÃþ«¬¡A¦]¬°¦P®É¥²¶·±N¸ê®Æ½Æ»s¨ì¨â­ÓºÏºÐ¾÷¤¤¡C
µM¦Ó¡A¦¹¬°´£¨Ñ°ª¥i¾a«×³Ì²³æªº¤èªk¡C

¦pªG¨ä¤¤¤@­Ó¬M®gºÏºÐ¾÷µo¥Í¾÷±ñ¤Wªº°ÝÃD©Î¨S¦³¦^À³¡A
¥t¤@­ÓºÏºÐ¾÷±NÄ~Äò¹B§@¨Ã´£¨Ñ¥¿½Tªº¸ê®Æ¡C
¦pªG¤@­ÓºÏºÐ¾÷µo¥Í¹êÅéºÏ°Ïªº°ÝÃD¡A¬M®gºÏºÐ¾÷±NÄ~Äò¹B§@¡C

¦]¬°­«½Æªº½t¬G¡AºÏºÐ¾÷ªº®e¶q¬O¾ã­ÓºÏºÐ¾÷®e¶qªº¤@¥b¡C
¨Ò¦p¡GÁ`®e¶q¬° 80GB ªº¨â­Ó 40GB ªºµwºÐ¾÷¾Ö¦³ 40GB ªº¥i¥ÎÀx¦s¶q¡C
¦]¬°¦³¤£¦P®e¶qªººÏºÐ¾÷¡A¦b¸û¤jªººÏºÐ¾÷¤¤¥i¯à·|¦³¥¼¨Ï¥Îªº®e¶q¡C
RAID 1 ¦b¼W¥[ºÏºÐ¾÷«Ø¥ß°}¦C®É¡A±N·|ªá¶O¨â­¿ªº¦¨¥»¡C






¨Ï¥Î¬M®g¶i¦æ Striping (RAID 0+1)

¦p¦P¦WºÙ©Ò«Øijªº¡ARAID 0+1 ¬O striping ¤Î¬M®gªºµ²¦X¡C
¦¹ RAID µ²¦X¤F RAID 0 ¤Î RAID 1 ³Ì¨ÎªºÀuÂI¡C
¥¦±Ä¥Î¤@­Ó¨Ï¥Î¨â­ÓºÏºÐ¾÷ªººÏºÐ stripe¡A¨Ã±N¨ä¬M®g¨ì¥t¤@ºÏºÐ²Õ§@¬°¿ù»~®e§Ô«×¨Ï¥Î¡C

¸ê®Æ³Q¤Á³Î¨ì³\¦hªººÏºÐ¾÷¡A¨C¤@­ÓºÏºÐ¾÷³£¦ñÀHµÛ¥t¤@­Ó¾Ö¦³¬Û¦P¸ê®ÆªººÏºÐ¾÷¡C
±z¥i¥H¦b RAID 0 ¤¤Àò±o§Ö³t¸ê®Æ¦s¨úªº®Ä¯q¡A¦b RAID 1 ¤¤Àò±o¿ù»~®e§Ô«×¡C
¦¹¤@Ãþ«¬ªº²ÕºA´£¨Ñ³Ì¨Îªº³t«×¤Î¥i¾a«×¡C

±z»Ý­n¨â­¿ªººÏºÐ¾÷¼Æ¥Ø§@¬°¤@­Ó RAID 0¡A¨C¤@ºÝªº¥b¼Æ§@¬°¬M®g¥Î¡C
¦b°õ¦æ RAID 0+1 ®É¦Ü¤Ö»Ý­n 4 ­ÓºÏºÐ¾÷¡C






RAID 5
¡@
ºÏºÐ°}¦C RAID 5 ªºÀx¦s­ì²z¬O¥ÎBit Striping¤Î¥Ø«e¥D¬yBlock Stripingªº¤À³Î¤è¦¡¡A±N¸ê®Æ¤À´²Àx¦s¦Ü¦UµwºÐ¤¤¡C
·íµwºÐ¦³¨ü·l®É«h¸g¥ÑXOR¹Bºâ¡A
¦A±N¦s¦b¨ä¥L¦UµwºÐ¤ºªºParity Blocks¤ÎData StripeºÏ°ÏªºData Blocks¶i¦æ­pºâ¦Ó­««Ø¸ê®ÆRebuild¡C

RAID 5 ¨ä¹Ï¸Ñ¦p¤U¡R








RAID¦³¤@°ò¥»·§©ÀºÙ¬°EDAP ( Extended Data Availability and Protection ) ¡A
¨ä±j½ÕÂX¥R©Ê¤Î®e¿ù¾÷¨î¡A¤]¬O¦U®a¼t°Ó¦p: Mylex¡AIBM¡AHP¡ACompaq¡AAdaptec¡AInfortrendµ¥¶D¨Dªº­«ÂI¡A
¥]¬A¦b¤£¶·°±¾÷±¡ªp¤U¥i³B²z¥H¤U°Ê§@:

1. RAID ºÏºÐ°}¦C-¦Û°Ê°»´ú¬G»ÙµwºÐ(RAID Auto Error Detection)
2. RAID ºÏºÐ°}¦C-­««ØµwºÐÃa­yªº¸ê®Æ(RAID Rebuild and Recovery)
3. RAID ºÏºÐ°}¦C-¤ä´©¤£¶·°±¾÷ªºµwºÐ³Æ´© Hot Spare(RAID Hot Spare)
4. RAID ºÏºÐ°}¦C-¤ä´©¤£¶·°±¾÷ªºµwºÐ´À´« Hot Swap(RAID Hot Swap)
5. RAID ºÏºÐ°}¦C-ÂX¥RµwºÐ®e¶qµ¥(Raid Hot Expanding)



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2010-02-23, 10:29 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
shunze
¤u¤Í§B§B


µù¥U¤é´Á: 2002 04
¨Ó¦Û: ¼é¦Á²×¤î¤§¦a
¤å³¹: 2380

shunze Â÷½u
RAID 5»PHot Spare¤Þ¥Î¦^ÂÐ ½s¿è/§R°£¤å³¹ ·j´M¥Ñ  µoªíªº¨ä¥L¤å³¹ ¦^³øµ¹ª©¥D IP ¦ì¸m ¦^¦¹­¶³Ì¤W¤è

¦b¤½¥qùØ¡A¥Ñ8ÁûµwºÐ©Ò²Õ¦¨ªººÏºÐ°}¦Cºc¬[¦p¤U¡G
7ÁûµwºÐ²Õ¦¨¤@­ÓRAID 5¡A³Ñ¤Uªº¤@ÁûµwºÐ«h«ü©w¬°hot spare(¼ö³Æ´©µwºÐ)¡C


·í¥ô¦ó¤@ÁûµwºÐ¥X²{²§±`®É¡A
ºÏºÐ°}¦C·|¥ß¨è¶i¦ærebulid¡A±N¸ê®Æ­««Ø¦b¼Ð¥Ü¬°hot spareªºµwºÐ¤W¡A¥H«ì´_¥¿±`ªºRAID 5²ÕºA¡C
¦¹®É¥Ñ©óhot spareºÏºÐ³Q®¿¬°RAID 5¸ê®ÆµwºÐ¡A©Ò¥HºÏºÐ°}¦C¤Ö¤F¤@Áûhot spare¡C

Rebuild§¹¦¨«á¡A±N·sµwºÐ¨ú¥N±¼²§±`µwºÐ¡C
ºÏºÐ°}¦C·|±N¦¹·sµwºÐ¼Ð¥Ü¬°hot spare¡A¥HÀ³¥I¤U¤@¦¸ª¬ªpªºµo¥Í¡C

Rebuild§¹¦¨«á¡A­Y¥¼§Y®É§ó´«²§±`µwºÐ¡A
«h¦¹7ÁûµwºÐ©Ò²Õ¦¨ªºRAID 5¡A©|¦³¯à¤O¦AÀ³¥I¤@¦¸³æ¤@µwºÐ²§±`ªºª¬ªp¡I

Rebuild´Á¶¡¡A­Y¦AÃa±¼¤@ÁûµwºÐ¡A
¥Ñ©ó¸ê®ÆÁÙ¥¼´_­ì§¹¦¨¡Aµ¥©óRAID 5¦P®ÉÃa±¼¨âÁûµwºÐ¡A
¸ê®Æ·l·´¡AµLªk±Ï¦^...


µ²½×¡G
RAID 5 + hot spare¥i¥H¤¹³\¤£¦P®É¶¡¤U¡A¨âÁûµwºÐªº·l·´¡C
¦ý¦pªG¦P¤@®É¶¡¡A¨âÁû¸ê®ÆµwºÐ¦P®É·l·´ªº¸Ü¡A¸ê®ÆÁÙ¬OµLªk±Ï¦^¡I



♥¶¶¤l¦Ñ±Cªººô©ç¡A½Ð¦hÃö·Ó¡ã

If you don't like something, change it.
If you can't change it, change your attitude.
Don't complain!




2010-02-23, 11:05 shunze ªº­Ó¤H¸ê®Æ §â shunze ¥[¤J¦n¤Í¦Cªí µo°eEmailµ¹ shunze ÂsÄý shunze ªººô¯¸ MSN : shunze@gmail.com
  « ¤W¤@½g¥DÃD ¤U¤@½g¥DÃD »
µoªí·s¥DÃD µoªí¦^ÂÐ
¸õ¨ì:

Powered by: Burning Board 1.1.1 2001 WoltLab GbR