Hello! I am sorry for asking such a vague question, but I think I am slowly going insane already.
When my system boots up, around after a minute of, well, starting everything up, my hard drive clicks and the system goes for a reboot. (I disassembled the system and confirmed that the sound indeed comes from the hard drive)
Yes, it's probably the "click of death" and all. What is interesting however, if I boot the system up from a USB drive, I can mount the hard drive and fully use it! Plus it worked completely fine just a few days ago.
I can read and write files, in fact, just wrote 4 GB and then read them back as they were.
I ran a few short SMART tests and a long one, no errors reported.
I also ran a full badblocks non-destructive read-write test for the night and still nothing wrong was reported.
BUT, once I chroot into the system that is installed on the hard drive, it clicks and reboots.
My guess is that some crucial space that is getting read/written during boot is now located on bad blocks. Maybe bad blocks are located on my UEFI partition (/dev/sda1), or on my swap partition (/dev/sda2)? I hope that someone more educated than me could make a guess too…
Would really appreciate any help, thank you very much in advance!
(Also yes I think this is my first HDD malfunctioning in my entire life)
When my system boots up, around after a minute of, well, starting everything up, my hard drive clicks and the system goes for a reboot. (I disassembled the system and confirmed that the sound indeed comes from the hard drive)
Yes, it's probably the "click of death" and all. What is interesting however, if I boot the system up from a USB drive, I can mount the hard drive and fully use it! Plus it worked completely fine just a few days ago.
I can read and write files, in fact, just wrote 4 GB and then read them back as they were.
I ran a few short SMART tests and a long one, no errors reported.
I also ran a full badblocks non-destructive read-write test for the night and still nothing wrong was reported.
BUT, once I chroot into the system that is installed on the hard drive, it clicks and reboots.
My guess is that some crucial space that is getting read/written during boot is now located on bad blocks. Maybe bad blocks are located on my UEFI partition (/dev/sda1), or on my swap partition (/dev/sda2)? I hope that someone more educated than me could make a guess too…
Would really appreciate any help, thank you very much in advance!
(Also yes I think this is my first HDD malfunctioning in my entire life)
Code:
smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.18.1-arch1-1] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Hitachi Travelstar 5K500.B
Device Model: Hitachi HTS545050B9A300
Serial Number: 110428PBN408P7CZUDKE
LU WWN Device Id: 5 000cca 6aece0280
Firmware Version: PB4OCA1G
User Capacity: 500,107,862,016 bytes [500 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: 5400 rpm
Form Factor: 2.5 inches
Device is: In smartctl database 7.3/5319
ATA Version is: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 2.6, 3.0 Gb/s
Local Time is: Mon Aug 1 17:30:51 2022 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
See vendor-specific Attribute list for marginal Attributes.
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: ( 645) 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: ( 158) 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 099 062 Pre-fail Always - 0
2 Throughput_Performance 0x0025 100 100 040 Pre-fail Offline - 0
3 Spin_Up_Time 0x0023 156 100 033 Pre-fail Always - 1
4 Start_Stop_Count 0x0032 098 098 000 Old_age Always - 4068
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail Always - 0
7 Seek_Error_Rate 0x002f 100 100 067 Pre-fail Always - 0
8 Seek_Time_Performance 0x0025 100 100 040 Pre-fail Offline - 0
9 Power_On_Hours 0x0032 026 026 000 Old_age Always - 32593
10 Spin_Retry_Count 0x0033 100 100 060 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 098 098 000 Old_age Always - 3915
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x0033 100 100 097 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 326417448964
188 Command_Timeout 0x0032 100 071 000 Old_age Always - 2117
190 Airflow_Temperature_Cel 0x0022 054 043 045 Old_age Always In_the_past 46 (Min/Max 43/47)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 72
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 12386493
193 Load_Cycle_Count 0x0032 001 001 000 Old_age Always - 1834793
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0
197 Current_Pending_Sector 0x0032 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0036 100 100 000 Old_age Always - 0
223 Load_Retry_Count 0x002a 100 100 000 Old_age Always - 0
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 Extended offline Completed without error 00% 32570 -
# 2 Short offline Completed without error 00% 32568 -
# 3 Short offline Completed without error 00% 32568 -
# 4 Short offline Completed without error 00% 32568 -
# 5 Short offline Completed without error 00% 2 -
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.