I løbet af en uge har min Ubuntu-starttid gået fra 50sec ca. til 5min.

Jeg prøvede dmesg og følgende meddelelse vises flere gange i loggen. Hvordan løser jeg det?

[ 101.186141] ata1.00: exception Emask 0x0 SAct 0x70 SErr 0x0 action 0x0 [ 101.186148] ata1.00: irq_stat 0x40000008 [ 101.186153] ata1.00: failed command: READ FPDMA QUEUED [ 101.186167] ata1.00: cmd 60/08:20:f0:ab:18/00:00:64:00:00/40 tag 4 ncq 4096 in res 41/40:00:f0:ab:18/00:00:64:00:00/40 Emask 0x409 (media error) <F> [ 101.186168] ata1.00: status: { DRDY ERR } [ 101.186169] ata1.00: error: { UNC } res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [ 180.868343] ata1.00: status: { DRDY } [ 180.868344] ata1.00: failed command: READ FPDMA QUEUED [ 180.868346] ata1.00: cmd 60/f8:78:00:66:70/00:00:74:00:00/40 tag 15 ncq 126976 in res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) [180.868347] ata1.00: status: { DRDY } [80.868348] ata1.00: failed command: READ FPDMA QUEUED 180.868351] ata1.00: cmd 60/08:80:80:a8:98/00:00:64:00:00/40 tag 16 ncq 4096 in res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout) 

smartmontools output

smartctl 6.5 2016-01-24 r4214 [x86_64-linux-4.4.0-53-generic] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: Seagate Samsung SpinPoint M8 (AF) Device Model: ST1000LM024 HN-M101MBB Serial Number: S2Y9J9AD713451 LU WWN Device Id: 5 0004cf 20aa6a576 Firmware Version: 2AR20002 User Capacity: 1,000,204,886,016 bytes [1.00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Form Factor: 2.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 6 SATA Version is: SATA 2.6, 3.0 Gb/s Local Time is: Thu Dec 8 17:38:07 2016 IST 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: (13380) 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: ( 223) minutes. SCT capabilities: (0x003d) SCT Status supported. SCT Error Recovery Control 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 100 100 051 Pre-fail Always - 1260 2 Throughput_Performance 0x0027 252 252 000 Pre-fail Always - 0 3 Spin_Up_Time 0x0023 089 082 025 Pre-fail Always - 3454 4 Start_Stop_Count 0x0032 068 068 000 Old_age Always - 32547 5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x002f 252 252 051 Pre-fail Always - 0 8 Seek_Time_Performance 0x0025 252 252 015 Pre-fail Offline - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 6311 10 Spin_Retry_Count 0x0033 252 252 051 Pre-fail Always - 0 11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 328 12 Power_Cycle_Count 0x0032 098 098 000 Old_age Always - 3027 181 Program_Fail_Cnt_Total 0x0022 100 100 000 Old_age Always - 5811877 183 Runtime_Bad_Block 0x0032 252 252 010 Old_age Always - 0 184 End-to-End_Error 0x0033 252 252 048 Pre-fail Always - 0 186 Unknown_Attribute 0x0032 252 252 000 Old_age Always - 0 187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 728 188 Command_Timeout 0x0032 252 252 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0002 062 049 040 Old_age Always - 38 (Min/Max 19/51) 191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 209 192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0 193 Load_Cycle_Count 0x0032 088 088 000 Old_age Always - 124383 194 Temperature_Celsius 0x0002 062 049 000 Old_age Always - 38 (Min/Max 19/51) 195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0 196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 2 198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 9894 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Completed without error 00% 1209 - # 2 Short offline Aborted by host 90% 1209 - SMART Selective self-test log data structure revision number 0 Note: revision number not 1 implies that no selective self-test has ever been run SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Completed [00% left] (0-65535) 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. 

Svar

Det ser ud til, at drevet er ved at dø. Jeg vedder på, at det også giver mærkelige knasende lyde. (Det kommer fra hovedet, der bevæger sig gentagne gange, da drevet forsøger at genlæse data, kan det ikke læse uden ukorrekte fejl.)

Så snart du kan, skal du kopiere dine personlige filer fra det drev og udskifte køre. Det kan / vil mislykkes katastrofalt snart, og så fungerer det slet ikke.

Hvis drevet understøtter SMART, og du har installeret smartmontools, kan du køre sudo smartctl -a /dev/sda, og rapporter resultaterne her. Baseret på resultaterne kan du derefter køre en lang offline check (kan tage en time eller to afhængigt af diskstørrelsen) for at finde ud af nøjagtigt drevets tilstand, men min indsats, baseret efter min erfaring, er det ved at dø. Det eneste spørgsmål er, hvor hurtigt det vil mislykkes fuldstændigt.

Kommentarer

  • Jeg har tilføjet smartmontool-output som u nævnt.
  • Fejltilstanden er ikke noget, jeg ' har set før – Jeg ser normalt den rå værdi af attribut # 5 Reallocated_Sector_Ct stiger, når ydeevnen forringes – så jeg ' er meget forvirret. @InQusitive, kan du køre sudo smartctl -t offline /dev/sda, sudo smartctl -t short /dev/sda eller smartctl -t long /dev/sda – de er i stigende rækkefølge, du skal vente t imellem! – efterfulgt af smartctl -l selftest /dev/sda for at se selvteststatus (og smartctl -a /dev/sda efter offline-testen, da den samler offline statistik)?

Skriv et svar

Din e-mailadresse vil ikke blive publiceret. Krævede felter er markeret med *