General :: Saving Data From A Failing Drive?

Dec 29, 2010

An external 3½" HDD seems to be in danger of failing” it's making ticking sounds when idle. I've acquired a replacement drive, and want to know the best strategy to get the data off of the dubious drive with the best chance of saving as much as possible. There are some directories that are more important than others. However, I'm guessing that picking and choosing directories is going to reduce my chances of saving the whole thing. I would also have to mount it, dump a file listing, and then unmount it in order to be able to effectively prioritize directories. Adding in the fact that it's time-consuming to do this, I'm leaning away from this approach.

I've considered just using dd, but I'm not sure how it would handle read errors or other problems that might prevent only certain parts of the data from being rescued, or which could be overcome with some retries, but not so many that they endanger other parts of the drive from being saved. I guess ideally it would do a single pass to get as much as possible and then go back to retry anything that was missed due to errors.

Is it possible that copying more slowly — e.g. pausing every x MB/GB — would be better than just running the operation full tilt, for example to avoid any overheating issues? For the "where is your backup" crowd: this actually is my backup drive, but it also contains some non-critical and bulky stuff, like music, that aren't backups, i.e. aren't backed up. The drive has not exhibited any clear signs of failure other than this somewhat ominous sound. I did have to fsck a few errors recently — orphaned inodes, incorrect free blocks/inodes counts, inode bitmap differences, zero dtime on deleted inodes; about 20 errors in all.The filesystem of the partition is ext3.

View 2 Replies


ADVERTISEMENT

Fedora :: Recover Data From Failing Hard Drive

Jun 26, 2010

Using F12 with a LVM Volume, Single disk with OS on and boot partition. The OS HDD is getting i/o errors, but will still boot to the login screen. I've removed the HDD and connected it to a Fedora Live OS on my laptop, connected the HDD and it registers as :

[root@localhost]# fdisk -l /dev/sdd
Disk /dev/sdd: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e0069

Device Boot Start End Blocks Id System
/dev/sdd1 * 1 26 204800 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sdd2 26 30401 243991201 8e Linux LVM

And it tried to mount /dev/sdd2 to view and see if I can recover some files.
[root@localhost]# mount /dev/sdd2 /mnt -t ext4[root@localhost james]# mount /dev/sdd2 /mnt -t ext4
mount: wrong fs type, bad option, bad superblock on /dev/sdd2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Any way to mount the partition to allow me to try and get some data back, or if trying to do a full backup of the drive you can get it to ignore i/o errors.

View 1 Replies View Related

General :: 4 Month Old Drive Failing?

Apr 11, 2011

I have a 2 Tb drive that Linux is saying is failing, the reason for this is Relocated Secotor Count, should i really worry and why is it happening to such a new drive its only 4 months old I received it on December 30th I woudl think it would not be bad at this point.

View 14 Replies View Related

General :: Booting - Lvm - Failing Hard Drive - Ubuntu Server

Aug 3, 2009

I seem to have a complex issue on my hands that i can't figure out. first, i wasn't able to get access to my LVM'd hard drives via SSH without half of the content being missing or locked out (read-only or unable to open at all). the problem then went up to being unable to boot up - all i got was a long slew of [100.1234] ata1.00: error messages (they eventually DO stop once they get to around 998.234234 or whatever, and then i can log in and it seems to be "stable").

Part way through this rebooting ordeal i realized / decided to make power-on-self-test stop and wait if it finds errors (via bios) - that showed me that my 750G SATA drive is "bad" and my two (older) 120G & 250G IDE drives are "ok". i then unplugged the SATA drive, rebooted, and didn't see those error messages. however, my LVM was still obviously not coming together (since LVM was made up of the 120G, 250G, and 750G drives)

So, now it seems:

a) I can't boot smoothly with all drives in place
b) I can't do anything with lvm if i remove the 750G sata
c) With all drives hooked up, i can wait 10mins for the errors to go away, but STILL can't do anything with lvm
d) I need to recover the lvm stuff so that i can nicely migrate ALL those files (1.1TB of it) onto a new 1.5TB drive and do away with lvm

This is all running ubuntu 7.10 server edition (32-bit version on a 64-bit computer). i DID post a question on the ubuntu forum as well but so far got no replies at all.

Here's a few pics of the booting process, with one or two "fail" lines showing.

View 14 Replies View Related

Software :: Failing HD And Knoppix Not Seeing Data Partition

Mar 11, 2009

