LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 04-26-2010, 12:21 PM   #1
Undermind
Member
 
Registered: Sep 2009
Location: Denmark
Distribution: Arch Linux
Posts: 37

Rep: Reputation: 15
hard drive dying, what is the best way to copy?


hello fellow linux'ers!
I'm in quite a pickle, since i'm suspecting my hard disk is dying. What is the most effective way to save as much data as possible? It's the disk where all my stuff is, so i'll have to copy about 140 Gigabyte of data as gently as possible onto another hardrive of similar size
 
Old 04-26-2010, 12:34 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Undermind View Post
hello fellow linux'ers!
I'm in quite a pickle, since i'm suspecting my hard disk is dying. What is the most effective way to save as much data as possible? It's the disk where all my stuff is, so i'll have to copy about 140 Gigabyte of data as gently as possible onto another hardrive of similar size
If your system is up now, do NOT turn it off, if you suspect the drive is dying.

As far as being gentle goes...not sure that's an issue. Any access of the drive will be just as harsh as any other, but I will suggest that you keep it single-threaded. That is, run ONE copy job, and let it chug along till it's done. Don't fire up three in the background...let the drive process one file at a time.

Method? Depends...if you've got another drive in a USB enclosure, mount it up, and just CP the files/directories over. Maybe burn to CD/DVD? Or if you can access another share over the network, use SCP to copy the data.
 
Old 04-26-2010, 12:47 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
I recommend copying the important data first, stuff you can't replace, then get the rest. Try to reduce drive read and write tasks, so don't run programs that you don't need to, just copy data one file at a time like TB0ne says.

Imaging the drive is another option, especially if the drive is almost full and all the data is just as important, you can use ddrescue to image it to another drive then extract the data that is intact. Use this method if you suspect data to be corrupted and/or you expect parts of the drive to become unreadable soon.
 
Old 04-26-2010, 01:34 PM   #4
Undermind
Member
 
Registered: Sep 2009
Location: Denmark
Distribution: Arch Linux
Posts: 37

Original Poster
Rep: Reputation: 15
Phew! It turns out it was just unproperly handled by wine! My data is safe, even though i did all the wrong things (rebooting). It still works, but i'll keep the advice handy if the need should ever arise. Thanks for the quick replies
 
  


Reply



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
How to know if hard drive is dying? alan_ri Linux - Hardware 26 05-28-2008 12:11 PM
Hard drive dying? Lindy Linux - Hardware 2 11-25-2006 03:03 AM
My hard drive is dying... what to do? terence8888 Linux - Software 6 11-23-2006 03:58 PM
Is this hard drive dying? newmoon Linux - Hardware 5 11-14-2005 02:46 PM
URGENT: Hard drive is dying, need migration AngryLlama Linux - General 12 11-27-2004 10:31 AM

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

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