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

3
votes
1answer
17 views

Approximate partition table backup with sfdisk

I wanted to convert some logical partitions to extended ones, so I was following this accepted answer. However, at the step of backing up my current partition table, I messed up and typed the ...
0
votes
0answers
22 views

Move large number of files in a directory into Subdorectories [on hold]

I've had to perform a file recovery operation recently. I've successfully run a recovery program, but it's left me with a single directory of nearly one million files, most of which are fud. I'm ...
0
votes
1answer
38 views

Linux: Recovering a deleted dir that another terminal is still cd'ed into

I accidentally deleted the dir, /path/to/dir, and all its contents from an application. However, I still have a terminal window open, still cd-ed in /path/to/dir! Q: Is there any way to recursively ...
0
votes
2answers
34 views

LUKS-encrypted text file is garbled

I have a USB disk encrypted with LUKS. Immediately after mounting the disk today, I find that a recently edited text file contains seemingly random characters. All other files that I have checked, ...
5
votes
2answers
2k views

Is this ddrescue command doing anything?

In the course of trying to recover data from a failing hard drive, I am running the command ddrescue. The command has been running for 9 days, and I thought from the sound of disk activity that maybe ...
0
votes
2answers
2k views

Restoring a big partition to a smaller partition with Clonezilla

Some time ago I created a backup of an EXT4 partition with Clonezilla. Now the HDD crashed and I lost some important data. The size of the image of the partition is 50GB. I tried to restore this ...
10
votes
7answers
15k views

Unix/Linux undelete/recover deleted files

Is there a command to recover/undelete deleted files by rm? $ rm -rf /path/to/myfile How can I recover myfile? If there is such a tool how can I use it?
7
votes
5answers
21k views

How to salvage an unreadable usb flash drive

I have a 16GB USB flash drive that somehow got corrupted to the point in which even fdisk -l can't find it (I get a one-line error message saying: "Unable to open /dev/sdc") However, it is being ...
0
votes
1answer
37 views

How to I check or recover a hard disk drive that will not mount

I have a one Terabyte hard disk drive (USB3) that suddenly will not mount. My local computer expert (Windows only) had a look at it with his software and said that it is not a hardware problem. What ...
2
votes
2answers
5k views

ext3 root filesystems goes read-only with aborted journal even after repairs

Short version: ext3 root filesystem on rackspace (xen) VM detects aborted journal on boot and mounts read-only. I've attempted to repair this from a rescue environment with tune2fs and e2fsck as ...
8
votes
5answers
24k 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 ...
1
vote
2answers
79 views

Accidentally reformatted /dev/sda1 - any hope for recovery?

All day today, I've been reformatting a USB flash drive repeatedly and I was doing this multiple times in a row, and I began to grow a little too careless... Without paying attention, I accidentally ...
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 ...
0
votes
0answers
44 views

Recover MultiPartition HFS+ Drive with safecopy (Kali Linux)

So a friend of mine has a mac hard drive that she desparately needs the data off of. It will not boot in the macbook. And cannot be mounted in windows. I can make a copy with Safecopy, however when I ...
2
votes
3answers
78 views

How to repair a file system corruption?

Debian on external USB SSD drive. There was some error in dmesg log file: ...[ 3.320718] EXT4-fs (sdb2): INFO: recovery required on readonly filesystem [ 3.320721] EXT4-fs (sdb2): write access ...
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. ...
0
votes
0answers
19 views

Attempting to recover git archive

I'm attempting to recover a deleted git repository. After attempting to use testdisk, and other tools such as extundelete and scalpel, I found that having the headers/footers of files is key to ...
3
votes
2answers
523 views

extundelete does not finish its work

I need to restore a file on sda7 so I remounted ro und startet extundelete manuel@P5KC:~/recovery/RECOVERED_FILES$ sudo extundelete --restore-all /dev/sda7 WARNING: Extended attributes are not ...
29
votes
2answers
1k views

Why did powering down my machine after a bad `rm` save my files?

Classical situation: I ran a bad rm and realized immediately afterwards that I had removed the wrong files. (Nothing critical and I had tolerably recent backups, but still annoying.) Knowing that ...
1
vote
1answer
657 views

LVM not coming up after reboot, couldn't find device with uuid

Had a VM that was, up until recently working without issue, but needed to be rebooted after some configuration changes. However after rebooting the VM didn't come back up, saying it couldn't find the ...
0
votes
0answers
17 views

lvm not coming up after multiple reboots, couldn't find a device with UUID

I am really confused. I have rebooted my RHEL system after more than 6 months uptime only to find it is giving me this error: Couldn't find device with uuid WetODA-57Jc-c4XM-WRwS-I2Db-4AYV-uDRfA0 ...
3
votes
3answers
5k 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 ...
-1
votes
2answers
36 views

Recover data from linux partition

Somehow I managed to really mess up my debian installation and I will have to reinstall it. However I have some data on the partition that I really want to save. Is there any way to access the data on ...
0
votes
1answer
44 views

How to Recover Data in LINUX MINT Quiana [duplicate]

Can I recover deleted files in LINUX MINT 17 Quiana. I have deleted my folder containing data with shift+delete. Now, I want my data back.
1
vote
1answer
20 views

How to interpret the output of safecopy

Just as an example, this is one typical output line. ...........................[12767109](+112394240){X [12792709] X}[12818309](+209715200) I have gone through the DESCRIPTION OF OUTPUT in ...
3
votes
3answers
2k views

Recovering data from a damaged hard-drive: the “freezer trick”

I'm currently in the business of recovering data from a damaged---and dying---hard-drive (check this question for background info). The drive was dropped while the system was running; and while ...
0
votes
1answer
59 views

can you recover lvm metadata without access to /etc/lvm/?

I just installed Manjaro on to a externalized usb hard drive. After I was done, I tried to boot from my previously working Mint distro (no full-disk luks) on my internal hard drive. The lvm volume ...
2
votes
0answers
27 views

recover lvm after loosing partition table

On one of my hard drives had a few physical volumes/partitions and lvm on them. And then I lost partition table. I still have files from /etc/lvm/* how can I recover my data?
1
vote
1answer
29 views

How are files or chunks delimited on disk?

I'm trying to recover some lost files by grep-scanning a hard disk. (The OS is Darwin 11.4.2. The file system is HFS.) How can I determine where a file (or contiguous chunk thereof) begins and ends ...
-1
votes
1answer
27 views

Recover file from previous installation? [duplicate]

I recently wiped an old ubuntu server of mine and installed debian, but i forgot to backup a very important file. I know there is a chance that the computer has already wrote over the file, but what ...
34
votes
2answers
682 views

How did `git pull` eat my homework?

I feel like a kid in the principal's office explaining that the dog ate my homework the night before it was due, but I'm staring some crazy data loss bug in the face and I can't figure out how it ...
-1
votes
2answers
378 views

How to recover NTFS drive formatted in ext4?

I just installed Linux Mint 17 and when it asked me where to install it I selected the option to overwrite the old Mint 14. Previously I had also windows with NTFS partition of 900GB. Not it is all ...
0
votes
0answers
121 views

Recovering windows partition in Mint (testdisk fails)

Yesterday I messed up my partitions, wanting to replace Ubuntu with Mint. My other partition had Windows 8 on it. I booted Mint from a live USB and started the Mint setup. I selected the option to ...
3
votes
0answers
72 views

Linux boot with broken partition

I have two ext partition on my linux One for / And one for /home I wanted to reduce (with this method) the home partition (which was only something like 10% filled) to create a new partition for ...
3
votes
2answers
6k views

Undo rm -r, restore data

I was playing around with zip and accidentally deleted my /home/ folder (I wanted to delete home/ which got created by unzipping an archive). I used rm -r /home/instead of rm -r home/ as root. Is ...
4
votes
2answers
191 views

Can overwritten files be recovered?

I am not talking about recovering deleted files, but overwritten files. Namely by the following methods: # move mv new_file old_file # copy cp new_file old_file # edit vi existing_file > D > ...
5
votes
1answer
4k views

How to recover most recently deleted directories on NTFS partition

In Nautilus under Ubuntu 12.04, I accidentally selected several directories on a partition and deleted them at once (unfortunately, I deleted them by Shift+Delete such that they don't remain in ...
1
vote
1answer
25 views

Can I split a disk image and run Photorec on each part individually?

I'm running Photorec on an external HD connected via USB and it's taking too long, with the estimated remaining time constantly increasing. Is there a way to create a disk image from that external ...
4
votes
2answers
10k views

How to repair a corrupted HFS+ partition from a damaged hard-disk?

I have a friend's Mac OS X disk that comes with an HFS+ partition. I am supposed to recover the personal data from this disk, and I'm not yet sure if the filesystem is corrupted or the disk is dying). ...
0
votes
0answers
31 views

ext4 data recovery from gparted error

During resizing and moving 2.7TB partition in Gparted, I encountered an error that froze the whole program. (I dont have a screenshot or output from it, as fas as I remember, it was something about ...
3
votes
1answer
65 views

Recover data from raid 1 when both drives are faulty

I had a RAID 1 on my server, and apparently both of hard drives have failed at the same time. Server support did a quick check to confirm that HDDTEST-W1F21M6K ERROR Finished (Selftest, Device: ...
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 ...
4
votes
1answer
233 views

Partially overwrote /dev/sda, can I recover anything?

I was messing around with my new hard drive, which only contains some personal files, and to check its write speed, I typed: sudo dd if=/dev/zero of=/dev/sda, /dev/sda/ being the new 2 TB connected to ...
1
vote
0answers
26 views

How can I unveal files on my external hard drive?

I copied a big folder (around 110 GB) from my (Mac 10.7.5) computer onto a hard drive (exFAT). It took quite some time and afterwards I even checked that the files were actually there. After more ...
-1
votes
1answer
19 views

Trying To Get Data From Server HDD

I had two CentOS 6.5 servers that I was running using the Plesk control panel. I have moved and decided not to use them no more but just buy my hosting. My new ISP blocks port 80 and the cost is ...
0
votes
1answer
327 views

How can I recover deleted data from a partition [closed]

I want to recover deleted data from a partition with the help of a Python program. I know that on deletion, only the inode information of that file is deleted, but the bits are not overwritten by ...
1
vote
1answer
36 views

Recover files after moving directory names?

During the course of some testing, I ran the bast script for file in *; do mv -v "$file" "$file#_*" done or something along those lines. The plan was to remove a prefix from directory names ...
0
votes
0answers
26 views

Accessing iDevice data out of IOS, using Linux

Here there is my friend's iPad 2(Wifi only) which is updated and is gone to the recovery mode. The only things that work on it is the recovery mode and DFU mode. The question is whether there is a way ...
2
votes
1answer
2k 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 ...
1
vote
1answer
212 views

What Causes Maintenance Shell Segmentation Fault?

I'm running Ubuntu 14.04 Trusty Tahr in a Microsoft Hyper-V virtual machine on Windows Server 2012 R2. I've stopped the VM, replaced an EXT4-formatted virtual disk volume (/dev/sdb) with a new ...