The HD in my Sony Vaio suddenly won't boot and all attempts to repair it have failed. All I care about at this point is recovering the data, so I tried to access it with Knoppix. After a "dirty drive" error message, I was able to view the contents. The problem is that it seems to only be recognizing the Sony recovery partition and not the Windows/Data partition. The drive size is detected at less than 10 gigs when it is actually 250GB. I am completely green when it comes to Linux. How can I access the data partition so I can back it up to an external USB drive?

View 6 Replies View Related

Ubuntu :: Manage Home Folder - Pick Their Own Conventions For Saving Data And None Of Them Are The Same

Mar 15, 2010

I was digging through my laptop tonight and I realized I'd like more control over my home folder. It seems as though programs installed on my laptop just pick their own conventions for saving data and none of them are the same. Some programs store their data in self named hidden folders, others use ~/.config and others use ~/.local/share to put their stuff. Is there a way I'm missing to get all these to cooperate or are we doomed to always having programs making themselves at "home" and just tossing off their shoes wherever they like?

View 9 Replies View Related

Programming :: Saving File Data Using Python In An Embedded System In An Safe And Fast Way?

Apr 19, 2011

I am developing a program in a system where the Linux does not take care of the sync command automatically. So I have to run it from my application always I save some data in the disk, which in my case is a 2GB sdcard. It is true that I can make the operation system takes care of the syncronization, using a proper mount option, but in this case the programm's performance drops drastically. In particular I use the shelve module from Python to save data that comes from a socket/TCP connection and I have to deal with the potencial risk of the system being turned off suddenly Initially I wrote something like that to save data using shelve:

Code:

def saveData(vo)
fd = shelve.open( 'fileName' , 'c')
fd[ key ] = vo
fd.close()
os.system("sync")

But that takes too much time to save the data. Note that I use the sync from the OS every time I close a file to prevent data corruption in the case of the "computer" being turned off with data even in the buffer. To improve the performance I made something like that:

Code:

def saveListData( list )
fd = shelve.open('file_name', 'c')
for itemVo in list:
fd[itemVo.key] = itemVo
fd.close()
os.system("sync")

Thus, first I saved an amount of objects in a list then I open the file and save the objects. In this way I have to open the file just one time to save a lot of objects.However I would like to know if adding a lot of objects before closing the file would increase the risk of data corruption.I known that turning off the system after fd.close() and before os.sync may cause problems. But what about turning off the system after

Code:

fd = shelve.open('file_name', 'c')

but before fd.close()?

View 7 Replies View Related

Debian :: Saving ISO To Hard Drive

Feb 26, 2015

Is there a way to save the iso dvd. So that I do not have to put them in when adding programs.

View 5 Replies View Related

General :: RAID A Drive Already Containing Data?

Aug 13, 2010

I currently have a 1.5TB sata drive connected to my system, with data already on it. In the next few days I am planning to use mdadm to create a raid5 array with another 2 1.5TB drives along with the one I already have. Is it possible to create the raid without losing the data on my current hard drive? Obviously it will be backed up before hand just in case, but it would be nice not to have to restore nearly a TB of data after raid'ing the drives.

View 2 Replies View Related

Ubuntu :: Ddrescue On A Failing Drive?

Nov 28, 2010

extract some data off a failing drive the other day. I plugged it in, but got no response in windows or linux (partition is ntfs), but it does appear in the bios and /dev (though the hdd hung most linux liveCDs except rescue remix 9.04). I tried to analyze the drive, and found good smart data, so I figured there were just a few bad blocks in critical places. I ran spinrite against it in level 2 mode. the process crawled (40MB after 2 hours) and it updated the smart data to reflect many many reallocated sectors, putting the drive into a failing state as far as smart is concerned. so, now, in a last ditch effort I am turning to ddrescue to try to get an image of the drive. it's been running about 17 hours now, and has done several complete passes through "Splitting error areas".

here is my current output:

Code:

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[code]....

have I done all I can? can I in good conscious declare this a lost cause? I do have an image from a prior run of ddrescue, with 826 MB of data.

edit: I resumed the task from log, and now it is reporting the err size as 9223 PB. since the drive is a 320GB, I find that a bit odd.

View 1 Replies View Related

General :: Data Unreadable On 1 TB Hard Drive?

Jul 19, 2010

