LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-04-2019, 05:12 PM   #1
actinide
Member
 
Registered: Jan 2012
Posts: 333

Rep: Reputation: Disabled
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
 
Old 03-04-2019, 05:30 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,432

Rep: Reputation: 2723Reputation: 2723Reputation: 2723Reputation: 2723Reputation: 2723Reputation: 2723Reputation: 2723Reputation: 2723Reputation: 2723Reputation: 2723Reputation: 2723
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/
 
Old 03-04-2019, 05:42 PM   #3
actinide
Member
 
Registered: Jan 2012
Posts: 333

Original Poster
Rep: Reputation: Disabled
hi yancek. The filesystem is not the problem. This is a hardware problem.
 
Old 03-04-2019, 08:19 PM   #4
frankbell
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
Blog Entries: 28

Rep: Reputation: 6376Reputation: 6376Reputation: 6376Reputation: 6376Reputation: 6376Reputation: 6376Reputation: 6376Reputation: 6376Reputation: 6376Reputation: 6376Reputation: 6376
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/
 
Old 03-05-2019, 03:02 PM   #5
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,361

Rep: Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692Reputation: 3692
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.
 
Old 03-07-2019, 03:58 PM   #6
LQ496873
Member
 
Registered: Jan 2006
Distribution: openSUSE Leap 15.3
Posts: 120

Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
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.
 
Old 03-07-2019, 04:03 PM   #7
LQ496873
Member
 
Registered: Jan 2006
Distribution: openSUSE Leap 15.3
Posts: 120

Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
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!
 
Old 03-07-2019, 05:54 PM   #8
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,432

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


Reply

Tags
hdd, portable


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
LVM: pvcreate fails on 5TB drive with "pe_align (2048 sectors) must not be less than pe_align_offset (8388607 sectors)" furryspider Slackware 12 10-14-2016 05:21 PM
LXer: Check Hard drive for bad sectors or bad blocks in linux LXer Syndicated Linux News 0 08-11-2014 08:00 AM
LXer: Check Hard drive for bad sectors or bad blocks in linux LXer Syndicated Linux News 0 08-10-2014 12:21 AM
re-allocated sectors count shows 2 bad sectors, in Ubuntu 10.04 disk utility james2b Linux - Hardware 4 10-12-2010 11:16 PM
Bad sectors in RAID 5 HDD arunabh_biswas Linux - Software 2 06-16-2006 12:25 PM

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

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