LinuxQuestions.org
Help answer threads with 0 replies.
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 03-16-2020, 06:24 PM   #1
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Rep: Reputation: 40
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?
 
Old 03-16-2020, 08:53 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,385

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191
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.
 
Old 03-16-2020, 08:59 PM   #3
frankbell
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
Blog Entries: 28

Rep: Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349Reputation: 6349
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.
 
Old 03-16-2020, 09:29 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,385

Rep: Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191Reputation: 4191

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.
 
Old 03-17-2020, 02:35 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by binkyd View Post
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.
 
Old 03-17-2020, 04:29 AM   #6
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by ondoho View Post
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.
 
Old 03-17-2020, 05:23 AM   #7
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,872

Rep: Reputation: Disabled
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.
 
Old 03-19-2020, 01:07 AM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,502
Blog Entries: 1

Rep: Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232
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.
Old 03-22-2020, 09:47 AM   #9
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Original Poster
Rep: Reputation: 40
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?
 
Old 03-22-2020, 11:45 AM   #10
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,502
Blog Entries: 1

Rep: Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232
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.
Old 03-22-2020, 04:09 PM   #11
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Original Poster
Rep: Reputation: 40
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.
 
Old 03-22-2020, 04:31 PM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,502
Blog Entries: 1

Rep: Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232Reputation: 2232
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.
Old 03-22-2020, 04:46 PM   #13
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Original Poster
Rep: Reputation: 40
Thankin' you mrmazda!

I was thrown by the "gnu-" on the front of it.

Have now found it and will give it a whirl.
 
Old 04-01-2020, 04:28 PM   #14
binkyd
Member
 
Registered: Oct 2016
Distribution: Looking again
Posts: 429

Original Poster
Rep: Reputation: 40
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
 
Old 04-01-2020, 09:50 PM   #15
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
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.
 
  


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
Spanish Air Force fights obsolescence and insecurity through open source dugan Linux - News 1 08-06-2019 12:47 PM
LXer: Mini-ITX board fosters flexibility and fights obsolescence LXer Syndicated Linux News 0 02-01-2018 03:41 AM
rant: typewriters don't deserve obsolescence newbiesforever General 27 03-23-2015 09:02 AM
LXer: Open Source, the only weapon against "planned obsolescence" LXer Syndicated Linux News 0 03-28-2007 09:16 PM
LXer: Open source as software obsolescence insurance LXer Syndicated Linux News 0 07-09-2006 12:21 PM

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

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