LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 03-18-2002, 07:42 AM   #1
recurrente
LQ Newbie
 
Registered: Mar 2002
Location: Spain
Distribution: SUSE 7.3
Posts: 3

Rep: Reputation: 0
Question fsck in ext3?


I have SUSE 7.3 installed, with the root partition in ext3 filesystem. However, when I reboot the machine uncleanly, fsck checks the partition as a ext2-fs (2 or 3 minutes), is this normal?? I have in /etc/fstab that partition as ext3-fs

Thanks.
 
Old 03-18-2002, 08:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i get that too, but never bothered to try and see why... i've had a look just now tho. what does the output from "dumpe2fs /dev/hda(...)" say on the filesystem features and state lines? i get:

Filesystem features: has_journal filetype needs_recovery sparse_super
Filesystem state: clean

for a recovering partition, but

Filesystem features: has_journal filetype sparse_super
Filesystem state: not clean

on my root, which like you, needs to recover long style. I've tried fscking it in single user mode, but it doesn't seem to do anything useful. i'd suggest searching around for those flags and relevant sounding words in google like i have been, without a huge amount of success.
 
Old 03-18-2002, 11:35 AM   #3
d3funct
Member
 
Registered: Jun 2001
Location: Centralia, WA
Posts: 274

Rep: Reputation: 31
If you look at the man page for mke2fs in RedHat 7.2 you will see that there is are flags (-j an d -J) for making ext3 filesystems. This tells me that the underlying process for ext3 filesystems is still ext2 fs + a journaling system to make it ext3. So, since ext3 appears to continue using legacy ext2 as a base it makes sense that e2fsck would run to check an ext3 filesystem, but e2fsck would note the filesystem was built with the -j or -J options and apply whatever was necessary to check it as an ext3. Does that make sense to anyone else?
 
Old 03-21-2002, 05:15 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally posted by d3funct
If you look at the man page for mke2fs in RedHat 7.2 you will see that there is are flags (-j an d -J) for making ext3 filesystems. This tells me that the underlying process for ext3 filesystems is still ext2 fs + a journaling system to make it ext3. So, since ext3 appears to continue using legacy ext2 as a base it makes sense that e2fsck would run to check an ext3 filesystem, but e2fsck would note the filesystem was built with the -j or -J options and apply whatever was necessary to check it as an ext3. Does that make sense to anyone else?
erm, yeah makes sense... not sure what relevance it has to the question, but it makes sense

actually i realised... ext3 is compiled as a module normally isn't it? consequently the / partition can not be checked as ext3 as the module is on that partition, and not in the kernel image... so to get it to go as ext3 you'd need ext3 compiled into the image. ok now THAT makes sense doesn't it? is there a simpler way to do it without recompiling a kernel?
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fsck.ext3 PROBLEM Darcan Linux - Newbie 5 10-12-2004 03:22 AM
fsck and ext3 perry Linux - Hardware 1 05-13-2004 02:04 PM
fsck on ext3 hemanth_13 Linux - General 1 07-24-2003 09:44 AM
fsck.ext3 failed.... frankietomatoes Linux - General 1 12-02-2002 02:34 PM
fsck in ext3?? recurrente Linux - Newbie 0 03-18-2002 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 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
Open Source Consulting | Domain Registration