LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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.

Notices

Reply
 
Search this Thread
Old 01-16-2004, 01:38 AM   #1
mtraven
LQ Newbie
 
Registered: Jan 2004
Location: Pacifica, CA
Distribution: Red Hat 9
Posts: 1

Rep: Reputation: 0
Question Weird filesystem problem (RH 9)


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
help me.

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
reports damage.

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?
 
Old 01-16-2004, 02:04 AM   #2
Lindy
Member
 
Registered: Nov 2001
Location: Manistique, MI
Distribution: SUSE 12.1
Posts: 136

Rep: Reputation: 15
I'm not going to pretend to know exactly whats going on, but what was all the new software that you (foolishly) downloaded and installed? Could be that some of that new software broke some links
 
Old 01-16-2004, 02:31 AM   #3
coolamit78
Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: RHEL AS 3/4, Windows XP
Posts: 546

Rep: Reputation: 31
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?

Regards,

amit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I want weird filesystem permissions iluvatar Linux - Security 8 03-11-2005 10:01 AM
Help, installing filesystem package , I get weird error message marius7sv Linux - Software 5 01-26-2005 06:27 PM
DISCUSSION: Virtual Filesystem: Building a Linux Filesystem from an Ordinary File mchirico LinuxAnswers Discussion 0 10-28-2004 11:35 PM
Encrypted Root Filesystem HOWTO and /dev filesystem tmillard Linux From Scratch 0 10-18-2004 04:58 PM
Weird, weird apache2 problem atheist Debian 1 09-17-2004 09:26 PM


All times are GMT -5. The time now is 07:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration