Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!

Notices

Welcome to LinuxQuestions.org, a friendly and active Linux Community.

You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

This One day i found out that the whole files & dirs under the /home dir is gone. contradicts this: I let my friends put their files on my server as backup under /home dir., because if you gave them a user account, they should not be able to delete each others accounts. I haven't got a clue to say there's foul play, but you should investigate anyway especially if you're running network services on your system.

I'm not using LVM, so I can't comment on the effectiveness of recovery operations. Since ext3 is ext2 plus a journal all the same tricks apply like trying "mc"'s (aka the Midnight Commander) VFS undelete. If that fails please read "man debugfs" before continuing. Make sure you got enough free diskspace on another physical disk (that probably should not be part of the LV you're recovering from). In this example I'm using hdc1:
Show which inodes are unallocated:
echo lsdel | debugfs /dev/hdc1
Now generate the inode list:
echo lsdel | debugfs /dev/hdc1 2>&1| egrep -ve "(^debugfs|inodes found)" \
| cut -c1-6 | grep "[0-9]" | tr -d " " | sed 's/^.*$/stat <\0>/'

to say foul's play.. I know that my friend would not dare to do such thing besides they only have user access.. it all started when I try connecting to the server from another machine using Absolute telnet... hmmm...

anyway, I just succesfully recovered all the files using R-Linux. Thank god I actually have Win NT partitions on my machine. So, i boot to NT, installed the R-Linux then voila.. it worked...

using R-linux, I put all the recovered files on another machine via network. R-linux is great.