hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : Hard drive failure, recover data
Reply

Hosting Security and Technology Configuring and optimizing web hosting servers and operating systems, developing administration scripts, building servers, protecting against hackers, and general security (SSL certificates, etc.)
Forum Jump

Hard drive failure, recover data

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-14-2007, 12:57 PM
GeXus GeXus is offline
Junior Guru Wannabe
 
Join Date: Dec 2003
Posts: 92

Hard drive failure, recover data


I just recently had a hard drive failure that produced the following error

root@re:/# mount /dev/hda3 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/hda3,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 4410069
Buffer I/O error on device hda3, logical block 8259
hda: drive_cmd: status=0x51 { DriveReady SeekComplete Error }
hda: drive_cmd: error=0x04 { DriveStatusError }
ide: failed opcode was: 0xb0



The host is going to mount this HD on the same machine after adding a new hard drive and fresh install... Does anyone have any recommendations for how I can go about recovering data? Specifically mysql databases?

Reply With Quote


Sponsored Links
  #2  
Old 12-14-2007, 01:51 PM
stdunbar stdunbar is offline
Web Hosting Master
 
Join Date: Aug 2002
Location: Superior, CO, USA
Posts: 633
You'll need to go to your backups. You might be able to get data off of the old drive but that data would be suspect in my opinion. Going to your backups is likely to be safer.

__________________
Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums.

Reply With Quote
  #3  
Old 12-14-2007, 01:53 PM
GeXus GeXus is offline
Junior Guru Wannabe
 
Join Date: Dec 2003
Posts: 92
I don't have backups...

Reply With Quote
Sponsored Links
  #4  
Old 12-14-2007, 01:56 PM
GeXus GeXus is offline
Junior Guru Wannabe
 
Join Date: Dec 2003
Posts: 92
If anyone here thinks they would be able to recover the data and would be available in a few hours, please PM your rates. It's pretty important that I get this data. And yes I am adding this to lessons learned in regards to backups.

There is not much data and its plain text so should be fairly easy to determine if it is corrupted. It's also only about 50MB at most in size.

Reply With Quote
  #5  
Old 12-14-2007, 03:16 PM
Adam-AEC Adam-AEC is offline
Web Hosting Master
 
Join Date: Feb 2003
Location: Canada
Posts: 935
You might have decent luck using dd_rescue to create an image of the drive, and then fsck/mount it loop back.

If it's the primary drive, you might have to setup a kvm on it and boot from a live cd to access the drive raw.

I've had good success with this method, as long as the drive is detected by the BIOS.

You can find dd_rescue here:
http://www.garloff.de/kurt/linux/ddrescue/

Reply With Quote
  #6  
Old 12-15-2007, 07:56 AM
StevenG StevenG is offline
Web Hosting Master
 
Join Date: Apr 2002
Location: Auckland - New Zealand
Posts: 1,573
Can probably use plain old dd with the noerror option too.

__________________
Flash Arcade Games

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Hostway Launches Cloud Drive and Cloud Backup Web Hosting News 2013-02-12 11:44:54
Twitter Blames Unusual Data Center Double-Failure for Thursday Outage Web Hosting News 2012-07-27 09:31:50
Megaupload and the Cloud Blog 2012-02-17 09:18:16
Web Host GMO Cloud Launches New Cloud Servers Web Hosting News 2011-06-17 19:42:26
Web Host FireHost Adds SSD and Load Balancing to Cloud Hosting Web Hosting News 2011-06-07 20:46:00


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?