Dear All My CentOS 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100128/7627bdce/attachment-0001.html>
On Wed, Jan 27, 2010 at 9:45 PM, hadi motamedi <motamedi24 at gmail.com> wrote:> Dear All > My?CentOS 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 youI presume /dev/hda3 is root partition. Try booting off the 1st CD then type linux rescue and run fsck from there. See http://www.centos.org/docs/5/html/Installation_Guide-en-US/s1-rescuemode-boot.html -- Enjoy global warming while it lasts.
fsck -fvy will correct most of the problems without asking everytime to accept the changes to fs. fsck -cvy will correct and test for bad sectors too (looong time run). CM From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On Behalf Of hadi motamedi Sent: Thursday, January 28, 2010 7:45 AM To: CentOS mailing list Subject: [CentOS] Advanced fsck? Dear All My CentOS 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20100128/cbf0d981/attachment-0001.html>