LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2015, 02:52 PM   #1
jchaisson
LQ Newbie
 
Registered: Aug 2015
Posts: 1

Rep: Reputation: Disabled
Hard Drive Recovery


I have a Seagate 1 TB SSHD that recently stopped working. I was able to read it via a Linux Live CD but it was unable to boot into Windows and the Win7repair funciton would not work. I was tryingto recover the boot mgr/ MFS table with Testdisk and now it appears as a Block Device and reads empty. I did a dmesg | grep/dev/sda and received the output below:

root@kali:/dev# dmesg | grep sda
[ 323.087309] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/931 GiB)
[ 323.087315] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 323.087339] sd 0:0:0:0: [sda] Write Protect is off
[ 323.087342] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[ 323.087353] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 328.729636] sd 0:0:0:0: [sda] tag#24 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.729644] sd 0:0:0:0: [sda] tag#24 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 328.729648] blk_update_request: I/O error, dev sda, sector 0
[ 328.729653] Buffer I/O error on dev sda, logical block 0, async page read
[ 328.729815] sd 0:0:0:0: [sda] tag#25 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.729824] sd 0:0:0:0: [sda] tag#25 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 328.729828] blk_update_request: I/O error, dev sda, sector 0
[ 328.729832] Buffer I/O error on dev sda, logical block 0, async page read
[ 328.729891] sd 0:0:0:0: [sda] tag#26 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.729897] sd 0:0:0:0: [sda] tag#26 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 328.729900] blk_update_request: I/O error, dev sda, sector 0
[ 328.729903] Buffer I/O error on dev sda, logical block 0, async page read
[ 328.729964] sd 0:0:0:0: [sda] tag#27 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.729971] sd 0:0:0:0: [sda] tag#27 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 328.729974] blk_update_request: I/O error, dev sda, sector 0
[ 328.729977] Buffer I/O error on dev sda, logical block 0, async page read
[ 328.730053] sd 0:0:0:0: [sda] tag#28 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.730060] sd 0:0:0:0: [sda] tag#28 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 328.730063] blk_update_request: I/O error, dev sda, sector 0
[ 328.730066] Buffer I/O error on dev sda, logical block 0, async page read
[ 328.730132] sd 0:0:0:0: [sda] tag#29 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.730138] sd 0:0:0:0: [sda] tag#29 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 328.730141] blk_update_request: I/O error, dev sda, sector 0
[ 328.730145] Buffer I/O error on dev sda, logical block 0, async page read
[ 328.730206] sd 0:0:0:0: [sda] tag#30 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.730212] sd 0:0:0:0: [sda] tag#30 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 328.730215] blk_update_request: I/O error, dev sda, sector 0
[ 328.730218] Buffer I/O error on dev sda, logical block 0, async page read
[ 328.730280] sd 0:0:0:0: [sda] tag#0 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.730286] sd 0:0:0:0: [sda] tag#0 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 328.730289] blk_update_request: I/O error, dev sda, sector 0
[ 328.730292] Buffer I/O error on dev sda, logical block 0, async page read
[ 328.730331] Dev sda: unable to read RDB block 0
[ 328.730358] sd 0:0:0:0: [sda] tag#1 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.730364] sd 0:0:0:0: [sda] tag#1 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 328.730367] blk_update_request: I/O error, dev sda, sector 0
[ 328.730370] Buffer I/O error on dev sda, logical block 0, async page read
[ 328.730539] sd 0:0:0:0: [sda] tag#2 FAILED Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.730542] sd 0:0:0:0: [sda] tag#2 CDB: Read(10) 28 00 00 00 00 00 00 00 08 00
[ 328.730543] blk_update_request: I/O error, dev sda, sector 0
[ 328.730544] Buffer I/O error on dev sda, logical block 0, async page read
[ 328.730586] sda: unable to read partition table
[ 328.730754] sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.730759] sd 0:0:0:0: [sda] Sense not available.
[ 328.730789] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 328.730792] sd 0:0:0:0: [sda] Sense not available.
[ 328.730833] sd 0:0:0:0: [sda] Attached SCSI disk
[ 435.077584] sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 435.077592] sd 0:0:0:0: [sda] Sense not available.
[ 435.077650] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 435.077655] sd 0:0:0:0: [sda] Sense not available.
[ 448.222134] sd 0:0:0:0: [sda] Stopping disk
[ 448.222189] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 449.392856] sd 0:0:0:0: [sda] Starting disk
[ 449.735686] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 575.141805] sd 0:0:0:0: [sda] Stopping disk
[ 575.141855] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 576.301454] sd 0:0:0:0: [sda] Starting disk
[ 576.618964] sd 0:0:0:0: [sda] Start/Stop Unit failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 7023.192588] sd 0:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 7023.192596] sd 0:0:0:0: [sda] Sense not available.
[ 7023.192663] sd 0:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK
[ 7023.192667] sd 0:0:0:0: [sda] Sense not available.


There isn't any critical data that resided on the drive but it would be nice to be able to put it back into use even if I can't recover the data.

Any suggestions?
 
Old 08-24-2015, 12:48 PM   #2
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493

Rep: Reputation: Disabled
Welcome aboard.

Quote:
sda: unable to read partition table
I think that says it all, no partition table.
As there is no critical data on it, just put it down to experience.
Just repartition it, put a filesystem on it, & use it.
 
Old 08-24-2015, 01:17 PM   #3
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
What is the output of "smartctl -a /dev/sda" as root?

With all of those I/O errors you probably have a ton of reallocated sectors, and you finally lost a sector related to the partitioning setup. Even if you repartition it that drive is most likely on its last legs and will give out very soon.
 
  


Reply



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
Corrupt hard drive recovery. borgy95 Linux - Hardware 6 05-06-2014 01:51 AM
hard drive problems, recovery possible? fenixbtc Linux - Hardware 7 01-03-2009 05:38 PM
Hard Drive Recovery (Filesystem problems) augamecock Linux - General 3 04-21-2008 01:47 PM
Hard drive recovery, LVM Fonce Linux - Hardware 3 12-30-2004 09:47 PM
Linux Hard Drive Recovery Procedure. DarkestHour Linux - Software 3 11-27-2004 09:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:14 AM.

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