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

1
vote
2answers
25 views

Recovering an overwritten file

I accidentally misused the cp command and overwrote one file's contents on an ext4 filesystem. Is there anyway I can recover this old file's contents and possibly its metadata (i.e., last write time, ...
0
votes
1answer
31 views

Volume Group fails to recover

For the last 10 days I've been living a nightmare trying to recover my data. I'm trying to recover VG and mount it to access the data here's what I get [root@]# pvscan Found duplicate PV ...
2
votes
0answers
24 views

Exundelete can't restore the file

I'm trying to restore 2 important tar.gz files I know their directory but extundelete not restoring them although it's giving me the inode number. Loading filesystem metadata ... 2127 groups loaded. ...
2
votes
0answers
20 views

recover lvm formatted partition

I had 2 old drives having LVM installed showing as 1 drive. They were attached by the datacenter to the new server to migrate data but they weren't able to be mounted I tried everything possible until ...
2
votes
1answer
26 views

Data Recovery from a 4-Disk NAS RAID 10

I know there are similar questions to this but none specific to RAID 10 extracted from a NAS, so any help is greatly appreciated. So, basically the NAS is kaput but the drives are ok. Following the ...
3
votes
1answer
41 views

Recover LUKS partition after overwriting first few bytes of LUKS container? System still up!

I have a 1.5 TB partition of data, of which I accidentally overwrote some bytes at the beginning, due to a typo like: ssh somewhere command | dd of=/dev/sda3 // should have used quotes here, dd ...
-1
votes
0answers
21 views

Cannot filter .sh files with photorec

I'm using photorec to recover a .sh file deleted accidentally. How can I filter .sh, because the extension is not in the list but it is supported according to the documentation.
2
votes
1answer
39 views

Recovering accidentally deleted files, block device

I accidentally deleted /dev/loop special block device. Is it possible to recover it?
0
votes
1answer
13 views

testdisk partition recovery

Looking to recover data/partition index from this disk.. ⚡ root@jg  ~  ls /dev/disk/by-label lrwxrwxrwx. 1 root root 10 May 4 21:06 4tb1 -> ../../sde1 drwxr-xr-x. 7 root root 140 May 4 21:06 .. ...
2
votes
0answers
24 views

Recoving LVM logical volumes after having to recreate the physical volumes

After reinstalling my system to a new SSD, my existing LVM was toast, it couldn’t find any physical volumes or volume groups. I also don’t have backups of my LVM configuration. Also to further ...
0
votes
1answer
32 views

Why my rescued PDFs forms are empty?

First, I'm no expert, so don't assume I know much about data recovery. I'm using ddrescue and photorec to try to rescue files from a USB stick. It's a 32GB stick that has no more partition information ...
0
votes
0answers
18 views

How to recover a deleted partition from a NTFS disk with GNU parted?

I'm testing different methods to recover deleted Windows partitions under Linux. For this experiment, I created a partition in Windows, placed some data on it and deleted it. In order to ...
0
votes
1answer
35 views

make `tar` archive from NTFS with non-ascii file names

Loaded a live disk into a Windows based machine with NTFS files. Being a Linux user for some years, using tar came to my mind instantly and made some backup archives from partitions and stored them ...
1
vote
1answer
46 views

Recovering broken USB drive: ddrescue disk to disk vs disk to image?

I am a bit confused about few things and I hope someone could clear this up for me. Is there any particular difference in disk to disk vs disk to image file approach? I executed following code to ...
0
votes
1answer
32 views

Accidentally ran mkfs.vfat on my backup drive [duplicate]

I ran mkfs.vfat /dev/sdb (whole device, not just one partition) on my backup drive, ironic, right. Is there any way to recover my files.
1
vote
1answer
56 views

How to recover a shell script I deleted from a specific folder in Debian 7?

So in a merry mood last night, I deleted an important shell script from my system. I mistook it for something else and figured it wasn't needed. I am trying to recover it. I have tried 'scalpel' and ...
0
votes
0answers
45 views

Directories and files changed to unknown type [duplicate]

After breaking my Debian jessie system with the mistyped command: # chmod -R 0644 / now I am using a live CD to backup my data but all the files and directories are of unknown type now and ...
1
vote
0answers
56 views

Overwritten superblock and dd backup files recovery

Good day, yesterday I tried to extend my swap partition ('cause suspend/hibernation didn't work) and I needed to decrease size of my debian linux disk (I don't ever remember if it was ext2/et3 or ...
0
votes
0answers
52 views

Is there a way to recover my vi-edited file?

2 days ago, I remotely logged into my school's Unix system and wrote a lengthy file with vi. I saved with :wq and reopened it multiple times to check if it saved (it did). Today, I log back in and ...
4
votes
1answer
45 views

Recovering data written to file that moved

I have a Python daemon running on CentOS that opens a file at the beginning of a session, and keeps writing to it. A cronjob however, gzipped the file that was being written to, and so the file moved ...
0
votes
0answers
42 views

How can I recovery data? Or how can I fix file system without deleting of data?

I have done fsck.ext4 -f /dev/sda5 but questions were too much and I close one several times. After that I used several times e2fsck. But it was very slowly and I stopped one several times too. ...
3
votes
1answer
58 views

How to restore RAID5 Array

I have a RAID5 array consisting of 3 identical 2TB drives. Suddenly GRUB wouldn't boot anymore and gave the error out of disk. Eventually booted a livecd and ran some mdadm commands: mdadm --examine ...
1
vote
0answers
16 views

Strange hang while attempting mounting LVM2 in recovery mode

I am running a RHEL 7 vm and I am trying to mount an LVM disk in recovery mode. I can see the disk with fdisk -l. lvscan shows it being active. When I try to mount the disk to the system I see the ...
3
votes
0answers
48 views

Have I destroyed data on drive?

I stupidly ran the following command on an external ext4 USB disk, typing /dev/sdb instead of /dev/sda which was the new disk I was setting up: dd if=/dev/zero of=/dev/sda bs=512 count=100 These ...
0
votes
0answers
55 views

Restoring data from NTFS formatted pre-ext4 partition

MS recovery just formatted my 1TB Backup disk to NTFS which was ext4 before. It was an MBR disk before but now it's a GPT one. Now I'm on SystemResqueCD and can check with the testdisk. What is the ...
1
vote
2answers
48 views

challenging failed raid5 recovery

I have a personal raid 5 array that is in rough shape. The failed array has eight 2 TB drives that were built up over time in my n-2 desktop machine. The array is from an in-house computer that ...
0
votes
1answer
102 views

Mounting a Partition & recovery

To keep the story short, i am taking the easy way out and now trying to mount a partition to recover a few text documents. I tried to 'sudo mount -t ext4 /dev/sda4 /mnt' but received this error sudo ...
2
votes
3answers
285 views

Why creating partitions in linux is good solution for easy recovery?

I have heard if you don't make partitins in linux it is so hard to recovery your data. And if you make some partitions it would be easy to recovery. for example if you make /par1 /part2 /part3 it is ...
0
votes
0answers
33 views

How to recover a partition recreated with gparted

Yesterday I've had the bad idea to try to follow this tutorial : http://fds-team.de/cms/articles/2013-12/use-a-real-windows-7-partition-in-virtualbox-kvm-vmware-player-u.html these are the commands ...
0
votes
0answers
37 views

Testdisk 6.14 unable to fix 20GB WD ROM scroprio device

Using partedmagic iso , with pre-configured utility testdisk 6.14 I tried to repair WD 20GB hard-disk. It failed in sense it got me "read errors". I don't know how to fix it? Please help me. I'm ...
0
votes
0answers
25 views

haproxy - in CentOS is running but the whole directory is no more available and i do not have configuration backup

I had haproxy configured in /var/tmp directory by compiling, i did not had any backup after few months its still running but my /var/tmp/ is having no haproxy anymore. Can anyone please recover it i ...
0
votes
0answers
30 views

basic help with safecopy

I have a drive with "Many Bad Sectors". After much deliberation I've chosen to try recovering with safecopy (the choices of tools are overwhelming, and they are all just as cryptic to me - but I ...
1
vote
1answer
120 views

Recovering from bad superblock on external drive

read a few similar questions/posts and tried the solutions, still stuck. My scenario is simple, external ext4 drive was powered off (via cat) while operating, and failed to mount on boot. As I dug ...
2
votes
2answers
59 views

Find newest version of file recovered by PhotoRec, or suggest other recovery program

I accidently deleted ALL files for my web server yesterday, and for some silly reason I have not made a backup in the last three monts... Shame on me, I know. The files were deleted with a bad rm ...
1
vote
1answer
54 views

How to recover root for system?

I have accidentally executed rm -rf /. How to recover the / file system. Is there any way to recover the root file system.
1
vote
1answer
116 views

Recovering a LUKS partition

I have a drive with 2 partitions 1st is plain ext4 2nd is encrypted LUKS. The partition table has been overwritten. I've found the beginning of the second partition, which I need to recover, ...
0
votes
2answers
34 views

How to recover the data that has possibly overwriten by the installation of another system? [duplicate]

I had Linux mint installed in my computer in one partition and had another partition for Data. I just installed Ubuntu Kylin 14.04 and during the installation there was an option like "install Ubuntu ...
2
votes
3answers
310 views

Restore from lost+found

There was a problem on an EXT4 FS/memorycard and after and fsck all the files were put in the lost+found. Question: how can I restore the old filename/hierarchy from the lost+found? Or it is ...
1
vote
1answer
297 views

Live linux distribution that includes TrueCrypt, to be used for data recovery [closed]

I want to be able to use a CD/USB bootable "live" linux distribution to: read a truecrypt volume mount local drives Ubuntu Privacy Remix seemed perfect as it does include TrueCrypt, but it ...
0
votes
1answer
61 views

Accidental deleted partition with gparted

I Accidentally deleted a partition, using gparted. It contains valuable data. Can I get the data back?
3
votes
2answers
36 views

How to prevent FreeBSD from disconnecting a drive device?

While accessing a drive with high error rates (as, for example, here for opensuse) in FreeBSD, the system eventually disconnects the drive and it disappears from /dev. This makes it impossible to run ...
4
votes
1answer
266 views

Can I find out if a given ext4 block is in the inode table, and if so, can I pick it out of a journal with no header by hand?

So en route from my old laptop to a new one my old laptop's hard drive got some physical damage. badblocks reports 64 bad sectors. I had a two-month-old Ubuntu GNOME setup with a split / and /home ...
0
votes
0answers
25 views

Recover dokuwiki directory in debian

I accidentally deleted all the content of the dokuwiki directory and want to restore it not with a Linux (Debian) command. In the directory of dokuwiki far as i know mainly .txt files are located. How ...
1
vote
1answer
88 views

ecryptfs-recover-private deleted files?

After running ecryptfs-recover-private --rw ./ and doing some basic tasks on the mounted directory it seems that all files have been deleted somehow, yet the folder structure remains. This is very ...
2
votes
1answer
65 views

How to use a bootable USB stick and Linux to recover data from a broken hard drive

I would like to run a Linux installation on my Mac from a pen drive in order to create an emergency backup of my most important files. I do not know whether my hard drive is physically broken or just ...
1
vote
1answer
46 views

How to restore /usr/etc

I've accidentally overwritten /usr/etc with a random config file using sudo cp ~/.nzbget /usr/etc. Yes I know I should have backed it up etc, etc, etc... Now the important stuff, I've seen ...
0
votes
0answers
50 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 ...
-1
votes
1answer
29 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 ...
4
votes
4answers
279 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
389 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): ...