[SOLVED] Aborted journal and volume remounted read-only??
Linux - NewbieThis 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
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 have errors like this in my messages file, and nobody can write to the volume its talking about. i'm assuming i need to reboot and do an e2fsck but what options would you recommend? -fyc i'm thinking but not sure. thanks for the help!!
journal_bmap: journal block not found at offset 5132 on hdb5
Aborting journal on device hdb5.
__journal_remove_journal_head: freeing b_committed_data
journal commit I/O error
ext3_abort called.
EXT3-fs error (device hdb5): ext3_journal_start_sb: Detected aborted journal
Remounting filesystem read-only
Click here to see the post LQ members have rated as the most helpful post in this thread.
Actually, what you need to do is remove the journal from the filesystem and then do the e2fsck -f. Then readd the journal and reboot. Of course to do all this you need the filesystem unmounted.
What you're going to need to do is reboot to single user mode, make sure drive is unmounted and then fsck it. I would suggest -fn first run to see what it says... after that if necessary -fc and if there are tons of errors -fcy and you know you want to answer yes on everything... first thing first though, I would be get back up off that drive NOW.
Actually, what you need to do is remove the journal from the filesystem and then do the e2fsck -f. Then readd the journal and reboot. Of course to do all this you need the filesystem unmounted.
What you're going to need to do is reboot to single user mode, make sure drive is unmounted and then fsck it. I would suggest -fn first run to see what it says... after that if necessary -fc and if there are tons of errors -fcy and you know you want to answer yes on everything... first thing first though, I would be get back up off that drive NOW.
luckily (i guess) this is my backup server, so its backups of all my other servers. I have a -fcy running now, figure might as well check it all since i have some time. but what about the bad journal thing?
So with those messages i was getting, is it absolutely necessary, a good idea, or just possible that i will need to drop and recreate the journal? Also, how long does that process take roughly?
Everything I've been told about dealing with an aborted journal says that you need to drop the journal, fsck, and re-add the journal. Simply get into an environment where you can unmount and work on the device in question and run the three commands that I suggested earlier.
So once my original e2fsck finishes, done without dropping the journal, do I still need to do another one once I drop the journal or can I just drop and create it skipping the e2fsck in the middle of those 2 commands?
Journal rebuilt, said volume was clean on startup, and I just successfully did a du -sh * on the entire volume, which I couldn't do before! I think I'm ok!
I do have a question though, now my lost+found is 17GB though. I think I saw it say it was moving stuff to there during the e2fsck. All the file names in there look like a number sign than an inode number maybe? What are all those files? Does this mean I lost 17GB of data?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.