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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
|
03-16-2020, 06:24 PM
|
#1
|
Member
Registered: Oct 2016
Distribution: Looking again
Posts: 429
Rep:
|
Hardware issues and disk failure - suppose it's about planned obsolescence.
Have had multiple disk-and-enclosure failures lately, even with a major surge-suppressor/UPS. Different disks. Several different External Enclosures. All crap. Disk killers.
I check disks regularly with Gsmartcontrol, and I'm beginning to think that's a waste of time. Never get any warning of disk failure.
(I'm also unlucky - my surname actually translates from the mother-tongue as "The Unlucky One." How's that grab ya, baby?)
So I bought a WD "My Passport." 5TB
Best reviews on the InterWeb. 3 yr warranty.
Even though Western Digital can't even spell "Linux" yet.
SHould I re-partition this into multiples or leave it intact?
Is there any advantage to "RAID"ing this disk with more partitions?
|
|
|
03-16-2020, 08:53 PM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,385
|
External (USB) disk enclosures are my flakiest hardware by a long way. There is no way I would use them as long-term (critical ?) active disk storage - well, maybe on a pi ...
I only use them for disk test/recovery.
As for partitioning, it's probably shipped as NTFS, so by definition I immediately would reformat it. Maybe make it a LVM pv depending on likely usage, by really it's up to you how you carve it up.
Not much point using multiple partitions if you're planning on RAIDing it within the physical disk. Might save you, probably won't unless you are simply mirroring.
|
|
|
03-16-2020, 08:59 PM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,899
|
In contrast, I've had excellent service from external USB drives. Most of mine have been Western Digital, but I've also used Seagates and Iomegas.
I've only used on actual USB enclosure--to access an old hard drive (I think it was a SATA drive), and the hard drive (I said it was old) failed before the enclosure did.
Last edited by frankbell; 03-16-2020 at 09:01 PM.
|
|
|
03-16-2020, 09:29 PM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,385
|

Yep, I was referring to what are know as "caddies" - where you stand drives vertically. The connections are dead dodgy. Commercial (enclosed) USB drives have been fine. Sorry to all for the lack of clarity.
|
|
|
03-17-2020, 02:35 AM
|
#5
|
LQ Addict
Registered: Dec 2013
Posts: 19,872
|
Quote:
Originally Posted by binkyd
Have had multiple disk-and-enclosure failures lately, even with a major surge-suppressor/UPS. Different disks. Several different External Enclosures. All crap. Disk killers.
I check disks regularly with Gsmartcontrol, and I'm beginning to think that's a waste of time. Never get any warning of disk failure.
|
Personally I don't think that hardware "dies" so fast and especially not so consistently.
I still use 2 pre-owned hard drives inside my desktop that are at least 5 years old.
We really need more details about what is actually happening there.
Could also be faulty contacts between drive & mobo, or the mobo itself.
|
|
|
03-17-2020, 04:29 AM
|
#6
|
Senior Member
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674
|
Quote:
Originally Posted by ondoho
Personally I don't think that hardware "dies" so fast and especially not so consistently.
I still use 2 pre-owned hard drives inside my desktop that are at least 5 years old.
|
Internal drives often last longer, it is the USB (often plugged-in and -out ones) that have a tendency to fail (on the connections, not the disk itself).
For instance I've got a very old Dell (some 20 years) with internal disks
Maxtor 5T040H4 which is almost 20 years old - the original disk
WDC WD2000 (Western Digital Caviar) more then 11 years old
My main system is over 10 years and has its original disk (Seagate) too
And even my 486, from 1994, still got its original (Quantum) disk.
|
|
|
03-17-2020, 05:23 AM
|
#7
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,872
Rep: 
|
Agree, it is more usual for the connection/cables to go wrong, than it is for the disk itself.
Only recently gave away my external 3.5" IDE USB, still in perfect working order.
I did have one of the first SSD 'die' on me, but that has been the only one in about 25 years.
If they are used intensely, then they are obviously more prone to failure, but mine just see 'normal' usage.
|
|
|
03-19-2020, 01:07 AM
|
#8
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,502
|
Heat is an enemy of electronics. HDs are metal-cased heat generators. Computer cases mostly use HD bays made of metal. When attached to a metal case bay, the case draws heat from the HD and radiates it into the areas subject to case and power supply fan flow, helping to minimize HD temperature.
That doesn't happen with typical external HDs. More often the metal heat generating HD is trapped inside a confined space with poor or no air flow, and plastic attach point insulation minimizing heat transfer instead of metal attachment facilitating heat transfer. Inferior life from such devices should be expected.
External enclosures I buy have metal mounting, their own power supplies, and fans. None were manufactured or marketed by a manufacturer of HDs. I have yet to have a HD in an external case expire, but then they don't get anywhere near as much use as my internal HDs either.
|
|
1 members found this post helpful.
|
03-22-2020, 09:47 AM
|
#9
|
Member
Registered: Oct 2016
Distribution: Looking again
Posts: 429
Original Poster
Rep:
|
Probably overheated, like you say.
This is what's going on with one disk:
Code:
sudo fsck -a /dev/sda2
fsck from util-linux 2.31.1
fsck.ext2: Bad magic number in super-block while trying to open /dev/sda2
/dev/sda2:
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>
Neither of these last suggestions helped.
Does anyone know if and how I can get the data off this disk?
|
|
|
03-22-2020, 11:45 AM
|
#10
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,502
|
Try with gnu_ddrescue writing the disk to another disk or to a file, then try reading from the copy. First I'd take the disk from the enclosure and attach it directly to a motherboard controller, removing a possible point of failure, or slowdown from the USB from ATA conversion process, and keeping the disk cooler, any of which might solve the problem directly.
|
|
1 members found this post helpful.
|
03-22-2020, 04:09 PM
|
#11
|
Member
Registered: Oct 2016
Distribution: Looking again
Posts: 429
Original Poster
Rep:
|
To tell you the truth, I've had so many problems with these disks OR their enclosures I'm sort of afraid to attach them directly...
I looked at ddrescue, but, alas, I have never had success with tarballs. Any I've tried have always seemed to get rangy at the start with 'configure', 'make' etc. Can never get it right and just not going there anymore. The old documentation issue - 'readme' files can lie.
I think I'll just put these 3 disks aside till I find a box where hardware screw-ups won't matter.
|
|
|
03-22-2020, 04:31 PM
|
#12
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,502
|
Most distros package gnu-ddrescue under one name or another. You shouldn't need a tarball to use it.
Code:
# grep RETT /etc/os-release
PRETTY_NAME="openSUSE Leap 15.1"
# apropos rescue
dd_rescue (1) - Data recovery and protection tool
ddrescue (1) - data recovery tool
ddrescuelog (1) - tool for ddrescue mapfiles
ntfsclone (8) - Efficiently clone, image, restore or rescue an NTFS
# rpm -qa | grep rescue
gnu_ddrescue-1.23-lp151.2.4.x86_64
dd_rescue-1.99.7-lp151.2.3.x86_64
I wouldn't hesitate to attach an enclosure's disk to a motherboard host controller.
|
|
1 members found this post helpful.
|
03-22-2020, 04:46 PM
|
#13
|
Member
Registered: Oct 2016
Distribution: Looking again
Posts: 429
Original Poster
Rep:
|
Thankin' you mrmazda!
I was thrown by the "gnu-" on the front of it.
Have now found it and will give it a whirl.
|
|
|
04-01-2020, 04:28 PM
|
#14
|
Member
Registered: Oct 2016
Distribution: Looking again
Posts: 429
Original Poster
Rep:
|
Update:
ddrescue saved data off one disk, but couldn't get the other. I had enough duplicates to be ok.
Was able to open the disk's log with Gsmartcontrol, and it pointed the finger directly at the (cheap) HDD enclosure - multiple data errors occurred at power-on.
Currently running GSmart's full test to see if disk might be usable.
I have 2 of these 2TBs here, if they both work I'll need a proper cooling enclosure for them.
Opinions on something like this, please, would be very welcome, so I have an idea where to start to avoid repeats.
https://www.amazon.ca/gp/product/B07...9WPO2NUY&psc=1
|
|
|
04-01-2020, 09:50 PM
|
#15
|
Senior Member
Registered: Feb 2003
Distribution: debian
Posts: 4,137
|
Heat and Vibrations will kill disks. Most of my drive losses were during or shortly after a move. And I tend to baby my electronics, ride in the back seat of the car, not in the Uhaul with everything else.
I tend to use external docking stations for drives. USB is slower, but I can hear drives that are in a questionable state. And otherwise hover my hand over drives that are putting off way more heat than other like drives. I severely corrupted a drive once when the USB bus on a laptop went south. Granted that the fan on said laptop stopped working more than a year earlier.
There's ZFS options for linux now. I have an RPi 4b running ZFS on linux (zol). And sharing that over NFS. Works well, so far. A couple storms, power outages, and whatnot later and 2x old 500GB drives are still ticking.
|
|
|
All times are GMT -5. The time now is 07:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|