Questions about recovering data. Includes data loss due to hardware failure, software failure, and user or administrator failure (accidental delete). Please also add tags for the specific things involved, such as /raid, /ext4, /hard-disk, /rm, etc.

learn more… | top users | synonyms

5
votes
2answers
571 views

Recover deleted file that is currently being written to

I started downloading a big file and accidently deleted it a while ago. I know how to get its current contents by cping /proc/<pid>/fd/<fd> but since the download is still in progress ...
4
votes
2answers
4k views

Why can't I copy my DVD with dd?

I tried dd, dd_rescue and ddrescue, all failed. I thought these tools bypass the filesystem and make a bitwise copy. dd is fooled, it finishes but just produces a small file and states it's finished. ...
5
votes
2answers
3k views

Does LVM increase the risk of data loss?

Let's say I have two identical disks, and I set one LVM logical volume on them (no mirroring). Question: What will happen when one of the disks fails? I will lose all the data from all the disks I ...
3
votes
1answer
2k views

What is the fastest way to write all sectors on a drive?

The goal in my case is not to securely erase data, but simply to force sector reallocation by the drives firmware. I have a drive that has had a few file corruptions. It seems to be due to getting ...
1
vote
0answers
1k views

WD MyBook 3TB - Gparted failed & HDD partitions recovery?

I have this new WD MyBook external HDD (USB 3.0/2.0); I created 3 partitions all of them ext3 type (~1 TB | ~1 TB | ~750 GB) I loaded lots of files all the partitions were like ~30% full on each, and ...
5
votes
2answers
1k views

Overwrote Windows with Linux, how can I recover data?

While installing Ubuntu 11.10 (ext4) I accidentally chose a wrong partition and it overwrote my Windows 2003 installation (ntfs). How can I recover files? So far I tried photoRec and it recovered ...
1
vote
1answer
279 views

Raid5, what could happen? Partition corruption, now what do I do?

First, I probably deserve this for not having a backup. My system was installed with Debian and Mint11. I recently installed Mint12 to play with. I expected all three to continue to work. I can no ...
1
vote
1answer
499 views

Create recovery medium from Windows 7 recovery partition

Many laptops are delivered with Windows 7 recovery partition (but without CD or DVD) which takes place on the harddrive that could contain some Linux distribution or serve for data storage. I don't ...
14
votes
2answers
1k views

.bashrc overwritten but still sourced — how can it be recovered?

Usually when I find a command I want to alias, I echo it to my .bashrc like so: [up button pressed to last command, then line edited so that it reads] $echo "command-i-just-did" >> ~/.bashrc ...
4
votes
1answer
4k views

Recovering NTFS drive with safecopy

Several days ago, I dropped my USB external hard disk. As a result, I cannot read some of the files. I would like to recover it, and now I am using safecopy. I used the following command, sudo ...
1
vote
1answer
328 views

is it possible to recover a raid 5 array by using usb enclosures?

I had a RAID 5 (Linux software RAID) server which recently decided not to boot anymore. It seems to be a motherboard problem possibly due to not being protected by a UPS during a power failure. It ...
4
votes
1answer
13k views

mount: wrong fs type, bad option, bad superblock on /dev/sdb on CentOS 6.0

Somehow my partition on /dev/sdb has gotten all buggered up. This hard drive contains a lot of data that I need to recover and haven't been able to backup yet. When I attempt to mount it: # mount -t ...
2
votes
1answer
119 views

Worrisome HD related messages after power outage

Had a power outage two weeks ago on my BSD server that my UPS decided then was a good time to fail. Just fired it up this evening only to have the following errors show during what I would assume is ...
1
vote
2answers
573 views

How to undelete/restore the deleted files in ubuntu linux [duplicate]

Possible Duplicate: Recovering deleted files on fedora undelete files from local fileserver I accidentally did rm * in a directory instead of another directory from console in a Ubuntu11 ...
1
vote
1answer
89 views

Recovering Ubuntu

My Ubuntu 11.04 guest on VBox 4.0.10 crashed when I was working. Is there a way to go back to previous working configuration? I have always used the saved state and power off option. I did not take ...
9
votes
2answers
3k views

File damaged/lost during transfer? Recovery possible?

I was at uni a few days ago when I attempted to cut and paste a 500Mb file (a 3gp video recording) into my H drive on one of the uni network's Linux (Debian KDE 3.5) computers. I did not see any ...
4
votes
4answers
2k views

How to recover a file just deleted [duplicate]

I just deleted a file in Nautilus with Shift+Delete, which warned me that "If you delete an item, it will be permanently lost." I wonder if there is no way to recover the file? My OS is Ubuntu 10.10. ...
11
votes
4answers
1k views

