Имя пользователя:
Пароль:  
Помощь | Регистрация | Забыли пароль?  

Показать сообщение отдельно

Забанен


Сообщения: 6158
Благодарности: 1300

Профиль | Цитировать


Tau_0, я никогда не пробовал smartmontools под Windows, так что мало чем могу помочь. Но попробую.

smartctl работает с диском напрямую посредством специфичных системных вызовов, которым нужны повышенные права и понимание со стороны контроллера.
Что может быть:
- Не хватает прав (непривилегированный пользователь, встревает UAC, встревает антивирус). Решение - дать права (Run as administrator, отключить/настроить UAC и антивирус) ;
- В драйвере/биосе контроллера отключена поддержка SMART. Решение - включить оную.
- Драйвер контроллера не поддерживает упомянутые системные вызовы. Решение - сменить драйвер на подходящий. Если он есть...

Вдогонку выдержка из smartmontools FAQ:
Цитата:
On Windows, smartctl prints the message: "...Log Read failed: Function not implemented". What is going wrong?


This means that the device driver does not support the command SMART READ LOG. The message does not indicate a hard disk problem! It does also not mean that the disk itself does not support SMART logs. It may still be possible to read the logs with a Linux version of smartmontools run from some bootable CD.

To access ATA SMART functionality on Windows, smartmontools uses the I/O control calls SMART_RCV_DRIVE_DATA and SMART_SEND_DRIVE_CMD. These calls were available since Win95 OSR2. An example program from Microsoft can be found here (the related KB article 208048 is no longer available).

Starting with NT4, these calls do more restrictive parameter checks. In particular, the command codes for SMART READ LOG and ABORT SELF-TEST are not accepted. To perform these functions, smartmontools uses the undocumented functions SCSIOP_ATA_PASSTHROUGH (NT4) or IOCTL_IDE_PASS_THROUGH (2000/XP) instead. An example program using these calls can be found here, a related newsgroup thread is here.

Unfortunately, these undocumented functions are not implemented in most vendor specific ATA device drivers. Smartctl prints a "Function not implemented" message in this case.

A new I/O control call IOCTL_ATA_PASS_THROUGH is available since Win2003 and XP SP2. It should be supported by most new drivers. Experimental code using this call was added 2006-04-27 and is included in smartmontools release 5.37.

Отправлено: 16:50, 25-10-2010 | #56