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

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?
0
votes
0answers
31 views

Linux dual boot wiped Windows data

I have a Windows Vista/Debian Linux dual boot on my computer. Yesterday I did a bunch of work on Windows, while Linux was hibernated. Today I logged into Linux and tried to look at the data in the ...
0
votes
0answers
38 views

Does one need access to the console to notice bash history was cleared? [on hold]

Yesterday one of my VPS with Godaddy failed to come back on-line after a reboot. The server was working but needed a quick restart to clear some memory after running large scripts. Apparently I ...
2
votes
1answer
39 views

Create a binary input file from hdparm's --read-sector option

I'm currently trying hard to rescue a very big file off a HDD which is about to die (clicking sounds). The read failure is caused by just a small couple defective sectors. As the backup I could ...
-1
votes
1answer
23 views

UNIX Folder Recovery - edit [duplicate]

Has anyone had any luck with recovering a subdirectory with data? We're talking about around 100MB and a specific folder name and location. As I said in a previous post, I had a data folder in MySQL ...
3
votes
3answers
136 views

Recovering data from a failing RAID 5 setup

I have a four disk RAID 5 array that is in the process of failing hard. One disk is completely dead and smartctl is telling me that a second disk is failing. All the data on the RAID is backed up, ...
-2
votes
0answers
51 views

How to recover my source code that is removed by stupid CentOS automatically?

I have no backup, and my server scripts are running as production, but unfortunately CentOS removed my all files stored in /var/tmp Now my source codes are lost, but still its running as below, how ...
3
votes
2answers
562 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 ...
2
votes
4answers
50 views

BTRFS data integrity (CRC32c) and HDD data integrity (sector ECC)

I'm new to BTRFS and I'm trying to understand why BTRFS use CRC32c while HDD already have sector level data integrity ECC. Is it because BTRFS don't relay on media to have data integrity protection? ...
4
votes
1answer
149 views

How to find out which file is affected by a bad sector?

Consider you've been informed about a bad sector like this: [48792.329933] Add. Sense: Unrecovered read error - auto reallocate failed [48792.329936] sd 0:0:0:0: [sda] CDB: [48792.329938] Read(10): ...
0
votes
0answers
59 views

How to recover the partition table using testdisk or gparted?

I have got a 1 TB seagate external hard disk which got corrupted somehow. I was able to recover the files using the photorec tool that comes with testdisk. But the files are not organised in their ...
0
votes
1answer
22 views

Is it possible whole Partition with same structure in Linux

Well one of my colleague installed fresh OS Redhat 6 on already in use test server. Now we got in trouble and needed to recover whole partition which is already formatted during new installation. Is ...
-3
votes
0answers
22 views

win8 and Linux mint Both OS are deleted from hard disk [duplicate]

I have Windows 8 in my PC and I installed Linux Mint. Unfortunately I deleted both OSes from my PC. Now when I want to install Linux Mint it shows "no drive partition" on my hard drive but in Live-CD ...
1
vote
1answer
2k 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 ...
7
votes
5answers
23k 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 ...
3
votes
1answer
46 views

RAID-1 doesn't Assemble, elements listed as SPARE, how to recover?

I recently moved my Kubuntu 12.04 workstation to a new location. It was shutdown normally but when I rebooted it in its new home the RAID-1 array /dev/md0 was GONE! The Elements of the array are ...
2
votes
1answer
36 views

How to find password, knowing username on broken file system

My external HDD got broken. It was formatted with NTFS. In one of the files I had my login and password stored in plain text. Is there any possibility to find this password by looking for the ...
1
vote
2answers
40 views

data recovery from form an accidental format on ext4 partition

When I was installing Mint Debian edition unlike the classic edition, the installation automatically formated my home partition when I did not specify to format. So the formatting previously was ext4 ...
1
vote
0answers
142 views

/home partition recovery

Unhappy with Gnome 3 in Ubuntu I tried Mint 14. Had a backup of my home partition. During the Mint installation I designated my old home partition, and when it booted everything was fine. There ...
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 ...
5
votes
2answers
418 views

Recover single file in the $HOME directory

I accidentally run rm -r /home/xralf and quickly killed it with Ctrl+C. It seemed that everything is OK, but I noticed that my .vimrc, which is importent for me, is missing. I tried the command: $ ...
1
vote
3answers
144 views

Recover data from damaged hard Drive - External USB HDD

I am helping a friend to recover data from damage external hard drive . (USB 2, 120GB, WD, single partition, FAT32) Problem: When plug in this HDD into a windows PC, the HDD can be detected, but ...
2
votes
1answer
37 views

Recover data from HDD

This Monday I wanted to make a boot-able USB-Stick with a Knoppix .iso on Linux. I used the "dd" command to do this. Situation: 1. Laptop with Linux Mint on it 2. HDD mounted to System (.iso File ...
8
votes
4answers
2k views

What filesystem offers best protection for securing data against corruption due to power loss?

I am running a small uClibc and busybox based embedded system on an x86 device. I am using an initramfs but I also mounting a custom ext3 directory on a compact flash device in IDE mode that I am ...
0
votes
0answers
36 views

Data deleted accidentally [duplicate]

I installed ubuntu 14.04 by replacing win 8.1 and then all my partions are gone.I thought it would replace the sytem files in C only but all my partions are deleted.So i want to know if there is any ...
4
votes
1answer
39 views

Cannot mount LVMm: resume ioctl on failed

I wanted to resize my LVM, followed some tutorial on the net and the system totally crashed (I got some boot error with UUID not found). I ran a LiveCD and tried to at least recover some files but I ...
3
votes
1answer
51 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
1answer
47 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
55 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 ...
15
votes
7answers
28k 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?
0
votes
1answer
48 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
6k 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
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 ...
1
vote
2answers
93 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
126 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
138 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
24 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 ...
28
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 ...
0
votes
0answers
24 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
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 ...
-1
votes
2answers
41 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
175 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
27 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
5k 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
111 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
31 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
32 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 ...