LinuxϵͳÖÐÓöµ½µÄ³£¼û´ÅÅ̶Áд¹ýʧºÍIO¹ýʧ¼°Æä½â¾öÒªÁì
linuxϵͳÖÐÓöµ½µÄ³£¼û´ÅÅ̶Áд¹ýʧºÍio¹ýʧ¼°Æä½â¾öÒªÁì
ÔÚLinuxϵͳÖУ¬´ÅÅ̶Áд¹ýʧºÍIO¹ýʧÊdz£¼ûµÄÎÊÌâ¡£ÕâЩ¹ýʧ¿ÉÄܶÔϵͳÐÔÄÜÔì³ÉÑÏÖØÓ°Ï죬µ¼ÖÂÎļþɥʧ»òË𻵡£±¾ÎĽ«ÏÈÈÝһЩ³£¼ûµÄ´ÅÅ̶Áд¹ýʧºÍIO¹ýʧ£¬²¢Ìṩ½â¾öÒªÁì¡£
´ÅÅ̶Áд¹ýʧ
´ÅÅ̶Áд¹ýʧָµÄÊÇÔÚ´Ó´ÅÅ̶ÁÈ¡»òдÈëÊý¾Ýʱ±¬·¢¹ýʧ¡£Õâ¿ÉÄÜÊÇÓÉÓÚ´ÅÅÌÓ²¼þ¹ÊÕÏ¡¢ÎļþϵͳÎÊÌâ»ò²Ù×÷ϵͳÉèÖùýʧÒýÆðµÄ¡£
½â¾öÒªÁ죺
¼ì²é´ÅÅÌ¿µ½¡×´Ì¬£ºÊ¹Óù¤¾ßÈçsmartctlÀ´¼ì²é´ÅÅ̵Ŀµ½¡×´Ì¬¡£ÈôÊÇ·¢Ã÷´ÅÅ̱£´æÓ²¼þÎÊÌ⣬½¨ÒéʵʱÌæ»»´ÅÅÌ¡£
¼ì²éÎļþϵͳ£ºÔËÐÐfsckÏÂÁî¼ì²éÎļþϵͳµÄÒ»ÖÂÐÔ£¬²¢ÐÞ¸´Èκιýʧ¡£
¸üÐÂÇý¶¯³ÌÐò£ºÈ·±£ÄãÔÚʹÓÃ×îеÄÇý¶¯³ÌÐò¡£ÓÐʱ¾ÉµÄÇý¶¯³ÌÐò¿ÉÄܵ¼Ö´ÅÅ̶Áд¹ýʧ¡£
¼ì²éÅþÁ¬£ºÈ·±£´ÅÅÌÅþÁ¬Õý³££¬ÈçµçÔ´ÏߺÍÊý¾ÝÏßÊÇ·ñÀο¿ÅþÁ¬¡£
ÕûÀí´ÅÅ̿ռ䣺ȷ±£ÓÐ×ã¹»µÄ´ÅÅ̿ռ䣬²»È»¿ÉÄܻᵼÖ¶Áд¹ýʧ¡£
IO¹ýʧ
IO¹ýʧָµÄÊǵ±ÊµÑé¶ÁÈ¡»òдÈëÊý¾Ýʱ±¬·¢µÄÊäÈë/ÊäÍÉ»¯Îó¡£Õâ¿ÉÄÜÊÇÓÉÓÚ×°±¸Çý¶¯³ÌÐò¡¢Ó²¼þ¹ÊÕÏ»ò¹ýʧµÄ×°±¸ÉèÖÃÒýÆðµÄ¡£
½â¾öÒªÁ죺
¸üÐÂÇý¶¯³ÌÐò£ºÈ·±£ÄãʹÓÃ×îеÄ×°±¸Çý¶¯³ÌÐò¡£¾ÉµÄÇý¶¯³ÌÐò¿ÉÄܲ»¼æÈÝеIJÙ×÷ϵͳ»òÓ²¼þ£¬µ¼ÖÂIO¹ýʧ¡£
¼ì²é×°±¸×´Ì¬£ºÊ¹Óù¤¾ßÈçlsscsi»òlspciÀ´¼ì²é×°±¸µÄ״̬¡£ÈôÊÇ·¢Ã÷×°±¸¹ÊÕÏ£¬ÊµÊ±Ìæ»»×°±¸¡£
ÖØÐÂÉèÖÃ×°±¸£ºÈôÊÇ×°±¸ÉèÖÃÓÐÎÊÌ⣬ʵÑéÖØÐÂÉèÖÃ×°±¸¡£¿ÉÒÔͨ¹ý±à¼Ïà¹ØÉèÖÃÎļþÀ´¸ü¸Ä×°±¸²ÎÊý¡£
¼ì²éµçÔ´ÏߺÍÊý¾ÝÏߣºÈ·±£×°±¸µÄµçÔ´ÏߺÍÊý¾ÝÏßÊÇ·ñÅþÁ¬×¼È·¡£Ëɶ¯µÄÅþÁ¬¿ÉÄܵ¼ÖÂIO¹ýʧ¡£
¼ì²é×°±¸È¨ÏÞ£ºÈ·±£ÄãÓжÁÈ¡ºÍдÈë×°±¸µÄȨÏÞ¡£¿ÉÒÔʹÓÃchmodÏÂÁî¸ü¸Ä×°±¸µÄȨÏÞ¡£
ÖØÐÂ×°ÖÃ×°±¸Çý¶¯³ÌÐò£ºÈôÊÇ×°±¸Çý¶¯³ÌÐòË𻵻ò²»×¼È·×°Öã¬ÊµÑéÖØÐÂ×°ÖÃ×°±¸Çý¶¯³ÌÐò¡£
×ܽ᣺
´ÅÅ̶Áд¹ýʧºÍIO¹ýʧÔÚLinuxϵͳÖÐÊdz£¼ûµÄÎÊÌ⣬²¢¿ÉÄܶÔϵͳÐÔÄܺÍÊý¾ÝÍêÕûÐÔÔì³ÉÑÏÖØÓ°Ïì¡£½â¾öÕâЩÎÊÌâÐèÒª×Ðϸ¼ì²é´ÅÅ̺Í×°±¸×´Ì¬£¬¸üÐÂÇý¶¯³ÌÐò£¬¼ì²é×°±¸ÉèÖõȡ£Í¬Ê±£¬ÊµÊ±±¸·ÝÖ÷ÒªÊý¾Ý£¬ÒÔ±ÜÃâÊý¾Ýɥʧ¡£×îÖ÷ÒªµÄÊÇ£¬Òª¼á³ÖϵͳµÄÎȹ̺Ϳɿ¿ÐÔ£¬°´ÆÚ¼ì²é´ÅÅ̺Í×°±¸×´Ì¬£¬²¢ÊµÊ±½ÓÄɲ½·¥À´Ô¤·ÀÏ¢Õù¾ö´ÅÅ̶Áд¹ýʧºÍIO¹ýʧ¡£
ÒÔÉϾÍÊÇLinuxϵͳÖÐÓöµ½µÄ³£¼û´ÅÅ̶Áд¹ýʧºÍIO¹ýʧ¼°Æä½â¾öÒªÁìµÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