LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 07-05-2006, 01:10 AM   #1
jmkelm08
Member
 
Registered: Nov 2005
Posts: 33

Rep: Reputation: 15
fsck after improper shutdown


I need a reliable way to ensure that an embedded Linux system starts up correctly after a power loss. Right now, if power gets cut, on the next start I am prompted to fix the hard drive using "fsck /dev/hda5". After "fixing" several nodes and restarting, the system is okay again. What I really need is a way to do this without needing any human interaction. Once everything is setup, the system will not be accessible and will have to be self-maintaining. I'm not exactly sure what distribution is running on this machine, it came with the board, but it appears to have all of the normal linux functions. It is running kernel version 2.4.31 if that makes any difference. Thanks for any suggestions!
 
Old 07-05-2006, 02:40 AM   #2
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 600

Rep: Reputation: 49
Can you investigate what filesystem the machine uses now and what different filesystems it can use? It seems that it doesn't use a journaling filesystem. If you can swith to use a journaling filesystem (such as ext3, reiserfs), it will not be necessary to fsck after power loss - journaling filesystems are designed to prevent data corruption in these events.
 
  


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
Improper shutdown question... TippyToes Linux - Newbie 3 06-01-2006 03:03 PM
improper shutdown eating up space wincrk Linux - Networking 3 05-03-2006 03:32 AM
Improper shutdown - dead slack :( Bagsis Linux - General 3 02-23-2006 07:46 PM
Improper Shutdown... errrr adubb Linux - General 3 01-30-2006 10:10 AM
improper shut down, hda3 wont fsck michaelbhahn Linux - Hardware 6 12-22-2004 12:09 PM


All times are GMT -5. The time now is 03:31 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