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

4
votes
0answers
433 views

Confusion with how to restore corrupt ext3 files if power outage occurs during a file write

I am running a small embedded system. Because the system will never be gracefully shutdown and will just have the power cable unplugged, I am running an initramfs but mounting an ext3 partition on a ...
3
votes
0answers
122 views

BTRFS: too many missing devices, writeable mount is not allowed

Environment $ btrfs --version btrfs-progs v4.2.1 $ uname -a Linux [REDACTED] 4.2.1-040201-generic #201509211431 SMP Mon Sep 21 18:34:44 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux Problem Today the ...
3
votes
0answers
63 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 ...
3
votes
0answers
170 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
0answers
541 views

Foremost file naming - Recovery of file names from inodes

I'm hoping this is not a stupid question. (apologies if it is) I have been asked to recover some files from a corrupt Linux partition. The partition data is shot to pieces but i have been able to ...
3
votes
0answers
930 views

Bad superblock after server crash

My server (CentOS 6) crashed, and it now kernel panics on boot. It's currently using a mdadm RAID1 array with two 1TB drives. vg_server2422-LogVol01 is / vg_server2422-LogVol00 is Swap ...
2
votes
0answers
620 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
60 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
0answers
60 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 ...
2
votes
0answers
59 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?
2
votes
0answers
189 views

Drive disappears from dev during ddrescue copy or testdisk recovery

I have been trying to recover data from a Seagate 7200.11 1.5TB drive (2 ext4 partitions_ for 3 days now, predominantly with ddrescue and testdisk, but because of some critical error on the disk ...
2
votes
0answers
515 views

How to find orphan directory entries in a ext4 disk

This comes from a long story of trying to recovering a TrueCrypt volume from a hardware failure (thanks, WD). I ended up with an unencrypted 3TB image that had the files that I want to recover. ...
2
votes
0answers
99 views

Accidentally overwrote boot sector of encrypted drive: any way to recover data?

I had one external drive on which I was storing a large quantity of data; the drive is/was encrypted using gnome disk utility. I got a second drive for redundancy and I was preparing to encrypt it. ...
2
votes
0answers
116 views

SafeCopy worked but I have a few problems

I had a 60G NTFS drive that had 28 physically bad blocks as reported by GParted. I used SafeCopy to recover to the root of an empty 500G drive using SafeCopy defaults. Everything worked as expected ...
1
vote
0answers
11 views

Snapper - how to undo changes, preserving timestamps?

I've damaged modification dates of files on my drive and I wanted to revert them using snapper snapshots but it doesn't seem to work, snapper only reverts content of files not modification dates. ...
1
vote
0answers
33 views

Bulk move files back to where they came from

What happened I'm in quite a mess right now after having clamscan scan over my windows part of the system and move all found files (which apparently includes PUA's) to a directory on another drive. ...
1
vote
0answers
54 views

Which sector size shall I choose to run ddrescue with direct access on an Advanced Format drive?

I started the imaging of an AF/512e HDD by first running a following command: ddrescue -n /dev/sdb2 drive_c.img mapfile.log Upon its completion I made a backup of mapfile.log and decided to run ...
1
vote
0answers
28 views

Recover file from partition after writing on it

I really did a big mistake. I have a partition sda6 for backup, when writing the iso to a pendrive, instead of typing sdb6, i've typed sda6, is there any way to get back the files
1
vote
0answers
20 views

Recover Track on blanked CD-RW

I am trying to recover files from a probably quick-blanked CD-RW. When analysing the CD with photorec it detects a disk size of 2048B or one sector; other tools see a blank disk. However cdrwtool ...
1
vote
0answers
59 views

Recovering data from a UFS drive with bad superblock

I've got a UFS drive that has a bad superblock. I've used mke2fs to find the alternate superblocks. The drive has a zfs_member on it named "james". How can I mount the drive with the alternate ...
1
vote
0answers
97 views

Recovering files with directory structure

EDIT: I am using Debian 8.1.0 So I somehow deleted my /etc directory. While I have not been able to recover the complete /etc directory hierarchy with all files, I have received different parts from ...
1
vote
0answers
56 views

How has this arrangement of RAID disks occurred and is it recoverable?

I some months ago set up two RAID arrays for a system under CentOS 7. I was somewhat confused that the device list included two entries for each array, i.e. one had /dev/md126 and /dev/md126p1. The ...
1
vote
0answers
40 views

How can you recover from disk corruption on a backup drive whilst maintaining all hard links?

So, I have a scenario that is similar to How to copy directories with preserving hardlinks? that I wish to use however I have corruption from the backup hardlink source. My Scenario: 1. I backup my ...
1
vote
0answers
164 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 ...
1
vote
0answers
24 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 ...
1
vote
0answers
39 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
0answers
631 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 ...
1
vote
0answers
80 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
vote
0answers
283 views

Recover data from a BTRFS RAID5

I have a BTRFS RAID5 setup (no mdadm) with four disks (the fifth failed). Now I am trying to recover the files but as soon as I try to rsync the files over to another disk, the system hangs after ...
1
vote
0answers
1k views

linux fedora 20 how to read data from usb drive

I installed Linux Fedora 20 on a new computer, and kept the hard drive from the old computer as a second backup of my data. The drive has two partitions, Windows XP on one and Fedora 12 on the other. ...
1
vote
0answers
53 views

Retrieve spanned archive from raw disk image

When I open the image in a hex editor, there is the header of a PK spanned archive (50 4B 07 08), then 4 more zip files following (50 4B). When copying the values and saving as a zip file, the ...
1
vote
0answers
249 views

SciTE Auto Save Temporary File

I was running an application that seemingly froze the GUI of my Linux distro. After a CtrlAlt Backspace I got back to a terminal and reloaded the GUI. However, even with the below User Options ...
1
vote
0answers
151 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 ...
1
vote
0answers
519 views

Partition wiped out possibly due to the partition table changed by Windows, malicious software, or …?

When the data loss problem occurred: My Lenovo laptop has both Windows 7 and Ubuntu 12.04. There are two ntfs partitions shared between the two OSes: one for Windows 7 installation ,and the other for ...
1
vote
0answers
2k 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 ...
0
votes
0answers
17 views

How to recover data from an SD card with incorrectly detected size?

How can I recover a SD card with incorrectly reported size? (The answer to this question is not given in How to recover data from a bad SD card? ) This question is specific to recovering an SD card ...
0
votes
0answers
12 views

Restore partition/block after wiping from Android recovery

I'm not sure if this is the right place but as its very unix like in the possible solution but: I wiped all my data on my android phone via recovery including my sdcard partition - which contained my ...
0
votes
0answers
21 views

Refind only boots OSX off of Recovery HD

(Apple Partition) - First time Linux User/ First Download (My external) Linux Mint 17.2 Okay, I used a Live USB to download Linux to an external hard drive. On that hard drive is a back up - ...
0
votes
0answers
92 views

Can't mount my NTFS partition on Windows or Linux

During my formatting, I did some move on my partitions, and the one with all my data to keep can't be mount any more (/dev/sdc1). On Windows 8.1 I got a "You need to format this partition" message. ...
0
votes
0answers
40 views

Can I restore disk after ntfsclone

So I stupidly got the order of arguments the wrong way in my ntfsclone command and ended up writing a blank disk to the disk I primarily use for important data (documents, personal pictures, etc). ...
0
votes
0answers
85 views

How do I recover a file with vim?

I am trying to recover my sudoers file. I typed in my Chrome OS terminal vim -r /etc/sudoers After that it gave me the following, Swap files found: Using specified name: 1. .sudoers.swm ...
0
votes
0answers
35 views

testdisk foremost dd photorec after math help needed

Did i ask this question in the wrong place the first time? http://superuser.com/questions/957845/how-can-i-efficiently-view-validate-delete-1m-files-from-data-recovery I made such a long post about ...
0
votes
0answers
27 views

Need help retrieving FAT32 partition from an unallocated portion of an external HD

I was going to create a liveusb out of my external HD, as indicated in the archwiki, using the dd command, except I didn't know what the result of the command would be. I then realized that it ...
0
votes
0answers
151 views

ddrescue recovering 0B but drive appears in device manager. Is it failing to connect?

I guess that this is a variant on a previous question "Is this ddrescue command doing anything?" Apologies for going over similar ground. I have a failing 2TB Seagate Barracuda drive which came from ...
0
votes
0answers
56 views

ext4: How to save free blocks / inodes to a file

I'd like to save all free blocks / inodes from an ext4 file system to one or more files for further analysis and file recovery. It would be good to create one file for every contiguous set of free ...
0
votes
0answers
93 views

Is it possible to recover deleted files on RAID1 UFS provided by FreeNAS?

I have some files deleted on a RAID1 UFS filesystem provided by FreeNAS 8.3 p2. Is there any solution or software can help in this case?
0
votes
0answers
145 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
0answers
347 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 ...
0
votes
0answers
71 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 ...
0
votes
0answers
66 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 ...