Ó²ÅÌÊý¾Ý»Ö¸´µ¼º½
RAIDÊý¾Ý»Ö¸´µ¼º½
 | ÍøÕ¾Ê×Ò³ | Êý¾Ý»Ö¸´×ÊÁÏ | Êý¾Ý»Ö¸´Èí¼þ | ×ÉѯÁôÑÔ | Êý¾Ý»Ö¸´²©¿Í | Êý¾Ý»Ö¸´ÂÛ̳ | 
Êý¾Ý»Ö¸´Èí¼þÏÂÔØ
¹«Ë¾¼ò½é Êý¾Ý»Ö¸´³É¹¦°¸Àý Êý¾Ý»Ö¸´±¨¼Û Êý¾Ý»Ö¸´Åàѵ Êý¾Ý»Ö¸´¼¼ÊõÎÄÕ Êý¾Ý»Ö¸´¿Í·þÖÐÐÄ Êý¾Ý»Ö¸´·þÎñÁªÏµ·½Ê½
ÄúÏÖÔÚµÄλÖ㺠±±ÑÇÊý¾Ý»Ö¸´¼¼ÊõÕ¾ >> Êý¾Ý»Ö¸´×ÊÁÏ >> Ïà¹Ø±à³Ì×ÊÁÏ >> ÎÄÕÂÕýÎÄ
¼¸ÖÖ³£ÓõIJÙ×÷ϵͳÏÂiSCSI InitiatorµÄʹÓà            ¡¾×ÖÌ壺С ´ó¡¿
¼¸ÖÖ³£ÓõIJÙ×÷ϵͳÏÂiSCSI InitiatorµÄʹÓÃ
×÷ÕߣºÎ´Öª    ÎÄÕÂÀ´Ô´£ºÍøÂç    µã»÷Êý£º    ¸üÐÂʱ¼ä£º2009-7-2
±¾ÎÄÊÇÎÒÔÚÑÐÖƹÌ̬iSCSI·þÎñÆ÷Èí¼þʱËù×öµÄһЩʵÑéµÄ×ܽᣬ¶¼Ã»ÓÐÉæ¼°Éí·ÝÑéÖ¤¹¦ÄܵÄʹÓã¬ÈçÐèÒªÁ˽âÈçºÎʹÓÃÉí·ÝÑéÖ¤¹¦ÄÜ£¬Çë²Î¿¼ÏàÓ¦Èí¼þµÄ°ïÖúÎļþ»òÔÚÏßmanÎĵµ¡£
WindowxXP¡¢ Windows2000¡¢ Windows2003
RedHat Enterpris Linux 5
Fedora core 6 ¡¢Fedora 7
FreeBSD5.4¡¢FreeBSD6.2
Open Solaris
WindowxXP¡¢ Windows2000¡¢ Windows2003

  • °²×°
    ¿ÉÓÃÓÚwindows2000¡¢windowsXP¡¢windows2003µÄ½Ïа汾iscsi-initiator³ÌÐòÊÇ
    Initiator-2.04-build3273
    ,ÏÂÔظóÌÐòºó°²×°¡£
  • Ó÷¨
    °²×°³É¹¦ºó²úÉú³ÌÐò×éMicrosoft iSCSI Initiator, ×ÀÃæÒ²ÓÐÏàӦͼ±ê¡£»ù±¾²Ù×÷ÈçÏ£º
    µã»÷ Microsoft iSCSI Initiator¡ª>Discovery¡ª>Add¡ª>ÊäÈëtargetµÄIPµØÖ·ºÍ¶Ë¿ÚºÅ
    µã»÷ Microsoft iSCSI Initiator¡ª>Targets¡ª>Refresh, ·¢ÏÖµ±Ç°¿ÉÓõÄTarget
    µã»÷ Microsoft iSCSI Initiator¡ª>Targets¡ª>Ñ¡ÖÐtarget¡ª>Logon¡ª>OK, ½¨Á¢Á¬½Ó
    µã»÷ ¿ØÖÆÃæ°å¡ª>¹ÜÀí¹¤¾ß¡ª>¼ÆËã»ú¹ÜÀí¡ª>´ÅÅ̹ÜÀí£¬¿ÉÒÔ¿´¼ûÓ³Éäµ½±¾»úµÄÂß¼­´ÅÅÌ¡£È»ºó¿ÉÒÔÓë±¾µØ´ÅÅÌÒ»Ñù½øÐзÖÇø¸ñʽ»¯²Ù×÷¡£
    µã»÷ Microsoft iSCSI Initiator¡ª>Targets¡ª>Ñ¡ÖÐÒѾ­Á¬½ÓµÄtarget¡ª>Details¡ª>¹´Ñ¡ÏàÓ¦µÄÈÎÎñÏîÄ¿¡ª>Logoff, ¶Ï¿ªÁ¬½Ó¡£

