LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-16-2019, 06:03 AM   #1
lexmeizta
LQ Newbie
 
Registered: Sep 2019
Posts: 4

Rep: Reputation: Disabled
Buffer I/O error on /dev/sdb1 (...) async page read


I have a transcend 1TB external Drive.

I recently ran into an issue where the drive won't mount on macos or windows. I also tried using SMART tools to scan and the following output is pasted below.

Please can anyone tell me if this disk is recoverable or if i can copy my data out, if so, how can i achieve this.

Thanks in advance

[root@localhost ~]# smartctl -a /dev/sdb
smartctl 6.5 2016-05-07 r4318 [x86_64-linux-3.10.0-957.el7.x86_64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

Warning! Drive Identity Structure error: invalid SMART checksum.
=== START OF INFORMATION SECTION ===
Model Family: Seagate Samsung SpinPoint M8 (AF)
Device Model: ST1000LM024 HN-M101MBB
Serial Number: S2S6J9BC708886
LU WWN Device Id: 5 0004cf 2080b37ea
Firmware Version: 2AR10001
User Capacity: 1,000,204,885,504 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: ATA8-ACS T13/1699-D revision 6
SATA Version is: SATA 3.0, 3.0 Gb/s (current: 1.5 Gb/s)
Local Time is: Mon Sep 16 12:01:06 2019 WAT
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: ( 121) The previous self-test completed having
the read element of the test failed.
Total time to complete Offline
data collection: (13140) 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: ( 219) minutes.
SCT capabilities: (0x003f) 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 - 19128
2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0
3 Spin_Up_Time 0x0023 086 081 025 Pre-fail Always - 4456
4 Start_Stop_Count 0x0032 097 097 000 Old_age Always - 3533
5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0
7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0
8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 2528
10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0
11 Calibration_Retry_Count 0x0032 100 100 000 Old_age Always - 52
12 Power_Cycle_Count 0x0032 097 097 000 Old_age Always - 3470
191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 689
192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0
194 Temperature_Celsius 0x0002 064 057 000 Old_age Always - 33 (Min/Max 24/59)
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 093 093 000 Old_age Always - 1279
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 - 485
223 Load_Retry_Count 0x0032 100 100 000 Old_age Always - 52
225 Load_Cycle_Count 0x0032 095 095 000 Old_age Always - 58801

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: read failure 90% 2528 400
# 2 Short offline Completed: read failure 90% 2527 400

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_read_failure [90% 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.

[root@localhost ~]#
 
Old 09-16-2019, 07:50 AM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,828

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Quote:
Originally Posted by lexmeizta View Post
Code:
197 Current_Pending_Sector  0x0032   093   093   000    Old_age   Always       -       1279
The disk is dying, currently with 1279 bad sectors. Get a new disk at least as large as the old one, then use ddrescue to salvage as much data as it can from the old disk. Then you can see what it takes to fix up the copied disk so that it can be mounted.
 
Old 09-16-2019, 08:12 AM   #3
lexmeizta
LQ Newbie
 
Registered: Sep 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
The disk is dying, currently with 1279 bad sectors. Get a new disk at least as large as the old one, then use ddrescue to salvage as much data as it can from the old disk. Then you can see what it takes to fix up the copied disk so that it can be mounted.
Thanks a lot for your response.
I'd plan for this.

Do you happen to know anyway/tool i can recover select data from the drive if its still available? i have a folder of extreme importance i won't want to lose.
 
Old 09-16-2019, 12:21 PM   #4
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,828

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Quote:
Originally Posted by lexmeizta View Post
Do you happen to know anyway/tool i can recover select data from the drive if its still available? i have a folder of extreme importance i won't want to lose.
testdisk can often recover files from filesystems too damaged to mount. I've never used it for that purpose, so I probably can't be of much help.
 
1 members found this post helpful.
Old 09-16-2019, 12:51 PM   #5
lexmeizta
LQ Newbie
 
Registered: Sep 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by rknichols View Post
testdisk can often recover files from filesystems too damaged to mount. I've never used it for that purpose, so I probably can't be of much help.
Thanks a lot.

I am currently trying to use testdisk to see what i can recover by following the guide on the linked page. Using ddrescue would require some time for me to set it up and understand it fully, i see some python codes and ubuntu/fedora OS. I do not readily have any of those environments set up, would look into setting one up for this purpose

Thanks a lot, you've been of immense help
 
Old 09-16-2019, 02:33 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,779

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
I wish you the best, (intact files/dirs)but all you're likely to get is clusters which you have to piece together.

The key is to backup important stuff. That's what to take away. There's also a lesson to check the drives regularly. I've been caught out so often I now install a 'save my butt' distro and keep a usb key in case grub goes.
 
1 members found this post helpful.
Old 09-16-2019, 06:44 PM   #7
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,828

Rep: Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243Reputation: 2243
Quote:
Originally Posted by lexmeizta View Post
Using ddrescue would require some time for me to set it up and understand it fully, i see some python codes and ubuntu/fedora OS. I do not readily have any of those environments set up, would look into setting one up for this purpose
Just download SystemRescueCD and put it on a USB stick. It has testdisk, photorec, and a bunch of other useful utilities all included.
 
1 members found this post helpful.
Old 09-17-2019, 03:44 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,779

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
Be careful not to initiate any write actions - except recovering partitions, if you're very sure.

If you need that folder you mentioned to pay a few hundred $$ for it, there's professionals at this sort of thing you can pay.
 
Old 09-19-2019, 05:44 AM   #9
lexmeizta
LQ Newbie
 
Registered: Sep 2019
Posts: 4

Original Poster
Rep: Reputation: Disabled
thanks a lotttt!!! got the folder out and i think the drive gave up right after!!
was able to see my directories and most files too..phew!!
 
Old 09-20-2019, 05:23 AM   #10
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,779

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
Great! Now buy yourself a usb drive and back things up. There's also places online (I use mega.nz) where you can back up vital stuff. It's wise not to rely on one backup, because that usb drive will fail also. I have a usb caddy with the controller going funny, so I fluttered €60 on ebay for a 500G drive. That's after the 1 TB my son left me went AWOL. But as everything was backed up twice, it's no harm done.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu buffer i/o on dev sda4 logical block 7818449 async page read ardra96 Linux - Newbie 6 09-11-2021 07:02 AM
[SOLVED] how to fix : Buffer I/O error on dev sdc, logical block 122096624, async page read BW-userx Linux - Hardware 2 08-19-2018 09:15 AM
[SOLVED] Buffer I/O error on /dev/sdb1 (...) async page read Hungry ghost Linux - Hardware 12 04-01-2017 06:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration