Dúvida S.M.A.R.T. - Western Digital Elements

PsySc0rpi0n

Power Member
Boas.

Andei a ver no site da Western Digital para tentar perceber se os WD Elements têm suporte para S.M.A.R.T. e não consigo encontrar nada lá.

Alguém sabe se estes discos têm ou não esta feature?

O meu disco é um WD Elements 2TB (WDBU6Y0020BBK-0A).
 
Isso depende da controladora. Visto que os discos têm sempre..
Se correres software que lê o SMART dá erro?

Têm sempre? Não tenho assim tanta certeza.
Eu estou em Linux e a aplicação que uso para ler dados devolvidos pelo S.M.A.R.T. diz que não está disponível.

SMART todos têm.
Podes tentar usar o Data Lifeguard da WD para ver o estado do disco: https://support.wdc.com/downloads.aspx?lang=en

Isso não deve funcionar em Linux, pois não?
 
O problema é ser uma unidade USB. Nem todas passam a informação S.M.A.R.T. em modo standard. O mais certo é utilizarem algum protocolo proprietário só acessível com a utilidade do fabricante.
 
Boas

Num dos screenshots dele, tens a informação SMART.
>


 
Podes tentar o smartmontools

Já consegui com osmartmontools aka smarctl. No entanto, como acho que já foi dito, parece haver alguns problemas relativos à forma como drives externas ligadas por USB são vistas pelos OS's. Como há alguma incompatibilidade entre o que é necessário ser visto pelos OS's para que os comandos S.M.A.R.T. possam ser executados (interpretados e os resultados lidos e mostrados), e o que realmente o SO vê, existem limitações ao que pode ser reportado por estas drives ligadas por USB.

As for USB and FireWire (IEEE 1394) disks and tape drives, the news is not good. They appear to the operating system as SCSI devices but their implementations do not usually support those SCSI commands needed by smartmontools. A consortium associated with IEEE 1394 certified some external enclosures (containing a ATA disk and a protocol bridge) as being compliant to the relevant standards. Even still, that compliance means that they tend to only support the bare minimum of commands needed for device operation (i.e. SMART support is an unsupported extra). Hopefully external USB and Firewire devices will support SAT in the future, see below. Some USB device based on cypress chips support a proprietary protocol (ATACB) that allow to send raw ATA commands (i.e. SMART support).


Ainda cheguei a instalar esse mas depois fui pesuisar um pouco mais sobre o smartmontools e acabei por conseguir ao "forçar" o smartctl a usar a opção "-d sat".

Código:
sudo smartctl -d sat /dev/sdc -a

Código:
smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.19.0-0.bpo.5-amd64] (local build)                                            
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org                                                

=== START OF INFORMATION SECTION ===
Device Model:     WDC WD20SMZW-59YFCS1
Serial Number:    WD-WXS1A78LPS92
LU WWN Device Id: 5 0014ee 608ee12ee
Firmware Version: 01.01A01
User Capacity:    2,000,365,379,584 bytes [2,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Wed Jul 24 23:37:25 2019 WEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (13140) seconds.
Offline data collection
capabilities:                    (0x51) SMART execute Offline immediate.
                                        No Auto Offline data collection support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 230) minutes.
SCT capabilities:              (0x7035) SCT Status supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -       0
  3 Spin_Up_Time            0x0027   194   190   021    Pre-fail  Always       -       3275
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       591
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   093   093   000    Old_age   Always       -       5306
10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
11 Calibration_Retry_Count 0x0032   100   253   000    Old_age   Always       -       0
12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       55
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       31
193 Load_Cycle_Count        0x0032   183   183   000    Old_age   Always       -       51849
194 Temperature_Celsius     0x0022   108   092   000    Old_age   Always       -       39
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
200 Multi_Zone_Error_Rate   0x0008   100   253   000    Old_age   Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.


Edited;

Acabei de experimentar o hddsupertool seguindo os menus da imagem que postaste e já encontrei o S.M.A.R.T info menu:

Código:
sudo hddsupertool
[sudo] password for narayan:
hddsupertool 1.10-1.8 20170129
Finding devices

Q) Quit
R) Refresh drive list
1) /dev/sda (128035676160) SAMSUNG SSD 830 Series S0Z3NEAC808068
2) /dev/sdb (500107862016) WDC WD5000BPKT-24PK4T0 WD-WXL1E91VRXA8
3) /dev/sdc (2000365379584) WDC WD20SMZW-59YFCS1 WD-WXS1A78LPS92
4) /dev/sdd (0) sense-data 05 30 05
Choose which drive > 3

Main menu
q) Quit
h) Toggle script help
1) Device information
2) Read sectors
3) Write sectors
4) Erase sectors
5) Tools
6) Security
7) VSC
8) Image device
9) Custom
Enter your choice:
> 1
1

Device information menu
q) Quit
p) Previous menu
h) Toggle script help
1) Identify device
2) Smart info
Enter your choice:
> 2
2
Smart structure version= 16
ID#   FLAG  VALUE WORST THRESH   RAW DATA          ATTRIBUTE NAME
  1  0x002f  200   200    51   0x00000000000000   Read Error Rate
  3  0x0027  194   190    21   0x00000000000ccb   Spin-Up Time
  4  0x0032  100   100     0   0x0000000000024f   Start/Stop Count
  5  0x0033  200   200   140   0x00000000000000   Reallocated Sectors Count
  7  0x002e  200   200     0   0x00000000000000   Seek Error Rate
  9  0x0032   93    93     0   0x000000000014ba   Power-On Hours Count
10  0x0032  100   100     0   0x00000000000000   Spin Retry Count
11  0x0032  100   253     0   0x00000000000000   Calibration Retries
12  0x0032  100   100     0   0x00000000000037   Power Cycle Count
192  0x0032  200   200     0   0x0000000000001f   Power-Off Retract Cycles
193  0x0032  183   183     0   0x0000000000ca89   Load/Unload Cycles
194  0x0022  108    92     0   0x00000000000027   Temperature
196  0x0032  200   200     0   0x00000000000000   Reallocation Events
197  0x0032  200   200     0   0x00000000000000   Current Pending Sectors
198  0x0030  100   253     0   0x00000000000000   Off-line Uncorrectable
199  0x0032  200   200     0   0x00000000000000   UDMA CRC Error Rate
200  0x0008  100   253     0   0x00000000000000   Write Error Rate

Device information menu
q) Quit
p) Previous menu
h) Toggle script help
1) Identify device
2) Smart info
Enter your choice:
>
 
Última edição:
Back
Topo