Jump to content

still lengthy fsck with a journalled fs?


hippocampe
 Share

Recommended Posts

I use journalled filesystems (XFS and ext3) on my linux box.

I did an improper shutdown once and when I booted, it went through a *long* fsck on a XFS partition. It even said that it couldn't recover from the error!!!

I thought that the point of having a journalled fs is exactly to avoid this type of problem?

Did I miss anything here?

Link to comment
Share on other sites

I thought that the point of having a journalled fs is exactly to avoid this type of problem?

Did I miss anything here?

 

If you shutdown improperly you can force a fsck on you partition, it takes the same time for ext3 as for ext2 because they are the same, if you dont force a fsck it will try to recover from the journal which is fast. If there is a problem with the journal(i dont know i have never not been able to recover the journal) i assume that it would perform some journal recovery or a fsck therefore being slow like an ext2 partition during this situation.

 

Usually a journal means you don't have to fsck after a crash making it faster to bootup again, with ext2 you do.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...