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 01-08-2012, 07:47 PM   #1
carlatf
LQ Newbie
 
Registered: Oct 2006
Posts: 5

Rep: Reputation: 0
Arrow How to recover a hard disk bad sector?


Hi,

I have a big problem, my server's HD has bad sectors so my hosting mounted as a second disk but I can't read it because of the bad sectors.

What tools can I use to fix the problem? The new system is Debian 6.

I'm really worried because half of my backups are on that disk so I need to access to that disk.

Best regards,
Carla
 
Old 01-09-2012, 04:03 AM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
That means the drive is failing. What I would do is use ddrescue to image the drive to a larger drive. Then, once that is done I would carve data from that image using testdisk or foremost.
 
Old 01-09-2012, 03:01 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 17,534

Rep: Reputation: 2615Reputation: 2615Reputation: 2615Reputation: 2615Reputation: 2615Reputation: 2615Reputation: 2615Reputation: 2615Reputation: 2615Reputation: 2615Reputation: 2615
You can't trust any of the data on the drive. Don't play with it and just replace it and apply last known good backup.

Never host a backup on the same drive. If the backups have some sort of md5 or other way to validate it then try to get that off before you attempt any task.
 
Old 01-09-2012, 05:54 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,923
Blog Entries: 28

Rep: Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223Reputation: 2223
Member response

Hi,

I will add to what jefro stated: Grandfather-father-son backup the backups if you value the data. Also consider Off-site data protection.
 
  


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
[SOLVED] Know if my hard-drive had bad sector qlands Linux - Newbie 8 10-23-2010 02:25 PM
Recover bad sectors on hard disk ahmed_as8 Linux - Software 1 02-04-2009 02:29 AM
hard disk bad sector detection arunka Linux - Hardware 2 02-15-2006 02:28 AM
Bad Sector Hard Drive tsigane Linux - Hardware 16 08-15-2004 04:07 AM
work around a bad disk sector cyclist Linux - Software 1 09-25-2001 09:37 PM

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

All times are GMT -5. The time now is 08:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration