You are not logged in.
When i turned on my computer today, my secondary harddrive had zero files in it, though it did show that it was %55 percent used.
From gnome disks utility (it has SMART data&tests) i learned that it had 560 bad sectors and no pending or unfixable sectors.
It had a Read Error Rate of 18420368 though I've heard some manufacturors use higher rate = good so I think that's why.
The airflow tempature assesment says that it had failed in the past but I don't know if this is relevant.
Also when I
ls
it gives me:
ls: reading directory '.': Input/output error
I use Strawberry Music Player and it plays just fine.
Edit: forgot to say it is in ntfs format
Last edited by Kazar (2025-03-20 17:28:19)
Offline
reads either like a broken alias pr querying the directory specifically accessing something broken, while the music players will normally not try to resolve the parent directory but the file that's in their DB directly.
If you ls the fully qualified name of a track you know to be there, does that fail as well?
FWIW you might want to post those smartctl results, relying on a broken drive and hoping software can somehow fix it is going to be desastrous for the data.
Last edited by V1del (2025-03-20 17:30:59)
Offline
Ok, so i had bookmarked on my filemanager the music directory on my drive. When i clicked on it just right now, it showed all my files in there.
my smartctl results:
=== START OF INFORMATION SECTION ===
Model Family: Seagate Barracuda Pro Compute
Device Model: ST1000LM049-2GH172
Serial Number: ZGS2DDPT
LU WWN Device Id: 5 000c50 0c774a124
Firmware Version: RPM2
User Capacity: 1,000,204,886,016 bytes [1.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 2.5 inches
TRIM Command: Available
Device is: In smartctl database 7.3/5528
ATA Version is: ACS-3 T13/2161-D revision 3b
SATA Version is: SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Thu Mar 20 20:38:41 2025 +03
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: ( 0) 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: ( 129) minutes.
SCT capabilities: (0x303d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
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 072 059 006 Pre-fail Always - 184212268
3 Spin_Up_Time 0x0027 099 099 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 1383
5 Reallocated_Sector_Ct 0x0033 099 099 036 Pre-fail Always - 560
7 Seek_Error_Rate 0x002f 076 060 045 Pre-fail Always - 37896133
9 Power_On_Hours 0x0032 092 092 000 Old_age Always - 7519
10 Spin_Retry_Count 0x0033 100 100 097 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 099 099 000 Old_age Always - 1375
183 Runtime_Bad_Block 0x0032 100 100 000 Old_age Always - 0
184 End-to-End_Error 0x003b 100 100 097 Pre-fail Always - 0
187 Reported_Uncorrect 0x0032 100 100 000 Old_age Always - 0
188 Command_Timeout 0x0032 100 100 000 Old_age Always - 65537
189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0
190 Airflow_Temperature_Cel 0x0022 058 034 040 Old_age Always In_the_past 42 (Min/Max 22/47 #299)
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 2
192 Power-Off_Retract_Count 0x0032 100 100 000 Old_age Always - 10
193 Load_Cycle_Count 0x0032 080 080 000 Old_age Always - 40307
194 Temperature_Celsius 0x0022 042 066 000 Old_age Always - 42 (0 18 0 0 0)
196 Reallocated_Event_Count 0x0032 099 099 000 Old_age Always - 560
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 0x0032 100 100 000 Old_age Always - 0
254 Free_Fall_Sensor 0x0032 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 Short offline Completed without error 00% 7519 -
# 2 Short offline Aborted by host 50% 7518 -
# 3 Short offline Completed without error 00% 7515 -
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.
The above only provides legacy SMART information - try 'smartctl -x' for more
Offline
5 Reallocated_Sector_Ct 0x0033 099 099 036 Pre-fail Always - 560
Backup all data you can from that drive.
In doubt use dd_rescue to clone it onto a different drive to run filesystem checks and recovery tools on that.
For ntfs, use windows chkdsk.
Since the drive isn't very old, I suspect this stems from
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 2
but you don't know and you cannot trust the disk atm.
Once you have a backup, run https://wiki.archlinux.org/title/Badblocks on the drive.
Offline
5 Reallocated_Sector_Ct 0x0033 099 099 036 Pre-fail Always - 560
Backup all data you can from that drive.
In doubt use dd_rescue to clone it onto a different drive to run filesystem checks and recovery tools on that.
For ntfs, use windows chkdsk.Since the drive isn't very old, I suspect this stems from
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 2
but you don't know and you cannot trust the disk atm.
Once you have a backup, run https://wiki.archlinux.org/title/Badblocks on the drive.
$ sudo badblocks -svn -b 512 -c 65536 /dev/sda1
[sudo] password:
Checking for bad blocks in non-destructive read-write mode
From block 0 to 1953521663
Checking for bad blocks (non-destructive read-write test)
Testing with random pattern: done
Pass completed, 0 bad blocks found. (0/0/0 errors)
Could there be bad sectors badblocks couldn't find?
Offline
You skipped the partition table, but it's not overly likely that it holds more damaged blocks when everything else is fine.
In a perfect world, there're simply no (further) bad blocks - do you still get IO errors?
Have you run chkdsk on the drive?
Offline