ÉèΪÊ×Ò³ - ¼ÓÈëÊÕ²Ø ASPÕ¾³¤Íø£¨Aspzz.Cn£©- ¿Æ¼¼¡¢½¨Õ¾¡¢¾­Ñé¡¢ÔƼÆËã¡¢5G¡¢´óÊý¾Ý,Õ¾³¤Íø£¡
ÈÈËÑ£º ÊÖ»ú Êý¾Ý ¹«Ë¾
µ±Ç°Î»Ö㺠Ê×Ò³ > ·þÎñÆ÷ > ´î½¨»·¾³ > Windows > ÕýÎÄ

Ïê½âLinux Multipath¶à·¾¶ÅäÖÃ--¸ÅÄî¡¢ÅäÖᢳ£ÓÃά»¤ÃüÁîµÈ(2)

·¢²¼Ê±¼ä£º2019-07-29 16:25 ËùÊôÀ¸Ä¿£º117 À´Ô´£º²¨²¨ËµÔËά
µ¼¶Á£ºps£ºÆäÖÐ wwid£¬vendor£¬product£¬ getuid_calloutÕâЩ²ÎÊý¿ÉÒÔͨ¹ý£ºmultipath -v3ÃüÁîÀ´»ñÈ £Èç¹ûÔÚ/etc/multipath.confÖÐÓÐÉ趨¸÷wwid±ðÃû,±ðÃû»á¸²¸Ç´ËÉ趨¡£ 3.ÈçºÎ»ñÈ¡WWID (1) ʹÓà /etc/multipath/bindings

ps£ºÆäÖÐ wwid£¬vendor£¬product£¬ getuid_calloutÕâЩ²ÎÊý¿ÉÒÔͨ¹ý£ºmultipath -v3ÃüÁîÀ´»ñÈ¡¡£Èç¹ûÔÚ/etc/multipath.confÖÐÓÐÉ趨¸÷wwid±ðÃû,±ðÃû»á¸²¸Ç´ËÉ趨¡£

Ïê½âLinux Multipath¶à·¾¶ÅäÖÃ--¸ÅÄî¡¢ÅäÖᢳ£ÓÃά»¤ÃüÁîµÈ

3. ÈçºÎ»ñÈ¡WWID

(1) ʹÓà /etc/multipath/bindings

/etc/multipath/bindingsÄÚµÄÅäÖÃÉ趨¾ßÌåÿ¸ö¶à·¾¶É豸Ãû£¬Èç¹ûÔÚ/etc/multipath.confÖÐÓÐÉ趨¸÷wwid ±ðÃû£¬±ðÃû»á¸²¸Ç´ËÉ趨¡£

  1. # cat /etc/multipath/bindings 

Ïê½âLinux Multipath¶à·¾¶ÅäÖÃ--¸ÅÄî¡¢ÅäÖᢳ£ÓÃά»¤ÃüÁîµÈ

(2) ͨ¹ýmultipath -v3ÃüÁîÀ´»ñÈ¡

  1. # multipath -v3 

Ïê½âLinux Multipath¶à·¾¶ÅäÖÃ--¸ÅÄî¡¢ÅäÖᢳ£ÓÃά»¤ÃüÁîµÈ

4. Æô¶¯multipathd·þÎñ²¢ÉèÖÃÆä×Ô¶¯Æô¶¯

  1. #service multipathd restart 
  2. #chkconfig --level 345 multipathd on 
  3. #chkconfig --list | grep multipathd 

Ïê½âLinux Multipath¶à·¾¶ÅäÖÃ--¸ÅÄî¡¢ÅäÖᢳ£ÓÃά»¤ÃüÁîµÈ

5. ¼ì²émultipath¾ÛºÏºóµÄÉ豸Ãû£¬ÒÔ¼°É豸¶ÔÓ¦µÄÁ´Â·Çé¿ö

Õâ¸öÃüÁîºÜÖØÒª

  1. # multipath -ll 

Ïê½âLinux Multipath¶à·¾¶ÅäÖÃ--¸ÅÄî¡¢ÅäÖᢳ£ÓÃά»¤ÃüÁîµÈ

6. ¼ì²éÅäÖÃÊÇ·ñ³É¹¦

Èç¹ûÅäÖÃÕýÈ·µÄ»°¾Í»áÔÚ/dev/mapper/Ŀ¼Ï¶à³ömpath0¡¢mpath1(×Ô¶¯·ÖÅäµÄÃû³Æ)µÈÖ®ÀàÉ豸£¬²»¹ýÈç¹ûÔÚÅäÖõÄʱºòÆðÁ˱ðÃû£¬»áʹÓñðÃûÀ´´úÌæ×Ô¶¯·ÖÅäµÄÃû³Æ

  1. # ll /dev/mapper/ 

Ïê½âLinux Multipath¶à·¾¶ÅäÖÃ--¸ÅÄî¡¢ÅäÖᢳ£ÓÃά»¤ÃüÁîµÈ

ÓÃfdisk -lÃüÁî¿ÉÒÔ¿´µ½¶à·¾¶Èí¼þ´´½¨µÄ´ÅÅÌ

  1. # fdisk -l 

Ïê½âLinux Multipath¶à·¾¶ÅäÖÃ--¸ÅÄî¡¢ÅäÖᢳ£ÓÃά»¤ÃüÁîµÈ

ƪ·ùÓÐÏÞ£¬¹ØÓÚLinux¶à·¾¶ÅäÖ÷½ÃæµÄÄÚÈݾͽéÉܵ½ÕâÁË¡£

¡¾±à¼­ÍƼö¡¿

  1. ÈçºÎÕÆÎÕLinuxÓû§×é
  2. °²È«Ñо¿ÈËÔ±Ìرðϲ°®µÄ12¿îLinux·¢Ðаæ
  3. Linus ½« Linux µÄÈíÅÌÇý¶¯ floppy ±ê¼ÇΪ¡°¹ÂÁ¢¡±×´Ì¬
  4. LinuxϵͳΪʲôҪ³ÔµôÎҵġ°Äڴ桱£¿
  5. ÔÚLinuxÖв»Ê¹ÓÃuseraddÃüÁîÈçºÎ´´½¨Óû§Õ˺Å
¡¾ÔðÈα༭£ºÕÔÄþÄþ TEL£º£¨010£©68476606¡¿
µãÔÞ 0

£¨±à¼­£ºASPÕ¾³¤Íø£©

ÍøÓÑÆÀÂÛ
ÍƼöÎÄÕÂ
    ÈȵãÔĶÁ