Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Recover a mistaken swap-formated USB-HD


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Recover a mistaken swap-formated USB-HD

Hi!
Installing the debian wheezy by netinstall my external USB-HD (2TB) is erroneously completly formated as swap-filesystem. I was to lazy to disconnect the USB-HD, so now i could kick myself .
Is there any chance to rescue the data. I tried to find a way by using
gparted: the whole HD is swap-fs. I only check with gparted, i didn't do any format-action.
and
testdisk. analyze and deeper search

both only see swap-fs and testdisk cant find anything.
I need a helping hint, because i need urgently some of the primary stored backup-data.

thanks in advance
IMPe
# 2  
I'm afraid you're out of luck:
1) If set up as a swap device, chances are it has been used during install, so data, or, even worse, structural data, have been overwritten.
2) Should some of your old data blocks still reside on disk, it would be extremely difficult if not impossible to put them back to your original files in correct order, esp. as they may well be binary / compressed data.
This User Gave Thanks to RudiC For This Post:
# 3  
Quote:
Originally Posted by RudiC
I'm afraid you're out of luck:
1) If set up as a swap device, chances are it has been used during install, so data, or, even worse, structural data, have been overwritten.
2) Should some of your old data blocks still reside on disk, it would be extremely difficult if not impossible to put them back to your original files in correct order, esp. as they may well be binary / compressed data.
Thanks RudiC for giving me certainty!

IMPe
# 4  
You might be able to use magicrescue or photorec to recover scattered files from it, but this will be patchy at best and useless at worst for the reasons Rudic gave. These tools just look at raw blocks for recognizable jpeg headers and the like -- they cannot recover fragmented or unidentifiable files.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Occasional Core Dump with hot swap USB Thumb Drive
miles556
Hello Unix World, I've been having this issue for the longest time. Here is my setup OS: SCO OpenServer 6.0 with mp4, mp3 Server: Dell PowerEdge 840, 800, 2900 USB Stick: Patriot 16GB High Speed, and many other different brands. Occasinaly while system is running and USB is pluged in the...... SCO
0
SCO
Create a formated text file
msb65
Hi, I have written a BASH shell script (included below) which will allow me to monitor my blood pressure. The script computes the mean of 5 user input systolic, diastolic, and heart rate values. I would like the script to then append these three values to their respective columns in a text...... Shell Programming and Scripting
5
Shell Programming and Scripting
awk to find a formated o/p
aaysa123
hi i have a file which is having a.txt name aaa work business emp since 2oct office delhi name aba work business emp since 6oct name abc work shopper emp since ...... Shell Programming and Scripting
5
Shell Programming and Scripting
Disk Formated with NTFS
bache_gowda
HI All, My pc has two disks, One disk loaded with windows NT 2000 and redhat linux 7.2 dual boot. Another disk 80GB added and formated with NTFS file system. How to access the 80GB NTFS file system disk by booting linux os. Thanks in advance Bache Gowda... SuSE
4
SuSE

Featured Tech Videos