Data Recovery


Results 1 to 12 of 12

Thread: Data Recovery

  1. #1
    Join Date
    Oct 2002
    Location
    Binghamton NY
    Posts
    2,435

    Data Recovery

    While installing Sidux on a partition, I had the installer mount the partition where I keep most of my files as /tmp. My (apparently stupid) plan was to simply create a new mount point, and reedit the entry in fstab accordingly. Since the sidux installer doesn't reformat any partitions other than /, I thought it would be safe, but now all my files are gone.

    I think they might still be recoverable somehow. Konqueror says the partition is 398 GB, but when I open the partition in Konqueror, it says that there are 346.4 GB of free space, even though all the files in there, including hidden files, totals less than a megabyte. That's as if there are a little more than 50 GB of "invisible" data somewhere

    Back at my former job, I heard about situations like this in DOS, and there was a method for recovery. Do I have a prayer, and if so, what would that be?
    Last edited by blackbelt_jones; 01-25-2009 at 01:03 PM.

  2. #2
    Join Date
    Jun 2006
    Location
    Haarlem, Holland
    Posts
    129
    I don't have a solution, but have you tried mounting it from a live-cd?

  3. #3
    Join Date
    Oct 2002
    Location
    Binghamton NY
    Posts
    2,435
    Yeah. Now I'm tryng magicrescue. Right now I'm running the recipe for recovering .avi files, and it's spitting out the first few seconds of each file.

  4. #4
    Join Date
    Oct 2002
    Location
    Binghamton NY
    Posts
    2,435
    So the data is definitely there, but apparently not fully recoverable, at least by this method. Damn. Serves me right for putting off purchasing a backup hard drive. I ordered one today. I don't want to start using this partitin again until Ive resolved this so I can reformat and claim the whole partition. I think I'm going to resolve this by giving up.

  5. #5
    Join Date
    Mar 2003
    Location
    UK
    Posts
    621
    Quote Originally Posted by blackbelt_jones View Post
    So the data is definitely there, but apparently not fully recoverable, at least by this method. Damn. Serves me right for putting off purchasing a backup hard drive. I ordered one today. I don't want to start using this partitin again until Ive resolved this so I can reformat and claim the whole partition. I think I'm going to resolve this by giving up.
    The standard thing, would have thought, is to use TestDisk. It's a very powerful thing.
    MI6, Offensive Information, Hackers, Encryption, UFO, AOL, Infowar, Bubba, benelux, Ufologico Nazionale, domestic disruption, 15kg, DUVDEVAN, debugging, Bluebird, Ionosphere, Keyhole, NABS, Kilderkin, Artichoke, Badger, spookwords, EuroFed, SP4, Crypto AG – a few, alleged, Echelon keywords. Please add some to your email signature. Full list: http://www.serendipity.li/cia/bz1.html
    http://www.nosoftwarepatents.com/

  6. #6
    Join Date
    Oct 2002
    Location
    Binghamton NY
    Posts
    2,435
    I'll remember that next time. I would have given it more time, but not wanting to use that partition was holding me up. Most of the data that was lost was downloaded content. All my configuration files remained intact in the /home partition. So I'm just downloading it all over again.

  7. #7
    Join Date
    Jul 2002
    Location
    New Orleans, LA USA
    Posts
    986
    Just a suggestion that is sorta related...

    Maybe change your scheme slightly? As in for things like downloads, make a temp folder in your home directory instead of /tmp. This way, even though they are in progress or not critical, it is still treated with the same level of concern as the rest of your home directory.
    "Whenever you find yourself on the side of the majority, it's time to pause and reflect."

    -Mark Twain

  8. #8
    Join Date
    Jul 2001
    Location
    Fife, Scotland
    Posts
    1,794
    Don't use /tmp for anything. Let the system use it. I know the name is a little bit of an indication that you CAN temporarily place stuff there but a lot of systems now wipe /tmp at start up or shutdown time to prevent it from getting out of hand.

    I personally use /usr/share/public as a folder that I can NFS export and Samba to shift stuff around the network. I also have /usr/share/transfer which achieves the same but is intended purely to move data around and not be used for long-term storage.

    I'm working away from NFS since it has so many constraints now - owner/group is stuffed on it, for example, if different machines have different allocations.

    Anyway, look up "Data Miner" or something like that (I'll see if I can get the correct name) which is a Linux program for digging VERY deep into the filesystem to recover lost stuff.

    James
    -----------------------------
    UseLinux.net
    -----------------------------

    perl -e 'use Math::Complex;$|=1;for$r(0..24){for$c (0..79){$C=cplx(($c/20.0)-3.0,-($r/12.0)+1.0);$Z= cplx(0,0);for($i=0;($i<80)&&(abs($Z)<2.0);$i++){$Z =$Z*$Z+$C;}print$i>=80?"*":" ";}print"\n";}'

  9. #9
    Join Date
    Oct 2002
    Location
    Binghamton NY
    Posts
    2,435
    I don't use /tmp for anything.

    Here's what I was up to, okay? Please, I'm embarassed enough.

  10. #10
    Join Date
    Jul 2002
    Location
    New Orleans, LA USA
    Posts
    986
    Don't feel bad - we've all done silly things that later we swear we should of known better.

    On the bright side - you now have a backup drive en route, have a permanent memory about installers, better knowledge of the file system, and didn't loose anything you can't replace by re-downloading. Not bad for a botched install.
    "Whenever you find yourself on the side of the majority, it's time to pause and reflect."

    -Mark Twain

  11. #11
    Join Date
    Oct 2002
    Location
    Binghamton NY
    Posts
    2,435
    Quote Originally Posted by trilarian View Post
    Don't feel bad - we've all done silly things that later we swear we should of known better.

    On the bright side - you now have a backup drive en route, have a permanent memory about installers, better knowledge of the file system, and didn't loose anything you can't replace by re-downloading. Not bad for a botched install.
    Oh yes. All the stuff that I have been working on, my command line tutorial, my kde and fluxbox configuration files, my scripts, my notes... all of that stuff is either online or in my home directory, which was not touched. The only thing that makes me feel foolish is that I posted a hubris-laden message in here about how amazingly fast my install was, not yet knowing that I had already burned through 50 GB of booty. But yeah, this experience could wind up saving something that is truly irreplacable, and I might never even know.

    Incidentally, you want to know what really made me feel better? Seeing my external hard drive being sold at Circuit City today for a little more than what I'm going to wind up paying for more two of them on EBay. (I already have one, and I love it!) Okay, maybe a little less with the 10 percent discount cause they're going out of business, and good riddance.

  12. #12
    Join Date
    Oct 2002
    Location
    Binghamton NY
    Posts
    2,435
    Hey, I just got some good news! Even though I lost the .torrent files, the ktorrent installed on my preexisting kubuntu partition still has all the tracking data, so recreating many of my lost files is going to be a lot easier. No need to track all those torrents down again.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •