LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2023, 08:22 PM   #1
alex4buba
Member
 
Registered: Jul 2020
Posts: 624

Rep: Reputation: Disabled
Restore data from WD external drive


I am using Linux KDE plasma and want to restore data (movie clips) from an external WD drive.
The laptop identifies the drive, light is flashing, but the content doesn't show.

Any suggestions?
Cheers
 
Old 12-17-2023, 03:57 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,619

Rep: Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516
My first suggestion would be to post more details.

Which Linux OS are you using? Were any changes made just prior to the problem occurring? Have you successfully restored data from this drive previously? How old is the hard drive? What filesystem type is on the hard drive partition(s)? How do you try to view/access the data that 'doesn't show'? How is the drive identified? Shown with fdisk, parted or similar command or seen in a file manager window?
 
Old 12-18-2023, 12:56 AM   #3
alex4buba
Member
 
Registered: Jul 2020
Posts: 624

Original Poster
Rep: Reputation: Disabled
WD HD failure

Quote:
Originally Posted by yancek View Post
My first suggestion would be to post more details.

Which Linux OS are you using? Were any changes made just prior to the problem occurring? Have you successfully restored data from this drive previously? How old is the hard drive? What filesystem type is on the hard drive partition(s)? How do you try to view/access the data that 'doesn't show'? How is the drive identified? Shown with fdisk, parted or similar command or seen in a file manager window?
The external drive is WD some 6 years old and was used on a MAC laptop to copy video clips to it. Tried to see the content on that Mac and on my Linux KDE plasma the latest version but no luck, the hardware does NOT detect it inserted into the USB port, not even with another USB cable.

When I plug it in, the light on the HD flickers until it stops. When looking in Partition Manager it shows Smart Status BAD withe the details in the following attached images in a PDF.

Thanks for any help
Attached Files
File Type: pdf WD_HD_Failure.pdf (88.9 KB, 15 views)
 
Old 12-18-2023, 04:26 AM   #4
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,619

Rep: Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516Reputation: 2516
If you cannot see the data from either the Mac or your Linux and were able to do that previously, I would think it is bad/failing hardware. The pdf you attached doesn't make it look good although I'm not really familiar enough with it to say definitively. I don't know why it shows all the N/A. Does it show in the BIOS?
 
Old 12-18-2023, 05:27 AM   #5
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,677

Rep: Reputation: 487Reputation: 487Reputation: 487Reputation: 487Reputation: 487
From your .pdf
Quote:
Disk failure imminent, backup all data.
I rather think the disk has passed the "backup all data" warning.
Quote:
relocated sectors failing 2841
indicates the disk is bad, normally there are a couple of spare cylinders or so (No of platters x No of sectors) on a hard disk which are used to hold data from sectors marked as bad. 2841 is pretty big.
Quote:
Relocated event count 154
Pending sector count 4 sectors
indicates to me that the spare cylinder which accommodates the re-vectoring of faulty sectors is pretty much full and there are at least 4 bad sectors which can no longer be re-vectored.

i.e. The disk is toast!

Not very helpful I'm afraid.

Play Bonny!

 
Old 12-18-2023, 05:51 AM   #6
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,920
Blog Entries: 1

Rep: Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082Reputation: 2082
I agree for the most part with what other responders have written. The pdf indicates a hefty number of bad sectors, more than I recall ever seeing on one disk what wasn't WD. WD Green disks I've had all croaked before or shortly after their warranties expired.

One possible issue hasn't been touched. Are you certain the Linux kernel you are running supports the filesystem on that disk? Do you have any other devices formatted on MacOS that your kernel can access successfully?

I'd like to see output from smartctl -a copied and pasted here.

How old is your kernel? What distro? What Plasma version? What filesystem is on that WD?
 
Old 12-18-2023, 08:24 AM   #7
Soadyheid
Senior Member
 
Registered: Aug 2010
Location: Near Edinburgh, Scotland
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,677

Rep: Reputation: 487Reputation: 487Reputation: 487Reputation: 487Reputation: 487
Quote:
How old is your kernel? What distro? What Plasma version? What filesystem is on that WD?
I don't think this is going to show anything different. the OP states that the disk can't be accessed with either his Mac or Linux distro,
Quote:
Tried to see the content on that Mac and on my Linux KDE plasma the latest version but no luck
The filesystem isn't the problem.

The system which handles the bad blocks/sectors is held within firmware on the hard disk itself, nothing to do with the operating system. To all intents and purposes the operating system sees a completely fault free hard disk. Even "new" hard disks (the spinning rust kind) have bad blocks (well, they did in my day!) their location was kept in a bad block file on the disk, The file contained pointers to the good blocks within the spare cylinder. Yup. I know blocks and sectors are different things, each sector having so many blocks of data. I've always just known it as a bad block file.

The question I'd ask is whether the OP's disk was dropped or received some sort of sharp blow as the number of bad sectors looks like a pretty severe head crash to me. More likely as it's an external drive.

I'm kind of new with solid state drives but I'd reckon there may be something similar to deal with faulty cells within an SSD memory array.

Anyway...my

Play Bonny!

 
Old 12-18-2023, 10:05 AM   #8
Jan K.
Member
 
Registered: Apr 2019
Location: Esbjerg
Distribution: Windows 7...
Posts: 773

Rep: Reputation: 489Reputation: 489Reputation: 489Reputation: 489Reputation: 489
Restore data?

Back in my days we found the backup discs and restored wanted/needed data to working disc.


Nowadays it seems using backups have changed to rescue, repair and despear.

How times have changed.



Sorry! but I'm having a bad day!
 
  


Reply

Tags
data recovery, western digital



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
Installing Linux Mint 19.1 cinnamon to an external hard drive & backing up to another external hard drive. bluelakecompany@yahoo.co Linux - Newbie 1 01-23-2019 06:30 PM
Monitoring data passing on USB bus & copying data (dumping) to hard drive (forking an identical data stream) cilbuper Programming 4 12-11-2017 01:58 PM
Including external data (network/external drive) in website directory thealmightyos Linux - Server 2 08-19-2014 12:14 PM
ubuntu installed on external hard drive, can't startup without external hard drive. Vanostaajen Linux - Software 23 01-20-2009 09:59 AM
external enclosure for an internal hard drive vs external USB hard drive powah Linux - Hardware 1 03-10-2006 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:25 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