Windows StorPort girando unidades off-line a cada 65 minutos

1

Eu tenho um mini-servidor executando o Windows 10 com 1 SSD e 3 discos rígidos. Eu pretendo usar apenas 2 unidades, então eu quero que elas fiquem fechadas. Eu até os coloquei offline dentro do Disk Management. Mas as unidades off-line continuavam girando e girando.

Mas eu o rastreei até o Microsoft-Windows-Storage-Storport, escrevendo o seguinte no log de eventos:

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.041
Record ID         : 14052
Event ID          : 505
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : Performance summary for Storport Device (Port = 1, Path = 0, Target = 0, Lun = 0) whose Corresponding Class Disk Device Guid is {069B6C41-FA99-DA5F-4FC2-6BA20AFF7E67}:                 
For latency buckets of 2ms, 64ms, 2048ms, 5120ms, 5120+ms, the IO counts are 0, 0, 0, 0, 0.
Opcode            : 
Task              : Port (201)
Keywords          : Read request
Process ID        : 
Thread ID         : 
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.041
Record ID         : 14053
Event ID          : 504
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : Error summary for Storport Device (Port = 1, Path = 0, Target = 0, Lun = 0) whose Corresponding Class Disk Device Guid is {069B6C41-FA99-DA5F-4FC2-6BA20AFF7E67}:                     
There were 1 total errors seen and 0 timeouts.                     
The last error seen had opcode 0x85 and completed with SrbStatus 0x1 and ScsiStatus 0x0.                     
The sense code was (0x0,0x0,0x0).                     
The latency was 0 ms.
Opcode            : 
Task              : Port (201)
Keywords          : Read request
Process ID        : 
Thread ID         : 
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.041
Record ID         : 14054
Event ID          : 505
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : Performance summary for Storport Device (Port = 1, Path = 1, Target = 0, Lun = 0) whose Corresponding Class Disk Device Guid is {E0198DC6-C3AD-2038-E67A-CC5C128C7924}:                 
For latency buckets of 2ms, 64ms, 2048ms, 5120ms, 5120+ms, the IO counts are 25355, 2037, 21, 0, 0.
Opcode            : 
Task              : Port (201)
Keywords          : Read request
Process ID        : 
Thread ID         : 
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.041
Record ID         : 14055
Event ID          : 504
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : Error summary for Storport Device (Port = 1, Path = 1, Target = 0, Lun = 0) whose Corresponding Class Disk Device Guid is {E0198DC6-C3AD-2038-E67A-CC5C128C7924}:                     
There were 6 total errors seen and 0 timeouts.                     
The last error seen had opcode 0x85 and completed with SrbStatus 0x1 and ScsiStatus 0x0.                     
The sense code was (0x0,0x0,0x0).                     
The latency was 0 ms.
Opcode            : 
Task              : Port (201)
Keywords          : Read request
Process ID        : 
Thread ID         : 
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.041
Record ID         : 14056
Event ID          : 505
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : Performance summary for Storport Device (Port = 0, Path = 0, Target = 0, Lun = 0) whose Corresponding Class Disk Device Guid is {3F18DCBD-5785-73C0-C528-91E4E8B4C95A}:                 
For latency buckets of 2ms, 64ms, 2048ms, 5120ms, 5120+ms, the IO counts are 56872, 105, 0, 0, 0.
Opcode            : 
Task              : Port (201)
Keywords          : Read request
Process ID        : 
Thread ID         : 
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.041
Record ID         : 14057
Event ID          : 504
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : Error summary for Storport Device (Port = 0, Path = 0, Target = 0, Lun = 0) whose Corresponding Class Disk Device Guid is {3F18DCBD-5785-73C0-C528-91E4E8B4C95A}:                     
There were 8 total errors seen and 0 timeouts.                     
The last error seen had opcode 0x85 and completed with SrbStatus 0x1 and ScsiStatus 0x0.                     
The sense code was (0x0,0x0,0x0).                     
The latency was 0 ms.
Opcode            : 
Task              : Port (201)
Keywords          : Read request
Process ID        : 
Thread ID         : 
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.041
Record ID         : 14058
Event ID          : 505
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : Performance summary for Storport Device (Port = 0, Path = 1, Target = 0, Lun = 0) whose Corresponding Class Disk Device Guid is {E38A0FC1-389B-3ADA-FED0-2978A2A6C019}:                 
For latency buckets of 2ms, 64ms, 2048ms, 5120ms, 5120+ms, the IO counts are 0, 0, 0, 0, 0.
Opcode            : 
Task              : Port (201)
Keywords          : Read request
Process ID        : 
Thread ID         : 
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.041
Record ID         : 14059
Event ID          : 504
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : Error summary for Storport Device (Port = 0, Path = 1, Target = 0, Lun = 0) whose Corresponding Class Disk Device Guid is {E38A0FC1-389B-3ADA-FED0-2978A2A6C019}:                     
There were 1 total errors seen and 0 timeouts.                     
The last error seen had opcode 0x85 and completed with SrbStatus 0x1 and ScsiStatus 0x0.                     
The sense code was (0x0,0x0,0x0).                     
The latency was 0 ms.
Opcode            : 
Task              : Port (201)
Keywords          : Read request
Process ID        : 
Thread ID         : 
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.065
Record ID         : 14060
Event ID          : 510
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : SMART statistics for Storport Device (Port = 0, Path = 0x0, Target = 0x0, Lun = 0x0).                    
Corresponding Class Disk Device Guid is {3F18DCBD-5785-73C0-C528-91E4E8B4C95A}.
Opcode            : 
Task              : Port (201)
Keywords          : Device state
Process ID        : 4
Thread ID         : 5428
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.079
Record ID         : 14061
Event ID          : 511
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : ATA Device Statistics Logs for Storport Device (Port = 0, Path = 0x0, Target = 0x0, Lun = 0x0).                    
Corresponding Class Disk Device Guid is {3F18DCBD-5785-73C0-C528-91E4E8B4C95A}.
Opcode            : 
Task              : Port (201)
Keywords          : Device state
Process ID        : 4
Thread ID         : 5428
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.119
Record ID         : 14062
Event ID          : 510
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : SMART statistics for Storport Device (Port = 1, Path = 0x1, Target = 0x0, Lun = 0x0).                    
Corresponding Class Disk Device Guid is {E0198DC6-C3AD-2038-E67A-CC5C128C7924}.
Opcode            : 
Task              : Port (201)
Keywords          : Device state
Process ID        : 4
Thread ID         : 3368
==================================================

==================================================
Event Time        : 09-Jul-17 4:36:37 PM.449
Record ID         : 14063
Event ID          : 511
Level             : Information
Channel           : Microsoft-Windows-Storage-Storport/Operational
Provider          : Microsoft-Windows-StorPort
Description       : ATA Device Statistics Logs for Storport Device (Port = 1, Path = 0x1, Target = 0x0, Lun = 0x0).                    
Corresponding Class Disk Device Guid is {E0198DC6-C3AD-2038-E67A-CC5C128C7924}.
Opcode            : 
Task              : Port (201)
Keywords          : Device state
Process ID        : 4
Thread ID         : 3368
==================================================

Esses conjuntos de eventos acontecem a cada 65 minutos nos registros e os discos rígidos são acionados sempre que acontecem. Suspeito que o driver esteja consultando os dados SMART e algumas unidades aceleram quando os dados SMART são solicitados.

Se existe alguma maneira de impedir que isso aconteça? Talvez alguma ideia do que eu deveria tentar?

A placa-mãe é a Asrock J3160DC-ITX. O problema ocorre, não importa se minhas unidades estão conectadas às 2 portas SATA 'normais' ou às 2 portas do controlador ASMedia ASM1061c.

EDIT: Fazer mais rastreamento me aponta para storport.sys! StorpDeviceHealthWorkItemRoutine Parece ser o método de trabalho que está despertando meus discos.

    
por Twinsen 09.07.2017 / 18:18

1 resposta

2

Para corrigir isso, você precisa adicionar as seguintes chaves e valores ao Registro do Windows:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorPort]
"TelemetryPerformanceEnabled"=dword:00000000
"TelemetryErrorDataEnabled"=dword:00000000
"TelemetryDeviceHealthEnabled"=dword:00000000

Depois de adicioná-los, meus discos pararam de girar.

Encontrei estes descompilando o driver storport.sys. Eles só parecem ser usados para o log de eventos, portanto, desabilitá-los não deve causar problemas. O registro de integridade e desempenho foi definido para ser executado a cada 60 minutos + 5 minutos de atraso aceitável, explicando por que os drives acordavam exatamente a cada 65 minutos.

    
por 16.07.2017 / 12:11