LinuxQuestions.org
Visit Jeremy's Blog.
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, 11: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, 01:37 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

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 03:14 AM.
 
Old 01-29-2010, 08:18 AM   #3
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 3,988

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 08:33 AM.
 
Old 01-29-2010, 08:30 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,604
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:49 PM
Advanced wget... michelbehr Linux - Newbie 3 05-25-2004 04:47 AM
automatic fsck on boot. fsck errors. nixel Slackware 1 05-17-2004 08:51 AM
Better buying "advanced linux prog" or "unix advanced prog" Dominik Programming 3 12-31-2003 02:11 PM
Advanced Searching robgo777 Programming 0 02-04-2003 06:34 PM


All times are GMT -5. The time now is 12:20 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration