Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17
I am running centos 5 on adaptec 2405 raid 10 PHP Code: I get this error : EXT3 - fs error  ( device sda8 ):  ext3_lookup : unlinked inode 55804731 in dir  #55804693 Aborting journal on device sda8 . ext3_abort called . EXT3 - ...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    7

    unlinked inode, aborted journal and read only file system

    I am running centos 5 on adaptec 2405 raid 10

    PHP Code:
    I get this error:
    EXT3-fs error (device sda8): ext3_lookup:
    unlinked inode 55804731 in dir #55804693
    Aborting journal on device sda8.
    ext3_abort called.
    EXT3-fs error (device sda8):
    ext3_journal_start_sbDetected aborted journal
    Remounting filesystem read
    -only 
    How do I fix this?


    Tried

    PHP Code:
    tune2fs -^has_journal /dev/sda8

    fsck 
    -/dev/sda8 (this immediately returned that the filesystem was
    clean 
    and without error)

    tune2fs -/dev/sda8 
    Thank you!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Run fsck -f /dev/sda8 to force it to check the file system, even if it appears to be "clean".
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568
    yes - I would agree with Rubberman , try forcing fsck.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  4. #4
    Just Joined!
    Join Date
    Apr 2010
    Posts
    7
    I will give that a try. Also was told to try:

    PHP Code:
    fsck -cr /dev/sda8 
    Is that recommended?

  5. #5
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    The -c option does a bad-block check of the disc. Not a bad idea. You can do that with the -f option also.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  6. #6
    Just Joined!
    Join Date
    Apr 2010
    Posts
    7
    So use:


    PHP Code:
     fsck -crf /dev/sda8 
    With the journal on or off?

  7. #7
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Exclamation

    With the journal on or off?
    I'm not sure about option to turn on/off journal. How would you do that?

    But I strongly recommend you to continue fsck with Journaling on - Since the only purpose of using journal is to recover file system from crash.So run fsck with journal on.
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  8. #8
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Actually, for fsck, turn it off. You can't fix a mounted file system anyway. An ext3 file system is just an ext2 file system w/ journaling, which can be enabled/disabled by mounting or remounting with the appropriate options. When you run fsck against either an ext2 or ext3 file system, it actually uses the e2fsck application. Here is the relevant paragraph from the man page:
    Code:
           e2fsck  is  used  to  check a Linux second extended file system (ext2fs).  E2fsck
           also supports ext2 filesystems containing a journal,  which  are  also  sometimes
           known as ext3 filesystems, by first applying the journal to the filesystem before
           continuing with normal e2fsck processing.  After the journal has been applied,  a
           filesystem will normally be marked as clean.  Hence, for ext3 filesystems, e2fsck
           will normally run the journal and exit, unless its superblock indicates that fur-
           ther checking is required.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  9. #9
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,568

    Exclamation

    Quote Originally Posted by Rubberman View Post
    Actually, for fsck, turn it off. You can't fix a mounted file system anyway. An ext3 file system is just an ext2 file system w/ journaling, which can be enabled/disabled by mounting or remounting with the appropriate options. When you run fsck against either an ext2 or ext3 file system, it actually uses the e2fsck application. Here is the relevant paragraph from the man page:
    Code:
           e2fsck  is  used  to  check a Linux second extended file system (ext2fs).  E2fsck
           also supports ext2 filesystems containing a journal,  which  are  also  sometimes
           known as ext3 filesystems, by first applying the journal to the filesystem before
           continuing with normal e2fsck processing.  After the journal has been applied,  a
           filesystem will normally be marked as clean.  Hence, for ext3 filesystems, e2fsck
           will normally run the journal and exit, unless its superblock indicates that fur-
           ther checking is required.
    Thanks for clarification Rubberman. But the man page says , " by first applying the journal to the filesystem before continuing with normal e2fsck processing " .

    What I'm worried is , If this current corrupted file system /dev/sda8 - has previously unfinished task -- will be replayed if journal turned off ?
    - Lakshmipathi.G
    -------------------
    FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
    First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -------------------

  10. #10
    Just Joined!
    Join Date
    Apr 2010
    Posts
    7
    The issue was caused due to a crash then power cycle. Maybe that will help determine the commands needed.

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...