Accidentally executed sudo rm /* on a remote server

I accidentally executed rm /* while logged in as root in a remote Ubuntu Server and deleted pretty much all binaries and currently I can neither log in via ssh or ftp to restore the files (and hope ...
3
votes
2answers
1k views

How to recover saved (stored) emails after damage to KMail configuration?

Recently my computer had to be hard-reset, and fsck ran on /home filesystem, producing lots of errors (old HDD drive). After reset I don't see all my saved emails in KMail (KDE 3.5.3), at least those ...
3
votes
4answers
3k views

Recover files from corrupt DVD

I have a DVD+RW containing a lot of images and videos. Multiple DVD drives fail to read or mount it. I tried to follow this to try and recover the files using DVDisaster, and have created an iso file. ...
3
votes
3answers
6k views

How to recover a corrupted “tar.gz” file

I suddenly needed to recover an old tar.gz file, but as soon as I execute so: tar -zxvf filename.tar.gz I get this: gzip: stdin: invalid compressed data--format violated tar: Child returned ...
3
votes
2answers
1k views

Recover formatted ext3 partition

Suppose you have an ext3 partition which was unfortunately formated as ext4 partition (and where now are some but not a lot new files on it). Is there any way to recover (some) files from the old ext3 ...
2
votes
2answers
3k views

Use testdisk and gpart information to mount ext4 partition

I am trying to recover the ext4 partition table of a 2TB disk, where I have 900.000 files. I have cloned the original HD and now I am working on the cloned HD. And I am running Parted Magic Live CD. ...
2
votes
3answers
1k views

Shift+delete vs rm -rf

Are Shift+Delete and rm -rf different? Is it possible to recover deleted data after performing either of them?
4
votes
2answers
901 views

undelete files from local fileserver

I have a NAS (mybook world white light) in my living room where all my music and stuff is stored. I've mounted the music folder of the nas in the local music folder of my home directory on my desktop ...
4
votes
2answers
1k views

How to recover my directory structure and files from a messed-up partition

Something strange (don't ask) happened on my external hard-drive, resulting in (important) data being unreachable... I am failing to mount it. That data was sitting on a vfat filesystem. I can get ...
8
votes
5answers
26k views

How to recover data from a bad SD card?

I have a 4GB SD card with some family pictures on it that I need to recover. When I insert the card into my card reader, it shows up as an unknown 32MB device (as /dev/sde) and cannot be mounted. When ...
3
votes
1answer
1k views

A Live CD distro for getting data off a NTFS partition without X Windows

The Windows partition on my laptop seems to refuse to boot, and since I lack the original install CD, I was thinking of installing my preferred Linux distro, Arch on it. I want to recover data off ...
4
votes
6answers
1k views

I accidentally removed /var/www/ on my Linux server

I ran rm -drf on my web server and accidentally removed everything inside /var/www/. Of course, it had everything for our website in it. How can I undo this? Or is it possible to restore it to a ...
3
votes
1answer
446 views

Linux equivalent of GraphClick?

Is there a piece of Linux software that does what GraphClick does in Mac OS X? That is, is there a Linux software that "is a graph digitizer software which allows to automatically retrieve the ...
3
votes
3answers
778 views

Rolling back a file

I have a situation, a colleage of mine overwrote PHP files that I've made changes to , is it possible to roll back a file to a previous working version using the command line. No svn repositories are ...
18
votes
2answers
37k views

How to recover a crashed Linux md RAID5 array?

Some time ago I had a RAID5 system at home. One of the 4 disks failed but after removing and putting it back it seemed to be OK so I started a resync. When it finished I realized, to my horror, that 3 ...
11
votes
3answers
1k views

saving data from a failing drive

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 ...
8
votes
2answers
1k views

How to repair an ext3 partition after broken resize operation?

I was using gparted to resize a near-terabyte ext3 partition, adding about 40 GB to the left. After nearly 12 hours of moving data (and with 23 more hours estimated to remain) the system hung. Now ...
1
vote
2answers
661 views

“lshw -C disk” returns but prints nothing

I am using an ubuntu live cd to help me recover some data off of a hard drive. I used lshw -C disk to find out which device I need to copy, /dev/sda in this case. I am using ddrescue -n to try and ...
2
votes
1answer
193 views

Prevent libflashplayer.so from deleting a file?

I'm trying the preview release of Flash Player "Square" for Linux and noticed that video files are now being deleted from the /tmp/ folder. Yet the files are still in use (I can see them with lsof): ...
27
votes
7answers
10k views

Recovering accidentally deleted files

I accidentally deleted a file from my laptop. I'm using Fedora. Is it possible to recover the file?
2
votes
1answer
3k views

Accessing the iPhone file system via Linux/Unix

My old iPhone is semi-bricked. It turns off after a few minutes and doesn't get past the load screen. It has important data on it which wasn't backed up. I'm trying to access the hard-drive's ...