Hallo zusammen,
ich habe ein Problem mit einer meiner Festplatten in meinem NAS. Ich habe die Festplatte erst vor ca 1 Monat bei Mindfactory gekauft. Auf der Festplatte selber steht als Produktionsdatum "May 2018" vermerkt.
Heute konnte ich auf meine Samba-Freigaben nicht mehr zugreifen. Ich habe dann das NAS neugestartet und konnte nicht mehr drauf zugreifen... also erstmal Monitor und Tastatur angestöpselt und geguckt was los ist. Ubuntu hat in einen Rescue-Mode gebootet wo wohl SSH nicht mehr funktioniert. Ich bin Linux-Anfänger, wusste nicht was ich tun soll und habe dann erstmal smartmontools installiert, die Datenbank aktualisiert und SMART auf der Festplatte enabled. Danach wurde die Festplatte auch als "in der Datenbank vorhanden" angezeigt.
Hier die Ausgabe von smartctl:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 | root@flowzow-nas:~# smartctl -a /dev/sda smartctl 6.6 2016-05-31 r4324 [x86_64-linux-4.15.0-36-generic] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Family: HGST Deskstar NAS Device Model: HGST HDN726040ALE614 Serial Number: K3H23WLL LU WWN Device Id: 5 000cca 25ccf0ed9 Firmware Version: APGNW7JH User Capacity: 4.000.787.030.016 bytes [4,00 TB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 7200 rpm Form Factor: 3.5 inches Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2, ATA8-ACS T13/1699-D revision 4 SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Wed Oct 31 19:27:55 2018 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: (0x80) Offline data collection activity was never started. Auto Offline Data Collection: Enabled. 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: ( 113) seconds. Offline data collection capabilities: (0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. 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: ( 571) 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 0x000b 100 100 016 Pre-fail Always - 0 2 Throughput_Performance 0x0005 136 136 054 Pre-fail Offline - 108 3 Spin_Up_Time 0x0007 100 100 024 Pre-fail Always - 0 4 Start_Stop_Count 0x0012 100 100 000 Old_age Always - 32 5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0 7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail Always - 0 8 Seek_Time_Performance 0x0005 128 128 020 Pre-fail Offline - 18 9 Power_On_Hours 0x0012 100 100 000 Old_age Always - 679 10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 31 192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 59 193 Load_Cycle_Count 0x0012 100 100 000 Old_age Always - 59 194 Temperature_Celsius 0x0002 162 162 000 Old_age Always - 37 (Min/Max 21/43) 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0 197 Current_Pending_Sector 0x0022 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0008 100 100 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age Always - 16 SMART Error Log Version: 1 ATA Error Count: 16 (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 16 occurred at disk power-on lifetime: 679 hours (28 days + 7 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 -- -- -- -- -- -- -- 84 43 00 00 00 00 00 Error: ICRC, ABRT at LBA = 0x00000000 = 0 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 61 10 20 00 09 81 40 08 00:01:08.854 WRITE FPDMA QUEUED 61 08 18 00 0e 84 40 08 00:01:08.853 WRITE FPDMA QUEUED 61 28 00 e8 0b 84 40 08 00:01:08.853 WRITE FPDMA QUEUED 61 10 10 58 0b 84 40 08 00:01:08.853 WRITE FPDMA QUEUED 61 08 08 a8 0a 84 40 08 00:01:08.853 WRITE FPDMA QUEUED Error 15 occurred at disk power-on lifetime: 679 hours (28 days + 7 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 -- -- -- -- -- -- -- 84 43 00 00 00 00 00 Error: ICRC, ABRT at LBA = 0x00000000 = 0 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 61 88 00 40 09 81 40 08 00:01:08.135 WRITE FPDMA QUEUED 61 08 f0 90 0a 84 40 08 00:01:08.134 WRITE FPDMA QUEUED 61 08 e8 f0 09 84 40 08 00:01:08.134 WRITE FPDMA QUEUED 61 10 e0 40 09 84 40 08 00:01:08.133 WRITE FPDMA QUEUED 61 08 d8 30 09 81 40 08 00:01:08.133 WRITE FPDMA QUEUED Error 14 occurred at disk power-on lifetime: 679 hours (28 days + 7 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 -- -- -- -- -- -- -- 84 43 00 00 00 00 00 Error: ICRC, ABRT at LBA = 0x00000000 = 0 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 61 18 f0 10 08 c0 40 08 00:01:07.435 WRITE FPDMA QUEUED 61 88 d8 40 09 81 40 08 00:01:07.435 WRITE FPDMA QUEUED 61 08 d0 00 09 01 40 08 00:01:07.434 WRITE FPDMA QUEUED 61 08 c8 00 09 80 40 08 00:01:07.434 WRITE FPDMA QUEUED 61 08 c0 10 08 00 40 08 00:01:07.434 WRITE FPDMA QUEUED Error 13 occurred at disk power-on lifetime: 679 hours (28 days + 7 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 -- -- -- -- -- -- -- 84 43 00 00 00 00 00 Error: ICRC, ABRT at LBA = 0x00000000 = 0 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 61 18 d8 10 08 c0 40 08 00:01:06.716 WRITE FPDMA QUEUED 61 08 d0 30 09 81 40 08 00:01:06.716 WRITE FPDMA QUEUED 61 10 c8 00 09 81 40 08 00:01:06.716 WRITE FPDMA QUEUED 61 90 c0 00 09 80 40 08 00:01:06.715 WRITE FPDMA QUEUED 61 08 b8 80 08 80 40 08 00:01:06.715 WRITE FPDMA QUEUED Error 12 occurred at disk power-on lifetime: 679 hours (28 days + 7 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 -- -- -- -- -- -- -- 84 43 00 00 00 00 00 Error: ICRC, ABRT at LBA = 0x00000000 = 0 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 61 88 98 40 09 81 40 08 00:01:07.365 WRITE FPDMA QUEUED 61 08 f0 08 09 81 40 08 00:01:07.361 WRITE FPDMA QUEUED 61 40 e8 50 09 81 40 08 00:01:07.361 WRITE FPDMA QUEUED 61 40 e0 90 0e 81 40 08 00:01:07.361 WRITE FPDMA QUEUED 61 68 d8 d0 13 81 40 08 00:01:07.361 WRITE FPDMA QUEUED 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. |
Irgendwie sieht das für mich nicht gut aus, Old_age und Pre-fail einer Festplatte die seit 28 Tagen und 6 Stunden läuft? Ich habe dann das NAS nochmal neugestartet und danach war sie zumindest wieder gemountet und ich konnte auf meine Daten zugreifen. Hier meine Partitionen:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | root@flowzow-nas:~# lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL NAME FSTYPE SIZE MOUNTPOINT LABEL loop0 squashfs 87,9M /snap/core/5662 loop1 squashfs 87,9M /snap/core/5548 loop2 squashfs 97,5M /snap/docker/321 loop3 squashfs 87,9M /snap/core/5742 loop4 squashfs 41,6M /snap/docker/179 sda LVM2_member 3,7T └─vg0-lv--0 ext4 3,7T /mnt/storage0 sdb 55,9G ├─sdb1 1M └─sdb2 ext4 55,9G / sdc LVM2_member 1,8T └─vg1-lv--0 ext4 1,8T /mnt/storage1 |
Nunja, erstmal das wichtigste: Wie kann ich am einfachsten ein Backup der kompletten Platte machen um später die Daten ganz einfach wiederherzustellen?
Und wie bekomme ich die Festplatte wieder ohne Fehler zum laufen? Was genau stimmt hier eigentlich nicht? ☺
Lieben Gruß