oh crud, ext3 has screwed my /home directory!
OK, I'm an idiot. I should have realized the the "no fault possible" upgrade to ext3 was too good to be true. Perhaps I read a bit too much this time and figured, "Hey, it's only adding a journaling file, right? What can possibly go wrong.?" Well, I followed the directions, but I'm tired and I ran the wrong command. I erased my /home directory! Oh excrement, I was just working on a web site for a client, it looked really nice, and now it's ALL GONE. Well, I haven't written to the partition yet, so the inodes are still there, right? How do I recover data? Most of it is not a problem, but I had 2 projects that I really want to get back. From now on I will do two things: 1. NEVER attempt that "cool thing I've been wanting to check out" when I'm exhausted and haven't slept in a while. 2. BACK-UP! Just please help!
you may be able to get back some of the files that you lost by using debugfs. This might only work with ext2 (not sure how compatible ext3 is with ext2. But its hard to say if that will help since we don't know what the 'wrong command' was. You may want to research this before you try it, i'm just recalling this from memory. But if you want to use debugfs to recover data: - umount your partition. - type 'debugfs /dev/<your_partition>. - at the prompt, type 'lsdel'. This will list all the files and their inodes that have been deleted (no file name though). - when you see a inode that you want to recover, type 'dump <inode#> /tmp/<new_file_name>. (for example, 'dump <42> /tmp/project1'. -brad On Wed, Oct 24, 2001 at 10:51:52PM -0400, Wesley Allen wrote:
participants (3)
-
Brad Noyes
-
Scott Venier
-
Wesley Allen