[LUG-RT] Die Festplatte wars!

Hermann Mezger mezger.hermann at t-online.de
Sa Jan 14 21:52:07 CET 2023


Hallo, liebe Linux-User vom gestrigen Stammtisch im Nepomuk,

jetzt will ich mich doch sehr herzlich für Euren Rat bedanken!

Zur Vorgeschichte: Mein Acer-Travelmate ist seit 2012 in emsiger Benutzung, zuletzt etliche Jahre klaglos mit Ubuntu 16.04. Erst seit Ende 2021 (nämlich nach dem Wechsel auf Ubuntu 20.04) lief der Rechner von Anfang an ausgesprochen zäh. Zum Booten brauchte er ca. 3 min., und bei Thunderbird, LibreOffice oder Firefox blieben die Programme mindestens einmal am Tag hängen, so dass ich sie mit "xkill" erledigen musste. Ärgerlich wegen der angefangenen Arbeit, aber was willsch macha?

Beim Versuch, die Situation durch das schlankere Ubuntu-Mate 22.04 zu bessern, zeigte sich dass das zwar mit dem USB-Live-System wunderbar funktionierte. Aber die reguläre Installation wollte einfach nicht klappen, denn das Installationsprogramm stürzte immer bei der Partitions-Zuweisung regelmäßig ab. Keine Chance.

Auch alle Versuche, andere Versionen neu zu installieren (halt wieder das frühere Ubuntu 16.04, oder Lubuntu 20.04), scheiterten: Allerdings nur SCHEINBAR, denn nach einer ewiglangen Bootzeit von 40-60 min. (wenn ich nämlich nicht vorher frustriert ausgeschaltet hatte) wurde der Desktop dann doch noch aufgebaut.

Immer wieder habe ich versucht, mittels "dmesg" schlauer zu werden, wo ich dann auf jede Menge "I/O error" und andere Fehlermeldungen gestoßen bin, die ich mir nicht erklären konnte. Irgendjemand im Internet hatte geschrieben, dass das auf Hardwareprobleme bei der Festplatte hinweisen würde.

Das Nachschauen mittels "smartctl" brachte dann ein für mich zweifelhaftes Ergebnis, das ich als Computerlaie allerdings nicht zuverlässig deuten konnte. Ich werde es dieser Mail anhängen (und hoffe dass die Mailingliste Anhänge toleriert).

Auf Eure Empfehlung von gestern abend hin habe ich dann heute versuchsweise eine andere (HDD) Festplatte eingebaut, und siehe: Anders als in den letzten Tagen (mit immer 5-6 Std.) dauerte die Installation von Ubuntu 20.04 diesmal nur ein Viertelstündchen.

Daraufhin hab ich vorhin eine von Euch empfohlene SSD-Festplatte gekauft und eingebaut. Seitdem braucht Ubuntu 20.04 auf meinem 11 Jahre alten Acer-Travelmate nur etwa 40 sec. zum Booten, und alle Programme laufen fast "wie die Feuerwehr".

Zusammengefasst: Die Lahmheit des Rechners und meine Installationsprobleme lagen also nicht daran, dass ich (aus Altersgründen?) irgendwas falsch gemacht habe, oder dass der Rechner halt zu alt wäre, sondern nur daran dass die FESTPLATTE zu alt war. - Somit habe ich mir für die nächsten Jahre einen Rechnerkauf gespart. Ich schmeiß nämlich ungern was weg, was eigentlich noch tut.

Schöne Grüße Euch und nochmal danke für Euren Rat!

Hermann

Dr.med. Hermann Mezger
Paul-Pfizer-Straße 24
72762  Reutlingen
07212/240784
-------------- nächster Teil --------------
root at lubuntu:/home/lubuntu# sudo smartctl -a /dev/sda 
smartctl 7.1 2019-12-30 r5022 [x86_64-linux-5.11.0-27-generic] (local build)
Copyright (C) 2002-19, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Scorpio Blue Serial ATA (AF)
Device Model:     WDC WD5000BPVT-22HXZT3
Serial Number:    WD-WX71CB120016
LU WWN Device Id: 5 0014ee 6573e0c22
Firmware Version: 01.01A01
User Capacity:    500.107.862.016 bytes [500 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Fri Jan 13 16:08:32 2023 UTC
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:                (12060) seconds.
Offline data collection
capabilities:                    (0x7b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        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:        ( 120) minutes.
Conveyance self-test routine
recommended polling time:        (   5) 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   199   199   051    Pre-fail  Always       -       19949
  3 Spin_Up_Time            0x0027   174   173   021    Pre-fail  Always       -       2291
  4 Start_Stop_Count        0x0032   094   094   000    Old_age   Always       -       6807
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -       1
  7 Seek_Error_Rate         0x002e   200   200   000    Old_age   Always       -       0
  9 Power_On_Hours          0x0032   090   090   000    Old_age   Always       -       7476
 10 Spin_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -       0
 12 Power_Cycle_Count       0x0032   094   094   000    Old_age   Always       -       6568
191 G-Sense_Error_Rate      0x0032   001   001   000    Old_age   Always       -       1312
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -       420
193 Load_Cycle_Count        0x0032   104   104   000    Old_age   Always       -       290827
194 Temperature_Celsius     0x0022   109   097   000    Old_age   Always       -       38
196 Reallocated_Event_Count 0x0032   199   199   000    Old_age   Always       -       1
197 Current_Pending_Sector  0x0032   199   199   000    Old_age   Always       -       97
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
ATA Error Count: 119 (device log contains only the most recent five errors)
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 119 occurred at disk power-on lifetime: 7331 hours (305 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  01 51 08 d8 ff ff ef  Error: AMNF 8 sectors at LBA = 0x0fffffd8 = 268435416

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 d8 ff ff ef 08      00:50:02.149  READ DMA

Error 118 occurred at disk power-on lifetime: 7331 hours (305 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  01 51 08 c8 ff ff ef  Error: AMNF 8 sectors at LBA = 0x0fffffc8 = 268435400

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 c8 ff ff ef 08      00:49:57.819  READ DMA
  ec 00 00 00 00 00 a0 08      00:49:57.815  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 08      00:49:57.813  SET FEATURES [Set transfer mode]

Error 117 occurred at disk power-on lifetime: 7331 hours (305 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  01 51 28 c8 ff ff ef  Error: AMNF 40 sectors at LBA = 0x0fffffc8 = 268435400

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 28 c8 ff ff ef 08      00:49:53.525  READ DMA

Error 116 occurred at disk power-on lifetime: 7331 hours (305 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  01 51 08 b8 ff ff ef  Error: AMNF 8 sectors at LBA = 0x0fffffb8 = 268435384

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 b8 ff ff ef 08      00:49:49.221  READ DMA
  ec 00 00 00 00 00 a0 08      00:49:49.217  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 08      00:49:49.215  SET FEATURES [Set transfer mode]

Error 115 occurred at disk power-on lifetime: 7331 hours (305 days + 11 hours)
  When the command that caused the error occurred, the device was active or idle.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 10 b8 ff ff ef  Error: UNC 16 sectors at LBA = 0x0fffffb8 = 268435384

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 10 b8 ff ff ef 08      00:49:46.603  READ DMA
  ec 00 00 00 00 00 a0 08      00:49:46.600  IDENTIFY DEVICE
  ef 03 46 00 00 00 a0 08      00:49:46.598  SET FEATURES [Set transfer mode]

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Extended offline    Completed: read failure       90%      7300         125810832
# 2  Short offline       Completed without error       00%      5063         -

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.

root at lubuntu:/home/lubuntu# 


More information about the liste mailing list