LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 01-27-2010, 10:54 PM   #1
hadimotamedi
Member
 
Registered: Aug 2009
Posts: 228

Rep: Reputation: 30
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
 
Old 01-28-2010, 12:37 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
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 02:14 AM.
 
Old 01-29-2010, 07:18 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Quote:
Originally Posted by vinaytp View Post
...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
Code:
shutdown -r -F now
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 07:33 AM.
 
Old 01-29-2010, 07:30 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by hadimotamedi View Post
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.

 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I like advanced functionality -- so, Hello! J_ED LinuxQuestions.org Member Intro 1 03-31-2009 05:49 PM
Advanced wget... michelbehr Linux - Newbie 3 05-25-2004 03:47 AM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 07:51 AM
Better buying "advanced linux prog" or "unix advanced prog" Dominik Programming 3 12-31-2003 01:11 PM
Advanced Searching robgo777 Programming 0 02-04-2003 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration