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

0
votes
0answers
7 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
22 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
23 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
26 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
46 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
votes
0answers
26 views

deleted partition from windows and I need to recover it

I installed Ubuntu 14.04 LTS, and its my first time with Ubuntu, and I had two partitions, with information that are now deleted, how can I recover them? thank you.
1
vote
0answers
40 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
47 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
42 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
33 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
50 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
13 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
46 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
50 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
43 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
86 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
266 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
29 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
29 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
20 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
29 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
88 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
47 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
93 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
31 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
234 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
219 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
60 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
32 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
180 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
22 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
59 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
59 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
43 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
46 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
224 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
334 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): ...
2
votes
1answer
94 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 ...
0
votes
0answers
376 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
24 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
1answer
234 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
41 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 ...
2
votes
2answers
101 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
3answers
1k 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
61 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 ...
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
125 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 ...