LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 10-03-2005, 03:59 PM   #1
jumbo25
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 04:16 PM.
 
Old 10-05-2005, 01:08 AM   #2
freakyg
Member
 
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........
 
  


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


All times are GMT -5. The time now is 10:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration