PC¤ËÀܳ¤µ¤ì¤ëATAPI¥Ï¡¼¥É¥Ç¥£¥¹¥¯¤Ê¤É¤Îµ­²±¥Ç¥Ð¥¤¥¹¤Ë¤Ï¡ÈSelf-Monitoring, Analysis and Reporting Technology¡É¡ÊS.M.A.R.T.¡Ë¤È¸Æ¤Ð¤ì¤ëµ¡Ç½¤¬ÅëºÜ¤µ¤ì¤Æ¤¤¤ë¡£¤³¤ì¤Ï¡¢¼«¸Ê¿ÇÃǤʤɤò¹Ô¤¦µ¡Ç½¡£¤³¤³¤«¤é¸½ºß¤Î³°Éôµ­²±¥Ç¥Ð¥¤¥¹¤Î¾õÂ֤ʤɤòÄ´¤Ù¤ë¥Ç¡¼¥¿¤ò½ÐÎϤµ¤»¤ë¤³¤È¤¬¤Ç¤­¤ë¡£

¤¿¤À¡¢»ÅÍͤòÊ£¿ô¤ÎÃÄÂΤǷè¤á¤¿¤³¤È¡¢¤½¤ì¤¾¤ì¤¬¥Ù¥ó¥À¡¼¤Î´ó¤ê¹ç¤¤¤Ê¤Î¤Ç¡¢¥Ù¥ó¥À¡¼¸ÇÍ­ÄêµÁ¤â¿¤¤¤È¤¤¤¦¾õÂÖ¡£·ë¶É¡¢¶¦Ä̤ʤΤϡ¢¼«¸Ê¿ÇÃǤηë²Ì¡¢´í¸±¤Ê¾õÂ֤ˤ¢¤ë¤«¤É¤¦¤«¤ÎȽÄꤰ¤é¤¤¤Ç¡¢¤¢¤Á¤³¤Á¤Î¥Ù¥ó¥À¡¼¤Î¾ðÊó¤ò½¸¤á¤Ê¤¤¤È´Êñ¤Ë¤Ï¡¢²ò¼á¤Ç¤­¤Ê¤¤¾õÂÖ¤À¡£

¤Þ¤¿¡¢Google¤Ê¤É¤ÎÏÀʸ¤Ë¤è¤ì¤Ð¡¢S.M.A.R.T.¤Ç¤Ï¡¢É¬¤º¤·¤â³°Éôµ­²±ÁõÃ֤μ÷Ì¿¤òͽ¸À¤Ç¤­¤ë¤È¤Ï¸Â¤é¤º¡¢¾õÂ֤ΰ­²½¤ò¹ð¤²¤ë¤Þ¤Ç¤â¤Ê¤¯¤ªË´¤¯¤Ê¤ê¤Ë¤Ê¤ë¥Ç¥Ð¥¤¥¹¤â¾¯¤Ê¤¯¤Ê¤¤¤È¤¤¤¦¡£¤È¤Ï¤¤¤¨¡¢S.M.A.R.T.¤«¤é¤Ï¡¢¤¤¤í¤¤¤í¤È¾ðÊó¤ò¼è¤ë¤³¤È¤¬¤Ç¤­¤ë¡£¤¿¤È¤¨¤Ð¡¢¥Ç¥Ð¥¤¥¹¤ÎÆÃÀ­¤Ê¤É¤â¤³¤ÎS.M.A.R.T.¤«¤é¼èÆÀ¤Ç¤­¤ë¡£

¥Ç¥Ð¥¤¥¹¤«¤éľÀÜS.M.A.R.T.¾ðÊó¤ò¼è¤ë¤Î¤Ï¤«¤Ê¤êÌÌÅݤǡ¢¥É¥é¥¤¥Ð¤ËIOCTL¤òÁ÷¤ë¥×¥í¥°¥é¥à¤ò½ñ¤«¤Í¤Ð¤Ê¤é¤Ê¤¤¡£¥³¥ó¥È¥í¡¼¥é¡¼¤Ë¤è¤ê¼èÆÀÊýË¡¤â°Û¤Ê¤ì¤Ð¡¢½Ð¤Æ¤¯¤ë¾ðÊó¤Î·Á¼°¤âƱ¤¸¤Ç¤Ï¤Ê¤¤¡£¤³¤¦¤·¤¿¾ì¹ç¡¢Windows¤¬´ÉÍý¤·¤Æ¤¤¤ë¾ðÊó¤Ç¤¢¤ì¤Ð¡¢WMI¡ÊWindows Management Instrumentation¡Ë·Ðͳ¤Ç¼èÆÀ¤¬¤Ç¤­¤ë¤³¤È¤¬Â¿¤¤¡£

¤Þ¤º¤Ï¡¢ATAPI·Ï¤Î¥Ç¥Ð¥¤¥¹¤«¤é°ìÈÌŪ¤ËS.M.A.R.T.¾ðÊó¤È¸Æ¤Ð¤ì¤Æ¤¤¤ë¤â¤Î¤ò¼èÆÀ¤·¤Æ¤ß¤ë¡£¤½¤ì¤Ë¤Ï¡¢¤Þ¤º¡¢°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ç¡¢Àܳ¤µ¤ì¤Æ¤¤¤ëATAPI¥Ç¥Ð¥¤¥¹¤òÎóµó¤µ¤»¤ë¡Ê¼Ì¿¿01¡Ë¡£¼Â¹Ô¤Ë¤Ï´ÉÍý¼Ô¸¢¸Â¤¬É¬Íסʥ­¥ã¥Ã¥·¥å¤¬»Ä¤Ã¤Æ¤¤¤ë´Ö¤Ï°ìÈ̥桼¥¶¡¼¤Ç¤âɽ¼¨¤Ç¤­¤ë¡Ë¡£

Get-CimInstance -namespace root\wmi -class MSStorageDriver_FailurePredictData

¼Ì¿¿01: ¥³¥Þ¥ó¥É¤«¤éATAPI¥É¥é¥¤¥Ö¤ÎS.M.A.R.T.¾ðÊó¤òÆɤ߽Ф·¤Æ¤ß¤ë¡£Ê£¿ô¤Î¥Ç¥Ð¥¤¥¹¤¬É½¼¨¤µ¤ì¤ë¤È¤­¤Ë¤Ï¡¢InstanceName¥×¥í¥Ñ¥Æ¥£¤ò¼ê³Ý¤«¤ê¤Ë¤·¤ÆWhere¥³¥Þ¥ó¥É¤ÇÁªÂò¤¹¤ë

¡ÈGet-CimInstance¡É¤Ï¡¢PowerShell¤«¤éWMI¤ò»È¤¦¤¿¤á¤Î¥³¥Þ¥ó¥É¡£WMI¤Ç¤Ï¡¢ËÄÂç¤Ê¾ðÊó¤ò°·¤¦¤¿¤á¡¢¡Ö̾Á°¶õ´Ö¡×¡Ênamespace¡Ë¤¬»È¤ï¤ì¤ë¡£´Êñ¤Ë¤¤¤¦¤Ènamespace¤´¤È¤Ë¿¿ô¤Î¥¯¥é¥¹¤¬ÄêµÁ¤µ¤ì¡¢³Æ¥¯¥é¥¹¤Ë¿¿ô¤Î¥×¥í¥Ñ¥Æ¥£¤¬¤¢¤ë¡£¤³¤Î̾Á°¶õ´Ö¤È¥¯¥é¥¹Ì¾¤òÀµ¤·¤¯»ØÄꤷ¤Ê¤¤¤È¡¢´õ˾¤Î¾ðÊó¤¬ÆÀ¤é¤ì¤Ê¤¤¡£Á°µ­¤Î¥³¥Þ¥ó¥É¤Ï¡¢¡Öroot\wmi¡×¤È¤¤¤¦Ì¾Á°¶õ´Ö¤Ç¡¢ÄêµÁ¤µ¤ì¤Æ¤¤¤ë¡ÖMSStorageDriver_FailurePredictData¡×¥¯¥é¥¹¤ò¥¢¥¯¥»¥¹¤¹¤ë¤â¤Î¡£

¤³¤³¤Ë¤¢¤ë¡ÖVendorSpecific¡×¥×¥í¥Ñ¥Æ¥£¤ÎÃæ¤Ë¼«¸Ê¿ÇÃǾðÊ󤬤¢¤ë¡£¾ðÊó¤òɽ¼¨¤¹¤ë¤Ê¤é¡¢¥Ç¥Ð¥¤¥¹¤òÆÃÄꤷ¤Æ¡¢¡ÈVendorSpecific¡É¥×¥í¥Ñ¥Æ¥£¤òÆɤ߽Ф¹¡£

(Get-CimInstance -namespace root\wmi -class MSStorageDriver_FailurePredictData | Where -Property InstanceName -like '*HGST*' | select -ExpandProperty VendorSpecific | ForEach { ([Int]$_).ToString("X2") } ) -join " "

¤È¤¹¤ë¡£ºÇ½é¤ÎÉôʬ¤ÏÁ°²ó¤Î¥³¥Þ¥ó¥É¤ÈƱ¤¸¡£¤½¤Î¸å¡¢Where¥³¥Þ¥ó¥É¤Ç¡ÈInstanceName¡É¥×¥í¥Ñ¥Æ¥£¤Ë¡ÈHGST¡É¤¬´Þ¤Þ¤ì¤ë¥ª¥Ö¥¸¥§¥¯¥È¤Î¤ß¤ò¼è¤ê½Ð¤·¡¢select¥³¥Þ¥ó¥É¤Ç¡ÈVendorSpecific¡É¥×¥í¥Ñ¥Æ¥£¤òŸ³«¤·¡¢½Ð¤Æ¤¯¤ë¥Ð¥¤¥ÈÇÛÎó¤ò16¿Ê¿ô¤ËÊÑ´¹¤·¤Æ¥¹¥Ú¡¼¥¹¤Ç¤Ä¤Ê¤¤¤Ç½Ð¤·¤Æ¤¤¤ë¡£

ATAPI¥Ç¥Ð¥¤¥¹¤Î¾ì¹ç¡¢ÀèƬ¤Î2¥Ð¥¤¥È¡Ê01 00¡Ë¤Î¸å¤í¤Ï¡¢12¥Ð¥¤¥È¤´¤È¤Î¥Ç¡¼¥¿¤Ë¶èÀÚ¤é¤ì¡¢ÀèƬ¤Î1¥Ð¥¤¥È¤¬¿ÇÃǹàÌÜ¡ÊID¡Ë¤òɽ¤¹¡£¤¿¤È¤¨¤Ð¡¢0x01¤Ï¡ÖRaw Read Error Rate¡×¡¢0xC2¤Ï¡ÖTemperature/Temperature Celsius¡×¤Ç¤¢¤ë¡£¤¿¤À¤·¡¢¥Ç¥£¥¹¥¯¤Ë¤è¤Ã¤Æ¿ÇÃǹàÌܤò»ý¤Ã¤Æ¤¤¤Ê¤¤¡¢¥Ù¥ó¥À¡¼¤´¤È¤Ë°ÕÌ£¤Î°ã¤¤¤¬¤¢¤ê¡¢¤½¤Î²ò¼á¤Ï´Êñ¤Ç¤Ï¤Ê¤¤¡£¤³¤Î¥³¥Þ¥ó¥É¤Ç¤Ï¼èÆÀ¤Ç¤­¤Ê¤¤¤¬¡¢NVMe¤Î¾ì¹ç¤Ë¤Ï¡¢ÀèƬ¤«¤é¤Î¥ª¥Õ¥»¥Ã¥È¤Ç¾ðÊóÆâÍƤ¬·è¤Þ¤ë¡£

º£²ó¤Î¥¿¥¤¥È¥ë¥Í¥¿¤Ï¡¢¹ñÆâ¤Ç¤âÊüÁ÷¤µ¤ì¤¿1965ǯ¤ÎÊƹñ¥Æ¥ì¥Ó¥É¥é¥Þ¡Ö¤½¤ì¹Ô¤±¥¹¥Þ¡¼¥È¡×¤À¡£¤È¤¤¤¦¤Î¤â¸¶Â꤬¡ÈGet Smart¡É¤Ê¤Î¤Ç¤¢¤ë¡£¼ç¿Í¸ø¤Î¥Þ¥¯¥¹¥¦¥§¥ë¡¦¥¹¥Þ¡¼¥È¤ÏÊƹñ¤Î¥¹¥Ñ¥¤ÁÈ¿¥CONTROL¤Î¥¨¡¼¥¸¥§¥ó¥È¡Ø86¡Ù¹æ¤Ç¤¢¤ë¡£¥Ñ¥½¥³¥ó´ØÏ¢¤Ç¤Ï¡¢86¤È¤¤¤¨¤Ð¡¢x86¤Î¤³¤È¤À¤¬¡¢ºÇ½é¤Î16 bit CPU¤Î·¿ÈÖ¤¬8086¡Ê1978ǯ¡Ë¤Ë¤Ê¤Ã¤¿¤Î¤Ï¡¢¤½¤ÎÁ°¤ÎCPU¤¬8085¤À¤Ã¤¿¤«¤é¤È¤¤¤¦¤Î¤¬Íýͳ¡£

¤½¤Î¸å¡¢8087¡ÊNDP¡Ë¡¢8088¡ÊCPU¡Ë¡¢8089¡ÊIOP¡Ë¤È³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤­¡¢°Ê¸å¤ÎCPU¤Ï¡¢80186¡¢80286¤ÈCPU¤ÎËöÈø¤¬¤º¤Ã¤È86¤Ç¤¢¤Ã¤¿¤¿¤á¡¢x86¤È¸Æ¤Ð¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¡£¡ÈGet Smart¡É¤Î¼ç¿Í¸ø¤Ë¡¢¤³¤ÎÈֹ椬ÉÕ¤±¤é¤ì¤¿¤Î¤ÏÊƹñ¤Î¥«¥¸¥Î¤Ê¤É¤Ç»È¤ï¤ì¤Æ¤¤¤¿¡ÖµÒ¤òÄɤ¤½Ð¤¹¡×¤È¤¤¤¦°ÕÌ£¤Î±£¸ì¤À¤Ã¤¿¤«¤é¤À¤È¤¤¤¦¡£½çÈ֤ȤϤ¤¤¨ÊѤÊÈֹ桢Áª¤ó¤¸¤ã¤Ã¤¿¤Í¤§¡£