e43a
![]() |
|
|
|
|
|||||||
| System Hardware Internal storage, motherboards, PCI cards, stuff inside the case. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
I have an external SimpleTech 1TB hard drive that I suspect is going bad. When I turn on the power the light blinks on and off and the system doesn't see it in camcontrol. I removed the drive from the enclosure and mounted it via usb.
Code:
# mount -t ntfs /dev/da1s1 /usr/home/kclark/external I'm running DFT on the drive waiting for the results. I'm not getting an "click of death" from the drive so I'd imagine using dd to remap the bad block will work. Here are my questions. 1. If DFT comes back and says the drive has passed, will dd force a remap of the bad blocks? 2. Is there any good FreeBSD data recovery software? |
|
#2
|
||||
|
||||
|
If you have a drive that is suspected to be failing, the very first thing to do is copy all data from it. If the filesystem can't be mounted, use dd(1) to make an image of the whole drive.
After that has been done, run drive tests, not before, because if the drive really is failing, more running time will lead to more errors and more lost data. Remapping bad blocks is not a cure, and requires writing to them, so it will wipe out existing data on the drive anyway. |
|
#3
|
|||
|
|||
|
wblock -- thanks for the reply. I can't use dd to make an image because I don't have another drive around large enough to fit the data. The good news, I got all essential data off last week so if I do end up with anymore lost data it's no big deal.
Just for education sake let me ask this question, if the drive comes back as pass with DFT what could cause the disk to not mount? I've already come to the conclusion the reason the drive wasn't spinning up in the first place was because of the enclosure...once I removed the drive it spins up and can be seen. |
|
#4
|
|||
|
|||
|
If you can't copy all the data off the drive due to lack of space then recovery is going to be a lot harder. You could try installing PhotoRec (part of the TestDisk suite). It will try to work with the original drive and grab any good pieces of data or files. Ideally it should be run on an image of the drive, but it can work with physical hardware.
|
|
#5
|
||||
|
||||
|
If the drive is fine, I'd suspect filesystem corruption from the failing power supply. NTFS just makes that worse. The existing filesystem may be repairable with sysutils/ntfsprogs or a live CD that includes them, like GParted. Otherwise, reformat, preferably with something more cross-platform than NTFS.
|
|
#6
|
|||
|
|||
|
It was a bad drive, when I ran dd sometime it'd write 30ish GB of data, I'd run again it's write 130ish GB, I did this and it gave different results each time before giving me an input/output error. Time for a new drive.
|
|
#7
|
|||
|
|||
|
You can try dd_rescue. It's the same work as dd but it can managed failing disks (depends on the failing causes and damage state).
__________________
http://lacabanedeladmin.dyndns.org/ |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ZFS Data Recovery | passager | System Hardware | 7 | October 21st, 2011 22:48 |
| Vinum Data Recovery | SkymanScott | General | 0 | July 6th, 2011 18:52 |
| Data recovery | Nick2011 | General | 1 | June 18th, 2011 19:06 |
| [Solved] Data Recovery | mairving | System Hardware | 11 | May 28th, 2010 02:36 |
| vi recovery | Seeker | General | 7 | December 5th, 2009 21:35 |