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-04-2019, 05:12 PM
|
#1
|
Member
Registered: Jan 2012
Posts: 333
Rep: 
|
Portable hdd bad sectors
I have a portable hdd with 8 bad sectors is there a way to fix this.
OS: Mint 18.3
XFCE
64 bit
|
|
|
03-04-2019, 05:30 PM
|
#2
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,432
|
There are many sites such as the one at the link below which explain running a filesystem check on a Linux filesystem. Examples are shown with explanations at this link.
https://www.tecmint.com/fsck-repair-...rors-in-linux/
|
|
|
03-04-2019, 05:42 PM
|
#3
|
Member
Registered: Jan 2012
Posts: 333
Original Poster
Rep: 
|
hi yancek. The filesystem is not the problem. This is a hardware problem.
|
|
|
03-04-2019, 08:19 PM
|
#4
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 20,007
|
Power down the drive and don't power it back up until you are ready to back its contents up to another device.
This article should help: it addresses the different types of bad sectors and ways to remedy them. https://www.howtogeek.com/173463/bad...n-do-about-it/
|
|
|
03-05-2019, 03:02 PM
|
#5
|
Moderator
Registered: Mar 2008
Posts: 22,361
|
Bad sectors may not be a terrible thing. Many disks have errors.
I'd run the OEM diags on the drive. The actual hard drive may be different than enclosure.
|
|
|
03-07-2019, 03:58 PM
|
#6
|
Member
Registered: Jan 2006
Distribution: openSUSE Leap 15.3
Posts: 120
Rep: 
|
Quote:
Originally Posted by frankbell
Power down the drive and don't power it back up until you are ready to back its contents up to another device.
|
I think bad sectors are just reallocated to "reserves"... but when the reserves run out you start to lose data. Hence "reallocated sector count" is something to keep an eye on. If I had this issue i'd do exactly as frankbell says!
Last edited by LQ496873; 03-07-2019 at 04:00 PM.
|
|
|
03-07-2019, 04:03 PM
|
#7
|
Member
Registered: Jan 2006
Distribution: openSUSE Leap 15.3
Posts: 120
Rep: 
|
Quote:
Originally Posted by frankbell
Power down the drive and don't power it back up until you are ready to back its contents up to another device.
|
I think bad sectors are just reallocated to "reserves"... but when the reserves run out you start to lose data (or at least, some files become corrupted). Hence "reallocated sector count" is something to keep an eye on. If you are using up your reserves quickly i'd do exactly as frankbell says!
|
|
|
03-07-2019, 05:54 PM
|
#8
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,432
|
Quote:
The filesystem is not the problem. This is a hardware problem.
|
You can 'fix' hardware with software so if you have bad sectors, running a filesystem check should find and mark them so they are not used.
|
|
|
All times are GMT -5. The time now is 03:49 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
|
|