LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-10-2007, 03:52 AM   #1
Eppo
Member
 
Registered: Feb 2007
Location: NY
Distribution: Arch, Ubuntu
Posts: 77

Rep: Reputation: 27
may my hd be recoverable?


the other day one of the hd in my raid array began making a clicking noise, and i wasnt able to write to the drive. i was going to just copy the stuff over to my other computer, but i couldnt do that either. then when i restarted the computer, the drive wasnt even recognized. the drives are disconnected as of now, and only the 1 hd with the os on it is running. of course that raid is a raid 0, it has all my mp3 and other stuff i would like to get my hands on.
i'm just wondering if any of you have been in a similar situation.
hopefully i can recover from this, then i'm going to build a raid5 so i can have some peace of mind that i wont lose all my files.
thanks
joe
 
Old 05-10-2007, 04:33 AM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by Eppo
the other day one of the hd in my raid array began making a clicking noise, and i wasnt able to write to the drive. i was going to just copy the stuff over to my other computer, but i couldnt do that either. then when i restarted the computer, the drive wasnt even recognized. the drives are disconnected as of now, and only the 1 hd with the os on it is running. of course that raid is a raid 0, it has all my mp3 and other stuff i would like to get my hands on.
i'm just wondering if any of you have been in a similar situation.
hopefully i can recover from this, then i'm going to build a raid5 so i can have some peace of mind that i wont lose all my files.
thanks
joe
your not going to like this but unless you can get the second drive to stay running long enough to copy you've lost everything.

basically every file is divided into 64Kbyte pieces every second one is written to a seperate disk.

even if you get anything back from a single drive you''l get

the first 64kb third 64kb fifth 64kb etc

you won't get any full use able files.

excepetion of course is files smaller than 64Kb you can be lucky.
 
Old 05-10-2007, 04:49 AM   #3
Eppo
Member
 
Registered: Feb 2007
Location: NY
Distribution: Arch, Ubuntu
Posts: 77

Original Poster
Rep: Reputation: 27
yah i know, i guess i'll play around and see what i can do. i've heard good things about spinrite, i'm going to see if i can get the drive to be recognise, and see if i can ghost it, or run spinrite on it. but i'm looking for some other ideas from you guys. basically i just want to get the info off it and ghost it onto another drive, get the raid working, then i'm going to copy all of the files onto a raid5. just want this to be a learning experience that wont cost me all my files.
 
Old 05-10-2007, 05:01 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
How many drives made up the array. Raid 0 isn't really raid. One drive is appended to the other. You might be able to mount the first drive if it isn't the one that was bad. I'm not sure of that however. They do sing the praises of SpinRight on Security Now, but Steve Gibson is the host, so that is what you would expect.

You might want to check with an email or phone call to make sure that a linux drive that is a part of a raid 0 array can be repaired.

Last edited by jschiwal; 05-10-2007 at 05:03 AM.
 
Old 05-10-2007, 06:27 AM   #5
theYinYeti
Senior Member
 
Registered: Jul 2004
Location: France
Distribution: Arch Linux
Posts: 1,897

Rep: Reputation: 63
You might get your data back with
http://www.garloff.de/kurt/linux/ddrescue/
or
http://www.gnu.org/software/ddrescue/ddrescue.html
(those are two different products despite the similar names)

Yves.
 
Old 05-10-2007, 09:36 PM   #6
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
Use System REscue CD

You can burn system rescue CD from
www.sysresccd.org
its a good lightweight live cd to rescue your system. It has ddrescue.

update

I forgot to say that if I were you and the files weren't valuable to me, and I had a backup, I would use ddrescue to copy the broken hard drive bit for bit to another, of the same size or larger hard drive. That way, the new drive will have the same exact data form as the old HDD and act the same way, as if nothing ever happened.

The risky thing about this is that copying that much data takes a long time, and having a hard drive that's failing and attempting to ddrescue it is very very nerveracking.

if you try this (remember, it's risky), use the bs=500k or some other block copy size to speed up the operation. (limited by your memory amount)

Last edited by lambchops468; 05-11-2007 at 09:13 PM.
 
Old 05-10-2007, 09:53 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,333

Rep: Reputation: 126Reputation: 126
Since it's a RAID0, it's unlikely that you'll get anything usable off of it unless you can get that drive back up for a bit.. Like carl0ski points out, the data is striped and every other chunk (64K generally) is on a different drive. If you can get the failed drive running long enough to use ddrescue to make a copy, then you can get it back. Otherwise, sorry; it's all gone.
 
Old 05-10-2007, 09:55 PM   #8
urgeNtly
LQ Newbie
 
Registered: May 2007
Posts: 4

Rep: Reputation: 0
Trying to mount a directory on a server called server2.

mount -t nfs 192.168.1.20:/woot/one /one
mount to NFS server '192.168.1.20' failed: server is down
mount -t nfs server2:/woot/one /one
mount: can't get address for server2

why?
 
Old 05-11-2007, 12:12 AM   #9
mr.v.
Member
 
Registered: Jun 2006
Distribution: Slackware 11
Posts: 59

Rep: Reputation: 15
I had good luck recovering a dead drive using spinrite but it costs a perty penny...
 
Old 05-11-2007, 02:30 AM   #10
Eppo
Member
 
Registered: Feb 2007
Location: NY
Distribution: Arch, Ubuntu
Posts: 77

Original Poster
Rep: Reputation: 27
i had a few minutes to play around with it yesterday morning. it only makes that clicking noise when it starts up, lets say for about 30 seconds. after the 30 seconds it sits just like a normal hd, and it is spinning. but the problem is that during that 30 seconds is when the bios gets the info from the drive, so it never finds it. i through the drive in a windows box, and it doesnt recognise the drive, and windows doesnt see it either. i might open up the top to see whats going on. or maybe there is a program i can use that will actually look to detect drives after the os is loaded. guess i'll have to play around with different programs and see what i can get. would be nice if i could ghost that drive.
 
Old 05-11-2007, 08:38 AM   #11
mr.v.
Member
 
Registered: Jun 2006
Distribution: Slackware 11
Posts: 59

Rep: Reputation: 15
Why not then just enter bios when the computer starts up to let it sit there for a while until the drive spins up okay? Then, exit bios and let it continue on its merry way...
 
Old 05-11-2007, 09:30 AM   #12
lambchops468
Member
 
Registered: Mar 2007
Location: New Jersey, USA
Distribution: Archlinux
Posts: 165

Rep: Reputation: 30
Or you could use an old AT PSU at the same time, with your broken drive connected to that....Maybe that would work (because At PSU's have a power switch that actually turns on power to the molex connectors)
 
Old 05-11-2007, 08:41 PM   #13
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by jschiwal
How many drives made up the array. Raid 0 isn't really raid. One drive is appended to the other. You might be able to mount the first drive if it isn't the one that was bad. I'm not sure of that however. They do sing the praises of SpinRight on Security Now, but Steve Gibson is the host, so that is what you would expect.

You might want to check with an email or phone call to make sure that a linux drive that is a part of a raid 0 array can be repaired.
your thinking to LVM or JBOD
Raid 0 splits up the file system every chunk
the file system is divided into two right from the beginning.
it interlaces one disk to the next.

It does not use one disk till its full and then move to the next
 
  


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
USB Disk - Reports as 8Mb - Recoverable? victorhooi Linux - General 1 10-27-2006 07:16 PM
"NON-RECOVERABLE RESOLVER ERROR" when installing ports jamminparidise *BSD 1 02-11-2004 08:33 PM

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

All times are GMT -5. The time now is 06:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration