Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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?
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.
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?
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,677
Rep:
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.
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 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?
Distribution: Cinnamon Mint 20.1 (Laptop) and 20.2 (Desktop)
Posts: 1,677
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.