RedHat Enterpris Linux 5

  • ±àÒë°²×°Èí¼þ
    ÒÔrootÉí·ÝµÇ¼ϵͳ£¬ÏÂÔØinitiatorÈí¼þ°üOpen-iscsi-2.0.865.tar.gzµ½/rootĿ¼¡£
    [¿ÉÒÔÔÚËü¹ÙÍøÉÏÏÂÔØ£º
    http://www.open-iscsi.org/
    ]
    ½âѹËõÈí¼þ
    [root@RedHat5 ~]# tar xvzf Open-iscsi-2.0.865.tar.gz
    ÔÚ/rootÏÂÉú³ÉĿ¼Open-iscsi-2.0.86£¬½øÈë¸ÃĿ¼½øÐбàÒëºÍ°²×°
    [root@RedHat5 ~]# cd Open-iscsi-2.0.86
    [root@RedHat5 Open-iscsi-2.0.86]# make
    [root@RedHat5 Open-iscsi-2.0.86]# make install
    [root@RedHat5 Open-iscsi-2.0.86]# cd ~
    ±àÒë°²×°Íê³ÉºóÉú³É±ØÒªµÄÇý¶¯³ÌÐòÄ£¿é¡¢ÊØ»¤½ø³ÌºÍ¹ÜÀí³ÌÐòiscsiadm
  • Ó÷¨
    Æô¶¯Open-iscsi
    [root@RedHat5 ~]# service open-iscsi start
    Èç¹ûÏ£ÍûÔÚÆô¶¯»úÆ÷ʱ×Ô¶¯¼ÓÔØ£¬Ö´ÐÐÏÂÃæÃüÁî
    [root@RedHat5 ~]# chkconfig --level 3 open-iscsi on
    ÕâÀïµÄ²ÎÊý3ÊÇÔËÐ춱ð£¬Èç¹ûÊÇͼÐνçÃæÒª¸ÄΪ5¡£
    ·¢ÏÖtarget,ѯÎÊtargetÃû³Æ
    [root@RedHat5 ~]# iscsiadm -m discovery -t sendtargets -p targetIPµØÖ·£º¶Ë¿ÚºÅ
    ¸ÃÃüÁ±¨¸æ³ötargetÃû³Æ
    ½¨Á¢Á¬½Ó
    µÃµ½ÁËtargetÃû³Æºó£¬Ê¹ÓÃÏÂÃæÃüÁÁ¢Á¬½Ó
    [root@RedHat5 ~]# iscsiadm -m node -T targetÃû³Æ -p targetIPµØÖ·£º¶Ë¿ÚºÅ --login
    ÕâʱӦ¸Ã¿´µ½Ó³Éäµ½µÄÂß¼­´ÅÅÌÃûºÅ£¬Ê¹ÓÃfdisk -l ¿ÉÒÔ¿´µ½ÓйØÂß¼­´ÅÅ̵ÄÏêϸÄÚÈÝ£¬¿ÉÒÔÏóʹÓñ¾µØÓ²ÅÌÒ»Ñù¶ÔÆä½øÐзÖÇø¡¢´´½¨Îļþϵͳ¡¢¹ÒÔØ¡¢Ð¶ÔصȲÙ×÷¡£
    ¶Ï¿ªÁ¬½Ó
    Èç¹ûÂß¼­´ÅÅÌÒѾ­¹ÒÔØ£¬¶Ï¿ªÁ¬½ÓÇ°Ó¦ÏÈжÔØ£¬È»ºóʹÓÃÏÂÃæÃüÁî
    [root@RedHat5 ~]# iscsiadm -m node -T targetÃû³Æ -p targetIPµØÖ·£º¶Ë¿ÚºÅ --logout
    ¹Ø»ú֮ǰӦ¸ÃÕýÈ·µÄжÔغͶϿªÂß¼­´ÅÅÌ£¬·ñÔò»áÔÚtarget·þÎñÆ÷ÉÏÁôϽ©ËÀµÄ½ø³Ì£¬Ôì³É·þÎñÆ÷×ÊÔ´µÄÀË·Ñ¡£

