Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-03-2005, 02:59 PM   #1
LQ Newbie
Registered: Sep 2005
Posts: 1

Rep: Reputation: 0
Angry Hard drive; file system error;automate fsck

We are using RedHat 9 2.4.20-8

On boot after the linux kernel begins the boot we get:

/var/local (/dev/hda12) contains a file system with errors, check forced

Error reading block 327682 short read while doing inode scan.
/var/local: Login as root and RUN fsck manually. (without -a or -p)
Or use Ctrl+D to continue booting.

If Ctrl+D is used, no matter how many times, it reboots and comes back to the same place. The disk check for ext3, journaling executes whether or not you answer yes to the disk check question.

Our problem is astronauts cannot have and do not have root.

We finally entered root and ran "fsck" with no options. fsck worked and fixed the system.

We need to give the astronauts an option to run fsck without being root. They are busy doing other tasks and problems like this uses their limited time.

I have searched these forums, google, and the RedHat site and cannot find where this script or program exists. I even installed the kernel code and could not find the messages there.

Can anyone tell me where this program or script exists so that I can update it to give the astronauts a choice to run fsck? The old Solaris OS we had gave the choice.

Last edited by jumbo25; 10-03-2005 at 03:16 PM.
Old 10-05-2005, 12:08 AM   #2
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
I think you could add the e2fsck program to a new group and add the astronauts to this group so only they have exec permissions for e2fsck........


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
Hard drive file system problem, I think...please HELP QUICKLY rivalmist Fedora 7 01-23-2009 08:26 AM
Hard drive; file system error; fsck failure linubex Mandriva 16 07-24-2006 08:50 PM
[LFS 61][failed fsck] with reiser file system mr_demilord Linux From Scratch 3 10-13-2005 04:56 AM
Reiser file system / Hard Disk/ Hard Drive Problems Oxyacetylene Linux - Software 4 10-10-2005 02:24 PM
fsck and lost hard drive space LinuxGeek Linux - Software 1 07-19-2005 08:17 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:15 PM.

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