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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-27-2010, 11:54 PM
|
#1
|
Member
Registered: Aug 2009
Posts: 228
Rep:
|
Advanced fsck?
Dear All
My Red Hat 7.2 server got file system inconsistency , asking for "type Ctrl-D for normal boot or give root password for maintenance to run fsck manually". I tried for manually run fsck , as the followings :
#fsck -s /dev/hda3
But after rebooting the server it will come back again at the similar prompt asking for "give root password for maintenance" . Can you please do me favor and let me know how can I try for advanced fsck to fix the bug?
Thank you
|
|
|
01-28-2010, 01:37 AM
|
#2
|
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Rep:
|
Even I have encountered this issue while working with VMs. Sometimes running fsck to all file systmes will fix this issue.
Many times it gives ctrl-D option to reboot the machine even after running fsck to all filesystems. In such cases I have reinstalled the OS on VMs.
This has been happened to me when I play with LVM or fdisk commands in VMs. This is not acceptable when it comes to Real Machine. Can any expert guide us to fix this issue...
Awaiting for Positive replys...
Thanks in advance....
Last edited by vinaytp; 01-28-2010 at 03:14 AM.
|
|
|
01-29-2010, 08:18 AM
|
#3
|
Senior Member
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,637
Rep:
|
Quote:
Originally Posted by vinaytp
...Sometimes running fsck to all file systmes will fix this issue...
|
So as to be sure to fsck "/" as well I use from the Ctrl-D environment That will force a check on all partitions listed in /etc/fstab while they are not mounted yet.
Last edited by JZL240I-U; 01-29-2010 at 08:33 AM.
|
|
|
01-29-2010, 08:30 AM
|
#4
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,969
|
Hi,
Quote:
Originally Posted by hadimotamedi
Dear All
My Red Hat 7.2 server got file system inconsistency , asking for "type Ctrl-D for normal boot or give root password for maintenance to run fsck manually". I tried for manually run fsck , as the followings :
#fsck -s /dev/hda3
But after rebooting the server it will come back again at the similar prompt asking for "give root password for maintenance" . Can you please do me favor and let me know how can I try for advanced fsck to fix the bug?
Thank you
|
You must run 'fsck' on a unmounted filesystem. By running in single user mode you insure that the filesystem can be repaired. You can pass 'single' to your kernel or use a LiveCD/install CD to boot the system then perform maintenance on the filesystem.
|
|
|
All times are GMT -5. The time now is 08:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|