Linux SCSI ×ÓϵͳÆÊÎö
Small Computer Systems Interface (SCSI)
ÊÇÒ»×é±ê×¼¼¯£¬Ëü¶¨ÒåÁËÓë´óÁ¿É豸£¨Ö÷ÒªÊÇÓë´æ´¢Ïà¹ØµÄÉ豸£©Í¨ÐÅËùÐèµÄ½Ó¿ÚºÍÐÒé¡£ Linux® ÌṩÁËÒ»ÖÖ SCSI ×Óϵͳ
£¬ÓÃÓÚÓëÕâЩÉ豸ͨÐÅ¡£Linux
ÊÇ·Ö²ã¼Ü¹¹µÄÒ»¸öºÜºÃµÄÀý×Ó£¬Ëü½«¸ß²ãµÄÇý¶¯
Æ÷£¨±ÈÈç´ÅÅÌÇý¶¯Æ÷»ò¹âÇý£©Á¬½Óµ½ÎïÀí½Ó¿Ú£¬±ÈÈç
Fibre Channel »ò Serial Attached SCSI£¨SAS£©¡£±¾ÎÄÏòÄú½éÉÜÁË Linux SCSI
×Óϵͳ£¬²¢ÇÒÌÖÂÛÁËÕâЩ×Óϵͳ½«À´µÄ·¢Õ¹·½Ïò¡£
GNU/Linux ºÍ SCSI ÊǺܺõÄÒ»¸ö×éºÏ£¬ÒòΪ¶þÕßÔÚ¸÷×ԵĻ·¾³ÖоßÓÐÀàËƵÄÌØÕ÷¡£GNU/Linux
ÊÇÒ»ÖÖ°²È«¿É¿¿µÄ²Ù×÷ϵͳ£¬¿ÉÒÔ²»¼ä¶ÏµØÔËÐС£SCSI ÊʺÏÓÚ¿É¿¿ºÍ¸ßÐÔÄÜ
´æ´¢¡£¶þÕ߶¼ÊÇ¿ªÔ´µÄ¡£Äú¿ÉÒÔÏÂÔغͲéÔÄ
International Committee on Information Technology Standards (INCITS) T10
Technical Committee µÄ¸÷ÖÖ SCSI ¹æ·¶¡£Í¬ÑùµØ£¬ÄúÒ²¿ÉÒÔÏÂÔØ GNU/Linux
Ô´´úÂëÒÔÀí½âÆäʵÏÖ¡£ËüÃÇÔÚ¸÷×ÔµÄÐÐÒµ¶¼¾ßÓÐÖ÷µ¼ÐÔ£¬ËùÒÔÏà¶ÔÆäËû²Ù×÷ϵͳ¶øÑÔ£¬GNU/Linux ÄܸüºÃµØÖ§³Ö SCSI£¬ÕâÒ»µã¾Í²»×ãΪÆæÁË¡£
SCSI µÄÑÝ»¯
SCSI ÊÇÒ»ÖÖºÜÓÐȤµÄ½Ó¿Ú£¬ËüÊÇÔçÆڵĽӿÚÖ®Ò»£¬Èç½ñ»¹ÔÚ²»¶ÏÑÝ»¯¡£µÚÒ»ÖÖ SCSI ±ê×¼³ÆΪ SCSI-1£¬ÊÇÓÉ Shugart
Associates ÔÚ 1979 ÄêÇ°ºó´´½¨µÄ¡£SCSI-1 ¶¨ÒåÁËÒ»ÖÖ¾ßÓÐ 5MHz Êý¾ÝʱÖ 8-bit ²¢Ðнӿڣ¬ÄÜÌṩ×î¸ß 5
Õ××Ö½ÚÿÃ루5 MB/s£©µÄÊý¾Ý´«ÊäËÙÂÊ¡£
SCSI-2 ±ê×¼³öÏÖÓÚ 1985 Ä꣬ËüµÄ³öÏÖʹÊý¾ÝËÙÂʸü¿ì£¨10MHz£©£¬×ÜÏßÒ²¸ü¿í£¨16 룩¡£±»³ÆΪ Fast/Wide µÄ
SCSI-2 ÔÊÐíµÄÊý¾Ý´«ÊäËÙÂʸߴï 20 MB/s£¬²¢¾ßÓÐÓë SCSI-1 µÄÏòºó¼æÈÝÐÔ£¬µ«ÊÇËÙÂÊÒ²»áÏÞÖƵ½ SCSI-1 µÄÊý¾ÝËÙÂÊ¡£
SCSI-3 µÄ¿ª·¢
¿ªÊ¼ÓÚ 1993
Ä꣬ÏÖÒѳÉΪÁËÒ»×é±ê×¼¼¯£¬¿ÉÒÔ¶¨ÒåÐÒé¡¢ÃüÁî
¼¯ºÍÐÅÁî·½·¨¡£ÔÚ SCSI-3
ÖУ¬°üº¬Ò»×éÃüÃûΪ Ultra µÄ²¢ÐÐ SCSI ±ê×¼ºÍ»ùÓÚ´®ÐÐ SCSI µÄÐÒ飬±ÈÈç IEEE 1394 (FireWire)¡¢Fibre
Channel, ¡¢Internet SCSI (iSCSI) ºÍÐÂÐ赀 SAS¡£ÕâЩ±ê׼ͨ¹ýÒýÈë´æ´¢ÍøÂç
¼¼Êõ£¨±ÈÈç FC-AL »ò
iSCSI£©¸Ä±äÁË´«Í³µÄ´æ´¢ÀíÄ½«Êý¾ÝËÙÂÊÀ©Õ¹µ½ÁË 1 Gbit/s£¬½«×î´óµÄ¿ÉÑ°Ö·É豸ÊýÔö¼Óµ½ÁË 100 ÒÔÉÏ£¬²¢½«×î´óµÄµçÀ³¤¶ÈÀ©Õ¹µ½ÁË
25 Ãס£Í¼ 1 չʾÁË´Ó 1986 ÖÁ 2007 Äê SCSI µÄÊý¾ÝËÙÂʵı仯
ͼ 1. SCSI Êý¾ÝËÙÂʵÄÑÝ»¯
SCSI ¹¤×÷ÔÀí
SCSI ʵÏÖÁËÒ»ÖÖ¿Í»§»ú/·þÎñÆ÷
·ç¸ñµÄͨÐżܹ¹¡£·¢ÆðÕßÏòÄ¿±êÉ豸·¢ËÍÃüÁîÇëÇó¡£
¸ÃÄ¿±ê´¦Àí´ËÇëÇó²¢Ïò·¢ÆðÕß·µ»ØÏìÓ¦¡£·¢ÆðÕß¿ÉÒÔÊ
Ïà¹ØÎĵµ£º
±¾ÈËʹÓõÄTDµÄÄ£¿éÊÇLC63**,ÔÚÉϸöÔµÄÕ⼸Ìì¸ÕÄõ½°å×Ó£¬ÕÛÌÚÁ˽«½üÒ»¸öÔ£¬Õâ¸ö°å×Ó´òµç»°£¬ÉÏÍø¶¼Ã»ÓÐÎÊÌâÁË¡£
Ê×ÏÈ»¹ÊÇÓбØÒª½éÉÜÒ»ÏÂpppÐÒéÁË£¬ÊÇTDÉÏÍøµÄ»ù´¡£º
PPPÊǵã¶ÔµãµÄÁ¬½ÓÐÒé¡£ÕâÖÖÁ¬½Ó½¨Á¢Ö®ºó£¬½«¸øÁ½µã·Ö±ð·ÖÅäIPµØÖ·£¬Ê¹ÓÃÕâ¸öIP¿ÉÒÔ½øÐÐÁ½µãÖ®¼äµÄͨѶ¡£»¥ÁªÍø×î³õµÄ“²¦ºÅÉÏÍø”·½Ê½Ëµµ ......
This document shows how to write a daemon in Linux using GCC. Knowledge of Linux and a familiarity with C are necessary to use this document. This HOWTO is Copyright by Devin Watson, under the terms of the BSD License.
1. Introduction: What is a Daemon?
2. Getting Started
3. Planning Your Daemo ......
Ò»¸öÕýÔò±í´ïʽ¾ÍÊÇÓÉÆÕͨ×Ö·û£¨ÀýÈç×Ö·û a µ½ z£©ÒÔ¼°ÌØÊâ×Ö·û£¨³ÆΪԪ×Ö·û£©×é³ÉµÄÎÄ×Öģʽ¡£¸ÃģʽÃèÊöÔÚ²éÕÒÎÄ×ÖÖ÷Ìåʱ´ýÆ¥ÅäµÄÒ»¸ö»ò¶à¸ö×Ö·û´®¡£ÕýÔò±í´ïʽ×÷Ϊһ¸öÄ£°å£¬½«Ä³¸ö×Ö·ûģʽÓëËùËÑË÷µÄ×Ö·û´®½øÐÐÆ¥Åä¡£
¡¡¡¡½«ÏÂÒ»¸ö×Ö·û±ê¼ÇΪһ¸öÌØÊâ×Ö·û¡¢»òÒ»¸öÔÒå×Ö·û¡¢»òÒ»¸ö ºóÏòÒýÓᢻòÒ»¸ö°Ë½øÖÆתÒå·û¡£ÀýÈ ......
1. ÐÞ¸ÄIPµØÖ· # vi /etc/sysconfig/network-scripts/ifcfg-eth0
ÐÞ¸ÄÒÔÏÂÄÚÈÝ
DEVICE=eth0 #ÃèÊöÍø¿¨¶ÔÓ¦µÄÉ豸±ðÃû£¬ÀýÈçifcfg-eth0µÄÎļþÖÐËüΪeth0
BOOTPROTO=static #ÉèÖÃÍø¿¨»ñµÃipµØÖ·µÄ·½Ê½£¬¿ÉÄܵÄÑ¡ÏîΪstatic£¬dhcp»òbootp£¬·Ö±ð¶ÔÓ¦¾²Ì¬Ö¸¶¨µÄ ipµØÖ·£¬Í¨¹ýdhcpÐÒé»ñµÃµÄipµØÖ·£ ......
²»Í¬Ö®´¦Ö÷ÒªÌåÏÖÔÚ×ÅÑ۵㣺
£¨1£©UbuntuÊÇΪÁËÌá¸ßͼÐνçÃæϵÄÓû§ÌåÑé
ËùÒÔ¹¦·ò¶¼×öÔÚ¼ÒÓûúÉÏÓ²¼þ¼æÈÝÐÔ
³õ¼¶Óû§µÄÒ×ÓÃÐÔ
£¨2£©SuseÊÇΪÁËÌá¸ßÆóÒµÓû§µÄÈÏ¿É
ÐèÒª×î¸ßµÄÎȶ¨ÐÔ£¬ÈÝÒ×µÄÅäÖ÷þÎñ
¿ÉÒÔºÜÈÝÒ×ʹÓÃSuseºÍRethat´î½¨Ò»¸ö¿É¿¿µÄÍøÕ¾
£¨3£©ArchlinuxÊÇΪÁ˼ò»¯Öм¶Ó ......