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
31 views

Recover Files in Centos

i am changing all wwwroot folder file ownership root to www and all files automatically deleted or missing from /home/wwwroot folder. so if anyone know how to recover that files and why this happening ...
1
vote
0answers
24 views

Data recovery of 5.25" floppy disks using bootable GNU/Linux distros? [migrated]

When attempting to recover data from old floppy disks (5.25" in this case), it may contain a lot of bad sectors and have other issues. Tools such as ddrescue make it more likely to be able to recover ...
2
votes
1answer
51 views

How can I safely recover deleted data from a USB flash drive?

This event actually took place a few years ago, but I still have the unchanged USB flash drive in my possession. I may be out of luck, but I thought I would ask all you smart people here for your ...
0
votes
0answers
5 views

How to define a connection variable in Oracle adf, in such a way that the user name and the connection code are hidden [migrated]

I am using ADF JDeveloper, for database connectivity am using the Database URL and now I think it is not secure to use this directly in the code. Is it possible to create a Java class with all ...
0
votes
0answers
18 views

Rescuing data from a 2TB ddrescue image - messed up partitions

I have 2 machines, one is a Windows 10 laptop and a hobbled together NAS running Debian Jessie, with an LVM volume of 1.9TB being shared. I have made a ddrescue image of the drive with all partitions ...
0
votes
1answer
42 views

raid 0 recovery after accidental dd to disk [duplicate]

I have 3 HDD's: /dev/sda and /dev/sdb (2x1TB) both on RAID 0 mode -> /dev/md127, and 4TB /dev/sdc, -> /dev/sdc. Accidentally I ran dd script from https://github.com/tdg5/blog/blob/master/_includes/...
1
vote
1answer
56 views

Recover data after hard drive faliure

A couple of days ago I tried getting an old server of mine up and running. It was working initially, but after updating and rebooting the system a few times the system refused to boot, dying at GRUB ...
0
votes
1answer
30 views

USB drive kaput!

syslog reports that /sys/devices/pci0000:00/0000:00:14.0/usb2/2-1 has been inserted, neither fsck nor photorec see it. Is there some other means to recover the files on this device?
0
votes
1answer
33 views

Recovering a partition after being reallocated

I have two partitions, c and d. Recently, I've decided to install Linux Ubuntu on the machine, and intended to do that on the c drive. It seems however that I messed up something during the ...
2
votes
3answers
68 views

Copying file to block device

I have an NTFS formatted USB Hard drive that has my personal files backup. Today I mounted the drive to an Oracle Linux system and copied a regular file using the below command (please see below ...
1
vote
1answer
54 views

Repair Linux Mint (Cinnamon) after deleteing some files

Alright, so I did a very stupid thing the other day. I was building a python program in pycharm, and I wanted to see what the UI looked like in the terminal. So I tried to run the code, but I didn't ...
0
votes
0answers
202 views

Recovering accidentally deleted ext4 partition on DM-0 LVM2 volume spanning across physical drives

I have a setup with some LVM volumes, with following configurations. I accidentally formatted the LV "lvmedia" using the disks program in gnome(I know this was extremely stupid and frustrating) I ...
1
vote
1answer
64 views

Ext4 corrupted and unrecoverable after LVM resizing + power failure

I have a completely standard, single hard drive Fedora 23 desktop. The dual-boot installer set up the Linux partition as LVM, with root, swap and home logical volumes; root and home were both ext4. ...
-3
votes
1answer
28 views

How does ext[n] delete files?

I know that a lot of deleted files can theoretically be recovered, which suggests that "deleting" doesn't actually remove the information. So how do the various extN (e.g. ext4) filesystems delete ...
-5
votes
2answers
80 views

Delete Linux installation from Windows [closed]

I currently have an openSUSE Tumbleweed partition which abjectly refuses to boot the GUI or web-browser. At the moment it just boots to a blank screen with a cursor I can move around and nothing else, ...
3
votes
1answer
129 views

Recover formated ext4 partition with file structure

I'm trying to recover from an accidental format of ext4 1TB HDD. I tried virtually all linux tools (extundelete, ext3grep, ext4magic, testdisk, photorec, and others). Some that worked: testdisk, ...
2
votes
1answer
27 views

How to undelete only the audio files that might have got deleted earlier?

Today I got upset to see that a few audio files (all under one directory) that were there in my Ubuntu 15.10 system were missing. So, as my system was sometimes used by another person, I suppose it ...
0
votes
1answer
48 views

lvreduce : “No directory, logging in with HOME=/”

I wanted to reduce my home LVM size so I executed the following commands : sudo umount -fl /dev/ubuntu-vg/home lvreduce --size -4G /dev/ubuntu-vg/home As the last command didn't work (apparently ...
0
votes
0answers
16 views

Hard disk partition table overwritten -TestDisk recovery

Okay so I'm not %100 if this should be posted here or super user. here's my problem: I've an Ubuntu user for quite some time but had decided to switch over to Mint. While installing I realized I had ...
3
votes
3answers
118 views

Recover just deleted scanned pdf without unmounting

I have just deleted a scanned pdf file. I'm trying to recover it with scalpel. The problem is that scalpel will recover many deleted files and names them numerically (e.g. 0001.pdf, 0002.pdf, ... ...
1
vote
0answers
215 views

Wrong inode: corrupted f2fs, fsck.f2fs cannot repair

A f2fs partition on my Android phone has recently become corrupted. It will still mount fine; however, I completely lost access to one directory (/data/media/0), which now shows as empty. Yet the disk ...
1
vote
0answers
28 views

Can I repair a HFS+ volume if the files were unreadable after “Easus Recovery Wizard” recovery? Testdisk & Diskutil info below

I have someone else's 1.5TB hard drive (WD Elements) that I would like to repair or recover files from. It has possibly been dropped and was constantly around a lot of loud Techno music. It is the ...
2
votes
4answers
80 views

Recovering data from broken (NTFS) partition

I'm trying to recover data from a Windows (NTFS) disk that became unreadable for some reason. I'm doing this from within a Linux Mint environment. I can see the partitions normally, and I also see ...
1
vote
0answers
27 views

Dictionary attack GPG symmetric encrypted LUKS keyfile

I remember typing in a long phrase for the password. I wrote all the words I could have possibly used into a plain text file, combining the words I know were used in a certain order. I might have ...
-1
votes
1answer
83 views

Retrieve data from “erased” home partition while installing win7

I had a computer with a windows 7 and I installed lubuntu 14.04 on another partition (I think I shrinked the windows NTFS partition first). I installed lubuntu this way: -> NTFS boot -> NTFS ...
1
vote
0answers
16 views

Telling ddrescue to verify read data?

I'm having a very strange behavior reading data files from a CD: The data is inconsistent if I do several copies of the same file from the CD. I don't know the reason (there're no read errors ...
0
votes
1answer
84 views

recover files if still being used by a process

I have run into a problem where I accidentally erased the contents of a conf file. I am trying to use the cp and tail recovery process that I saw online but it does not appear to be working. The file ...
1
vote
1answer
48 views

Recover files inside a folder which was replaced by an empty one. (openSUSE, Ext4)

Is there a way to restore a folder or better the containing files and folders of the folder which was replaced by a empty one with the same name? FileSystem: Ext4 OS: openSUSE 42.1 If it is ...
-1
votes
2answers
37 views

Can we recover the data which has been truncated [duplicate]

Can we recover the data which has been truncated by >hello.log. Please help.
1
vote
1answer
32 views

Hard drive failure at service provider - how to restore/remount data from/on Raid

First I am not a server administrator - and am volunteering to help a non-profit with a crisis. I start from the beginning. The non-profit has a dedicated server contract with 1&1 internet. On ...
4
votes
1answer
51 views

Is there a tool to create a hard link to an unlinked inode?

Assume you have a filename/directory name, whatever, which is hard linked to inode 6400. Alas, the file/directory actually exists (completely intact, and maybe it only lives in a single data block, ...
1
vote
2answers
76 views

System will not boot because boot partition is missing?

I deleted my boot partition several day ago and have not been able to recover it. To fix it, I installed the same image with the same parameters on a flash drive and then copied that boot partition on ...
-2
votes
1answer
33 views

How to get files from broken directory? [closed]

I created some files and directories on external NTFS HDD using Ubuntu. Some folders displayed with cross sign, I changes permissions for them (777), now they just as a files. Copying of directory ...
1
vote
1answer
34 views

why are those removed files not found in any package?

Accidentally i removed files from /usr/local/bin in a custom OS based on Centos 6.4 release, then i tried to figure out which package used the files (python scripts): /bin/rpm -qa | while read f;do /...
2
votes
2answers
56 views

How to recover multiple files which has been moved into one?

I was trying to rename (mv) few of my files and ran a wrong loop resulting into renaming all the 10 files into one. Now I can see only one file whereas there should have been ten files. How do I ...
3
votes
2answers
61 views

Inspecting vi .swp file to preview recovery

Feel free to close this as a dupe if you can find a question that deals with this case. This is NOT about HOW to recover a .swp file in vi. I'm not sure if I want to recover. I want to preview what ...
0
votes
1answer
35 views

How to issue a tar command when you restore your system

I've recently created a tarball backup of my Ubuntu system (/ and /home partitions both ext4). When I was creating a backup I booted off Live DVD and I used a tar command. Now I wonder which would be ...
1
vote
2answers
81 views

why lsdel in debugfs doesn't work?

I have the partition /dev/sdb1 with file-system ext3 mounted at /mnt/folder. I touch a file in /mnt/folder and remove that file. Then I use debugfs /dev/sdb1 and then enter lsdel, but it says "0 ...
1
vote
1answer
42 views

What format gives photorec to files?

I have to recover a file from my usb. I didn't find it on the net. How does photorec call files of unknown format? For instance, I have a file named *.jks . How can I find it in the recovered ...
0
votes
3answers
187 views

DDRescue taking months but no errors?

'm having a hard time finding others with the same error, and I'm trying to figure out the best path forward. I have a hard drive that was unusably slow, and then stopped booting. The clonezilla ...
3
votes
1answer
314 views

Recover LVM (on RAID1): No volume groups found. Partition table erased?

I'm trying to recover a LVM (no encryption) on a RAID1 using Debian Live. Apparently, the RAID1 can be assembled without issue, but the LVM is broken. You may skip to LVM section. The RAID part is ...
1
vote
0answers
18 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
1answer
36 views

destroyed folder now without directory attribute

I tried to read some videos from the memory card of my digital camera. It wasn't possible to access the DCMI Folder, because there was no directory attribute. The expecting DCIM folder was a 0-byte ...
1
vote
0answers
36 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. ...
2
votes
2answers
104 views

Accidentally installed Linux Mint over Windows/Ubuntu. How do I recover data (SSD)?

I had Ubuntu and Windows installed on this 480Gb drive (on my laptop) and decided I'd like to try Linux Mint. One of the options given in the Linux Mint installation Wizard was to delete Ubuntu 15....
1
vote
1answer
42 views

Retrieve data from free space on 600Go disk after this disk have been dd of=/dev/{this disk} with 4Go data

I'm stuck in a tricky problem. Context : Yesterday I made a cloning script for my raspberry pi that dd a whole running pi filesystem into a local sdcard on a computer connected through ethernet. It ...
3
votes
3answers
177 views

How can I read a linux hard disk from Windows?

I have a PC with Ubuntu (I think it's 14.4). Pretty recently it completely broke down (motherboard (again)). I want to get rid of it, but on the hard disk there are a lot of photos I want to keep. I ...
2
votes
0answers
157 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 ...
0
votes
0answers
15 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
1answer
37 views

How to recover a node/content from a tarfile that's been overwritten

Disclaimer: I'm not very good at writing questions, and mine is a very specific scenario. So I'm just going to jump straight into the situation: I was browsing my filesystem, and somehow managed to ...