I have a Seagate 1TB external USB 2.0 hard disk which contains 740 GB of data. Everytime I connect, it shows the memory occupied and the remaining memory(190GB)..but when i try to access the folders inside they read empty... nothing is seen in the folders.. I am unable to read any data from it or write to it... Same is the case with Windows When I run self-test in Linux ubuntu I get

Reallocated sector count
threshold: 36
Normalized: 61
Worst: 61
value: 6488

Current pending sector count:

Normalized:1
threshold: 0
worst: 1
value:2036

View 1 Replies View Related

General :: Keeping All Data Off The Hard Drive?

Oct 4, 2010

My friend just got a gaming laptop that he won't let anyone else use (his last one got infected when his girlfriend surfed on it for just one hour -- he refuses to use antivirus since he claims he knows how to keep clean, but he doesn't trust others).

Because I used Linux a bit once, I said to him what if I could promise not to make any changes to your hard drive, and I told him that I was pretty sure I could boot to a live cd and then only write files to a usb key. He's actually willing to let me try (I showed him some linux sites I was looking at, and he believes me that we can do this).

1) Is there anything I either MUST do or else must NOT do to make sure I make no changes to his laptop's hard drive? And so that any changes are only going to go on the usb drive I hook up?

2) Since he's got an i7 processor, I assume I should get a version of ubuntu that supports 64 bits, right?

View 6 Replies View Related

Ubuntu :: Saving OS Configuration - Reimage Hard Drive?

Jan 31, 2011

In MS Windows, I used a program to re-image my hard drive. It was a great way to keep my OS configurations backed up in case of trouble. Linux is more stable, but I'm capable of doing more damage to it. So is there a good way to re-image this HD? I don't see the old MS program (Acronis) for Linux. Or, is there a way to save all of the synaptic programs I have downloaded so that I could more easily reload them if needed?

View 1 Replies View Related

Debian Hardware :: How To Diagnose Failing CD Drive

Feb 14, 2011

I've got an LG CD/DVD player/writer in my desktop, and it's suddenly stopped working. No error messages at all, but it doesn't acknowledge any discs any more, whether they're CDs or DVDs or CDRWs or anything. How can I diagnose what's wrong? It's only 1.5 years old so I wouldn't expect it to be a hardware problem really, but I can't think of anything else. At first I thought I'd broken something with Squeeze, but I ran a live system from USB stick and it also can't read any discs at all. Also I tried a bootable DVD and couldn't get that to boot either, so I'm pretty confident it's not a software problem. It's always worked fine before and hasn't had any shocks or moves or anything (that I know of). The green light flashes when I close the drawer, just flashes a few times and then stops. There's nothing in /var/log/messages. Are there any tricks to figure out what might be wrong or is it looking like I need to buy a replacement drive?

View 4 Replies View Related

Ubuntu :: Drive Keeps Failing Out Of Software RAID?

Jan 26, 2010

I have 4 1.5 TB Seagate drives configured in RAID 5 via mdadm on Karmic. It seems that after a while, one drive always drops out of the array. It's a brand new drive, and after a reboot, it will come back in and rebuild just fine, so somehow I doubt the drive is actually failing. Here's a dmesg snip. The mounting that happens at the top is the mounting of the array, and as you can see, after a while, there is some kind of write failure.

[70178.385356] EXT3 FS on md0, internal journal
[70178.385373] EXT3-fs: mounted filesystem with writeback data mode.
[95234.954141] ata5.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[95234.954160] ata5.00: cmd ea/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[95234.954162] res 40/00:00:c6:66:a8/00:00:ae:00:00/e0 Emask 0x4 (timeout)
[95234.954168] ata5.00: status: { DRDY }

[Code]...

View 1 Replies View Related

Hardware :: Hard Drive Failing Using Dd To Copy To A New One?

Jul 3, 2010

In my laptop I have a 200GB hard drive that is starting to make clicking and grinding noises and won't boot about every third try.

Code:
root@Frank2:/home/bruce# fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code]...

/dev/sdb is a usb flash drive that has pmagic (not sure of the version, but it's 2.6.32.9-pmagic kernel, so I think it's the latest version). I'm posting from pmagic right now because I don't want the failing disk to get any worse until I get this sorted. I also know there is a post here called something like 'learning the dd command' or 'mastering the dd command' or something to that effect, but I can't find it for the life of me (I have it bookmarked on the failing drive, of course). If someone could point me to that post,

View 8 Replies View Related

Ubuntu :: Drive Failing And Need To Move Partitions?

Sep 14, 2010

I have 2 500gb drives in my system. One of the drives I use for swap and home is failing, good thing it is under warranty... Bad thing I have to remove the drive from my system.

I have / on the first drive taking it all up. On the drive that needs replaced I have /swap and /home taking up the whole drive.

Is there a way to shrink /dev/sda to put swap and home on that drive and to move it back when new drive arrives? Or would it be simpler to just re-install to one drive?

View 4 Replies View Related

General :: Removing All Hard Drive Data Quickly

Feb 20, 2011

I'm looking for a way to quickly remove all data/partitions/boot records from my hard drives while running linux (distribution is irelevant). There are lots of ways to do this that I know of, but they all have some problems. Here's a list of what I've tried/thought of already. The most obvious is fdisk: Simply delete all the partitions. This usually works just fine and is very quick, but there are times it just doesn't....I'm realy not sure what gets left behind...I remove the MBR as well..but whatever it is, it's in the way. A couple other options are:

dd if=/dev/zero of=/dev/sdb bs=1M
shred -vfz -n 1 /dev/sdb

Both of these approaches are great if you're selling the components and want to make it very difficult for anyone to recover data. The draw-back is they take so very long to run. I've got four 1.5 TB drives that I've been writing zeros to for 2 days now. If you thought watching grass grow or paint drying was boring. A hundred years ago or so, when I was doing tech support for Windows 95 users we used this nifty dos-based debug script to wipe the hard drive. It was sort-of a last resort thing, but it worked beautifully, most of the time. If the customer had already formated, fdisked, fdisk /mbr, reinstalled Windows, but still couldn't get the thing to work, this would clean the drive so you could do a fresh install.

Just in case someone wants this, I'll post it. To use: first boot to some type of DOS environment in which you have the program "debug".

debug
-F 200 L1000 0
-A CS:100
xxxx:0100 MOV AX,301
xxxx:0103 MOV BX,200
xxxx:0106 MOV CX,1
xxxx:0109 MOV DX,80

NOTE: Type 80 for the primary hard drive - HD 0,
or type 81 for the secondary hard drive - HD 1.
In most cases, the primary hard drive is required 80.

xxxx:010C INT 13
xxxx:010E INT 20
xxxx:0110 (Leave this line blank. Press the <Enter> key to continue.)
-G

The message Program terminated normally appears. How to do something like that while running linux?

View 9 Replies View Related

General :: Does Memtet86 Write Any Data To The Hard Drive

Jan 25, 2010

Does memtet86 write any data to the hard drive? or leave any data in memory once the test is complete. If so does turning of the machine or reboot clears the memory?

View 6 Replies View Related

General :: Reading The Manufacturer Data / Device ID On A USB Drive?

Jun 28, 2011

I wish to read the Manufacturer data and other details such as Device ID, Serial number on a USB drive.

1. Could anyone help me out with information on the memory structure of a USB drive? (which location is the mnfr data stored?)

2. Are there are any commands in Linux that will help in reading/accessing this data?

View 3 Replies View Related

Ubuntu Networking :: Failing At Fstab For Shared Drive

Dec 20, 2010

I have an external HD attached to my desktop and setup as a shared resource. I want to be able to access it from my laptop as well. After much trying and drinking, I ended up with this in fstab:

//crackbox/seagate /seagate -o

then began giving me an error about not recognizing the file system type. I've been reading everything I can find and trying to get it to work, and have come up with very little. My fstab now contains this line instead of the above:

[code]...

Now, when I reload fstab with "sudo mount -a", I get this output:

[code]...

View 9 Replies View Related

Hardware :: Can Clone Failing Hard Drive Easily?

Jun 8, 2011

I have a 3 weeks old PC which I've just finished getting set up with Ubuntu 11.04 and W7 in a Virtual Box. Now the drive has started making rumbling noises and doesn't always boot.The engineer from Dell is coming tomorrow to replace the drive, but what can I do about transferring the whole old drive to the new one in full working order, quickly?

I've been using rsync to keep backups of my home folder, so I've got the data side covered. But I don't really want to spend the next couple of weeks re-installing all the software, printers etc all over again. So is there a quick, easy way of replicating the old drive with partitions, VB, etc (I'm not that good at using the terminal) ?

View 5 Replies View Related

Hardware :: NTFS Drive Failing While Recovering Files

May 19, 2010

I have an external drive that has been formatted as NTFS and I need to recover the files. For the most part, on windows, I can read the drive however When I'm copying, it interrupts with an I/O failure. Is there a way to copy the files from Linux and have it continue even if it has an error?

View 3 Replies View Related

Hardware :: Squeezing More Life Out Of A Failing Hard Drive?

Jun 3, 2010

I'm using xubuntu on a box that has 2 drives. One is quite small mounted as / and the other larger drive is mounted as /home Both drives are IDE The /home drive has had some failure in the past & occasionally creates errors. Is there any way of identify which sectors are bad (or good) and isolating them to try & get some more use out of the drive?

It won't be used for storing valuable data.It is an old box for visitors to use. But it would be handy to use it to store some large read-only audio files. I've installed smartctl & could post output from there if you think it is useful. I can't work out how to interpret the information.

View 7 Replies View Related

Software :: Unetbootin Failing To Create Bootable Drive?

Sep 22, 2010

i have a Sandisk 5gig USB key that had mint 9 live on it that i was hoping to get an old brotasaurus (Dell Latitude D510) up and running again with. apparently Mint is too pretty for the beast and so I tried to get mint Fluxbox to install on to the key, then i tried Fedora, and finaly i tried DSL. Unetbootin seems to have stoped making the key bootable as three of my laps seem unable to read it.

[Update] so i tried dd'ing the iso to the usb following the instructions on the suse site

# umount /dev/sdb1
# dd if=/home/Derf/Downloads/dsl-4.4.10.iso of=/dev/sdb1 bs=4M;sync
and it is still failing to create a bootable usb. says

missing operating system

intel UNDI, PXE-2.1(build 082)
copyright (C) 1997-2000 Intel Corporation
For Realtek RTL8101E/8102E PCI-E Ethernet Controller v1.08 (080408)
PXE-E61: Media test failure, check cable
PXE-M0F: Exiting PXE ROM

View 4 Replies View Related

General :: TaskWarrior: Lost 'pending.data' Due To Full Drive

Aug 5, 2011

I didn't realize my system drive had filled up... and TaskWarrior overwrote my 'pending.data' with a 0-byte copy. d-: I had worked SO hard to get all my tasks imported from various other notes (many of which I deleted along the way), and hadn't yet prepared for the possibility of data loss. Should've set it up to use my Dropbox...why doesn't TaskWarrior make ANY backup buy default? That data is so important, and yet so small and trivial to backup. Anyway, my 'undo.data' is totally intact and seems to contain all the information theoretically needed to reconstruct 'pending.data'. Unfortunately right now I have no sample 'pending.data' to look at. d-: OR: does anybody know of a simple Linux utility I can use to recover previous file versions? It's possible no data was overwritten, since the replacement is empty.

View 1 Replies View Related

General :: EXT4 - Recover Any / All Of Data From Formatted Media Drive?

Jun 4, 2010

Last night I made the mistake of formatting my media drive. Before the format, it was ext4. then I formatted it to ext4 again because I wasn't paying attention to what I was doing(this mistake only gets made once). Now im looking for away to recover any/all of my data. The drive in question is 1tb. I have not written any new files to this drive.

View 5 Replies View Related

General :: Multiple Distros - One Data Partition - External Drive

Apr 8, 2010

I've got an external hard drive with one large data partition on it. I also have four computers to connect it to (individually, not at the same time). Three machines are running Slackware and one is running Ubuntu 9.10. I need to be able to just plug the drive into whichever machine, mount it (preferably to the same location each time) and not have to worry about user permissions and such. Do I just chmod 777 all the files and folders or is there a better method for different 'users' to access the same partition? And how about mounting to the same location each time?

Now the second part of my question I'm pretty sure I'm not able to do but just in case..... is there any way to encrypt the information safely and make it compatible with a Windows XP machine?

View 4 Replies View Related

General :: Restore Overwritted Data Of Knoppix Formatted 2nd Drive?

Jan 12, 2011

whilst installing knoppix 6.3 to my sda, i clicked use all drive and my sdb drive is showing no files in it? has it wiped them out?

View 1 Replies View Related

Fedora :: Finding A Backup Failing Laptop To Standalone Drive?

Feb 11, 2010

I am running Live 12 on my CD rom drive of my dying laptop. I have a major Windows registry error on that system and am working to recover my files. I have successfully moved a couple of folders from the laptop to my Seagate Free Agent Drive as a test.What I would like to know is, is there a way to copy my files and folders without literally dragging and dropping each one? We're talking 140 G of folders....sigh.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved