Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
Click Here to receive this Complete Guide absolutely free.
I'm a relative Linux newbie with a filesystem that is displaying odd
behavior. I can't figure it out and I hoped one of you experts could
This is Red Hat 9. I (foolishly) downloaded and installed a bunch of
new software, and when this was through, some of my directories had
disappeared. Specifically, /misc appeared empty although it used to
have three big subdirs in it.
This panicked me, not that the contents of the directories were so
valuable but once file start vanishing randomly who knows what is
going on. This is an ext3 filesystem.
Here's the weird part:
fsck -fn on the filesystem (while mounted) reveals some problems
(orphaned inodes, corrupted lists, wrong block counts). But they can't
be fixed while the filesystem is mounted.
If I mount the filesystem with Knoppix (which mounts it as ext2) the
missing files have been miraculously restored. Furthermore, fsck on
the filesystem reveals no problems.
Booting up the original Red Hat system in single-user mode has the
same behavior as Knoppix: files are there, fsck thinks everything is OK.
But in the normally running system, files are still gone and fsck
In other words, the only state that reveals the problem is one that does
not allow it to be fixed! Argh!
I thought this might have something to do with journalling, so I
converted the filesystem to ext2 and then re-created the journal. This
had no effect.
Anyway, I'm stumped and so is my local neighborhood Linux wiz. Anybody
want to lend me a clue?
Well, I dont know the reason, but you should not run fsck on a mounted partition...
Boot from your bootdisk ( i.e linux startup floppy) which will bring you to the login screen....Now as root, run fsck on the root partition and see what's the output....does it still show the same behaviour or does it correct the problems that it reports?