Results 1 to 10 of 14
Hi,
When I boot the linux kernel 2.6 , I was kicked out and request to run fsck manually.
After running fsck -y /dev/vg00/lvol3 and /dev/vg00/lvol4 and reboot,
I still ...
- 02-17-2010 #1Just Joined!
- Join Date
- Aug 2009
- Posts
- 44
fsck repeat error in linux kernel 2.6
Hi,
When I boot the linux kernel 2.6 , I was kicked out and request to run fsck manually.
After running fsck -y /dev/vg00/lvol3 and /dev/vg00/lvol4 and reboot,
I still get the same error and request me to run fsck .
I attach the console output in here .
Please advice to fix it ....
- 02-17-2010 #2Linux Guru
- 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
Well, you obviously have some sort of serious problem with the file system. What are the error messages you get when you run fsck manually?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-17-2010 #3Just Joined!
- Join Date
- Apr 2009
- Location
- Berkeley, California
- Posts
- 20
Were you able to drop to the shell and run fsck? And if so, do as Rubberman (Hi Rubberman! I haven't logged in for a long time!) suggested and post all the output. You should also, if possible, boot from non-hard drive medium, such as a bootable USB stick. From there, you can mount the offending drives, run fsck, and see what happens. I recently fixed a friend's computer (running Ubuntu) this way; he had the same error as you do, but I cannot say if the causes are related.
- 02-18-2010 #4Just Joined!
- Join Date
- Aug 2006
- Posts
- 7
Try running Knoppix from a USB or CD drive. e2fsck or e2fsck -p are safer than fsck. The man page for both says it's unsafe to run fsck or e2fsck on mounted filesystems, so you should boot from another device listed in the BIOS. Good luck!
- 02-18-2010 #5Just Joined!
- Join Date
- Apr 2009
- Posts
- 7
There are 2 ways of doing this safely
1.Take down system to single user mode and unmount system.
2.Boot from cd into linux rescue mode.
If u r using step 1.
#init 1
#umount /
#fsck / or #e2fsck -y /
answer yes or just hold the enter key until it clears.
if u r using step 2
Put the cd say ubuntu or redhat
At the boot prompt type
linux rescue nomount
#fsck / or #e2fsck -y /dev/....whatever u wanna scan for..
That's it.Also have a watch on your fstab.Sometimes when u do rsync to sync servers some problems occur.anyways forget rsync now choose any one of the above steps .
bye
praveen
- 02-18-2010 #6Just Joined!
- Join Date
- Aug 2009
- Posts
- 44
- 02-18-2010 #7Just Joined!
- Join Date
- Aug 2009
- Posts
- 44
- 02-20-2010 #8Just Joined!
- Join Date
- Apr 2009
- Posts
- 7
did you go to init 1 and then umount /dev/vg00/lvol4
Then run fsck.You can do it individually or
just do this then
#init 1
#mount -n -o remount /
#fsck /dev/vg00/lvol04
here answer yes, hope things come up.If it clears for lvol04 then u r on right track.Again error may come for other vol.Do the same.
#init 6
In the hindsight wanted to know what caused this prob.Some hard disk swapping or anything could have happened.If the cause is known it's very simple to fix.
praveen
- 02-21-2010 #9Just Joined!
- Join Date
- Aug 2009
- Posts
- 44
- 02-22-2010 #10Just Joined!
- Join Date
- Apr 2009
- Posts
- 7
#debugfs -w /dev/vg00 -R "features ^resize_inode"
it will ask for the partition give the partition
#fsck.ext3 -f /dev/vg00
Hope it clears.


Reply With Quote