Fedora core 6 ¡¢Fedora 7

  • °²×°
    ÕâÁ½¸ö²Ù×÷ϵͳ¶¼ÓÐÊÊÓõÄrpm°ü£¬ÊÊÓÃÓÚFedora core 6µÄÊÇ
    iscsi-initiator-utils-6.20.695-0.5.i386.rpm
    ,ÊÊÓÃÓÚFedora 7µÄÊÇ
    iscsi-initiator-utils-6.20.754-0.0.fc7.i386.rpm
    ,ÏÂÔضÔÓ¦µÄÎļþºóÓÃrpmÃüÁî°²×°¡£
    [Federa]# rpm -ivh iscsi-initiator-utils-6.20.754-0.0.fc7.i386.rpm
  • Ó÷¨
    ÕâÁ½¸örpm°üÆäʵ¾ÍÊÇÉÏÃæ˵µÄOpen-iscsiÈí¼þ£¬Æä¹ÜÀí³ÌÐòÒ²ÊÇiscsiadm,Ó÷¨ÓëÉÏÃæËù˵ÍêÈ«Ò»Ñù¡£µ«Òò°²×°·½·¨²»Í¬²úÉúµÄÆô¶¯½Å±¾ÎļþÓÐËù²îÒì¡£ÕâÀïÐèÒªÈçϵķ½·¨Æô¶¯£º
    ¼ÓÔØÄÚºËÄ£¿é
    [Federa]# modprobe -q iscsi_tcp
    Æô¶¯ÊØ»¤½ø³Ì
    [Federa]# iscsid
    ¶øºó¾Í¿ÉÒÔÓÃiscsiadm³ÌÐòÀ´¹ÜÀí£¬·¢ÏÖµÄtargetÐÅÏ¢»á±£´æÔÚÊý¾Ý¿âÖУ¬Ï´ÎÆô¶¯Ê±×Ô¶¯¼ÓÔØÄ£¿éºÍÆô¶¯ÊØ»¤½ø³Ì¡£Èç¹ûÒª´ÓÊý¾Ý¿âÖÐɾ³ýij¸ötargetµÄÐÅÏ¢£¬Ê¹ÓÃÏÂÃæÃüÁ
    ²éѯÊý¾Ý¿âÖÐÄÚÈÝ
    [Federa]# iscsiadm -m node
    ɾ³ýÖ¸¶¨µÄtarget
    [Federa]# iscsiadm -m node -o delete -T targetÃû³Æ -p targetIPµØÖ·£º¶Ë¿ÚºÅ

FreeBSD5.4¡¢FreeBSD6.2

  • °²×°Èí¼þ
    ÒÔrootÉí·ÝµÇ¼ϵͳ£¬ÏÂÔØinitiatorÈí¼þ
    iscsi-12.tar.bz2
    µ½/root¡£
    ½âѹËõÈí¼þ
    # tar xvzf iscsi-12.tar.bz
    ½«µÃµ½Á½¸öĿ¼sysºÍiscontrol
    ·Ö±ð½øÈëÕâÁ½¸öĿ¼½øÐбàÒ룺
    # cd sys/modules/iscsi_initiator
    # ln -s ../.. @
    # make
    ±àÒë³É¹¦ºóÔÚ¸ÃĿ¼ÏÂÉú³ÉÄÚºËÄ£¿éÎļþiscsi_initiator.ko,°Ñ¸ÃÎļþ¸´ÖƵ½/boot/kernelĿ¼Ï¡£
    # cd iscontrol
    # make
    ±àÒë³É¹¦ºóÔÚ¸ÃĿ¼ÏÂÉú³É¹ÜÀí³ÌÐò iscontrol, °Ñ¸ÃÎļþ¸´ÖƵ½/sbinĿ¼Ï¡£
  • Ó÷¨
    Ê×ÏÈ×°ÔØÄÚºËÄ£¿é
    # kldload iscsi_initiator.ko
    Èç¹û²»Ïë¿´µ½ºÜ¶àµÄÊä³öÐÅÏ¢
    # sysctl debug.iscsi=0
    ·¢ÏÖtarget£¬Ñ¯ÎÊtargetÃû³Æ
    # iscontrol -d targetaddress=targetIPµØÖ·
    ¸ÃÃüÁ±¨¸æ³ötargetÃû³Æ¡£
    Á¬½Ótarget
    # iscontrol targetaddress=targetµÄIPµØÖ· TargetName=targetÃû³Æ
    ÕâÀïµÄtargetÃû³ÆÊÇ·¢ÏÖtargetÃüÁ¸æ³öµÄÃû³Æ¡£
    Á¬½Ó³É¹¦ºó£¬½«±¨¸æ³öÓ³Éäµ½±¾»úµÄscsiÉ豸ÃûºÅ£¬Èçda0»òda1µÈ¡£
    ÄÚºËÄ£¿é×°ÔØÃüÁîºÍÁ¬½ÓÃüÁîÓ¦¸ÃдÈëÆô¶¯½Å±¾Îļþ/etc/rc.local, ÕâÑù»úÆ÷Æô¶¯Ê±¿É×Ô¶¯½¨Á¢Á¬½Ó¡£
    Ó¦ÓÃÏÂÃæÃüÁî¿ÉÒÔ¿´µ½Á¬½Óµ½µÄÉ豸
    # camcontrol devlist
    È»ºó¿ÉÒÔÏóʹÓñ¾µØÓ²ÅÌÒ»Ñù¶ÔÆä½øÐзÖÇø¡¢´´½¨Îļþϵͳ¡¢¹ÒÔØ¡¢Ð¶ÔصȲÙ×÷¡£
    ÈçÒª½áÊøÁ¬½Ó£¬Ê×ÏÈҪжÔØÏàÓ¦µÄÉ豸£¬È»ºóÏòiscontrol½ø³Ì·¢-HUPÐźţ¬»òÓÃtopÕÒµ½iscontrolµÄ½ø³ÌºÅ£¬Ö±½Ókillµô¡£
    ¸ÃÈí¼þÔÚtarget¶Ë·þÎñÖжϺóÔÙ»Ö¸´Ê±£¨ÀýÈçÖØÐÂÆô¶¯»úÆ÷£©²»ÄÜ×Ô¶¯ÔÙ½¨Á¢Á¬½Ó£¬±ØÐëÊÖ¶¯ÖØн¨Á¢Á¬½Ó¡£¸ÃÈí¼þ²»Ö§³ÖÉí·ÝÑéÖ¤£¬target¶Ë²»ÄÜÉèÖÃÃÜÂë¡£


Open Solaris

      Open Solaris²Ù×÷ϵͳÄÚÖÃÁËiSCSI Initiator, Æä¹ÜÀí³ÌÐòÃû³ÆÒ²ÊÇiscsiadm, µ«ÓëLinuxϵÄiscsiadm²»ÊÇͬһ³ÌÐò£¬Ê¹ÓÃÓï·¨Ò²²»Ïàͬ¡£

  • Ó÷¨£º
    ÒÔrootÉí·ÝµÇ¼£¬Æô¶¯Ò»¸öÖն˴°¿Ú£¬ÔÚ´°¿ÚÖÐÖ´ÐÐÃüÁ
    ·¢ÏÖtarget, ѯÎÊtargetÃû³Æ
    # iscsiadm add discovery-address targetIPµØÖ·£º¶Ë¿ÚºÅ
    ½¨Á¢Á¬½Ó
    # iscsiadm modify discovery -t enable
    ²é¿´Âß¼­´ÅÅÌÃûºÅ
    # format
    È»ºó¸ù¾ÝÂß¼­Å̵ÄÃûºÅ£¨ÀýÈçc1t0d0£©½øÐиñʽ»¯¡¢´´½¨Îļþϵͳ¡¢¹ÒÔØ¡£
    ¶Ï¿ªÁ¬½Ó
    # iscsiadm modify discovery -t disable
    ɾ³ýÒ»¸ötarget
    # iscsiadm remove discovery-address targetIPµØÖ·£º¶Ë¿ÚºÅ
ÎÄÕ¼È룺a    ÔðÈα༭£ºa 
  • ÉÏһƪÎÄÕ£º

  • ÏÂһƪÎÄÕ£º
  • ¡¾·¢±íÆÀÂÛ¡¿¡¾¼ÓÈëÊղء¿¡¾¸æËߺÃÓÑ¡¿¡¾´òÓ¡´ËÎÄ¡¿¡¾¹Ø±Õ´°¿Ú¡¿
    ÍøÓÑÆÀÂÛ£º£¨Ö»ÏÔʾ×îÐÂ10Ìõ¡£ÆÀÂÛÄÚÈÝÖ»´ú±íÍøÓѹ۵㣬Óë±¾Õ¾Á¢³¡Î޹أ¡£©
    ¹ØÓÚÎÒÃÇ | RAIDÊý¾Ý»Ö¸´ | ÓÑÇéÁ´½Ó | RSSÉú³É | XMLÉú³É | ÎÄÕÂHTMLµØͼ | ÏÂÔØHTMLµØͼ

    °æȨËùÓÐ ±±ÑÇÊý¾Ý»Ö¸´ÖÐÐÄ
    È«¹úͳһ¿Í·þµç»°:4006-505-808
    ±±¾©Êк£µíÇøÓÀ·á»ùµØ·á»ÛÖз7ºÅвÄÁÏ´´Òµ´óÏÃB×ù205ÊÒ
    ¾©ICP±¸05011939
    egÓAa