LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-24-2004, 11:57 PM   #1
infinity432
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
system recovery after improper shutdown - mandrake 10.0 offical


I recently installed Mandrake 10.0 official (2 days ago), got it up and running as a web server and this morning a hellacious ice/snow storm took out power lines here in the Midwest. Power was lost in the middle of the night. In the morning I tried to reboot and of course I got the improper shut down message. The file system check fails when it runs into errors, I attempt to fix the errors ....

Pass 1: Checking inodes,blocks, and sizes on /dev/hda5 stalls
error reading block10354690 (attempt to read block from filesystem resulted in short read) while doing inode scan.
error reading block10354691 (attempt to read block from filesystem resulted in short read) while doing inode scan.
This continues...until I get to a prompt where I'm able to get logged in but the system is very unstable and unusable.

I guess I will reinstall and start the process over again.
Is there anything I can do to to keep my installation from breaking whenever there's an improper shutdown? I have read that making a backup of /etc in something like /backup/etc when the system is in good working order, then after an improper shutdown, to copy the files from /backup/etc to /etc. This seems like a hassle and hazardous to the system.
Side Note: Problems like this hinder the advancement of linux to the general public.

Thanks in advance,
Zach
 
Old 11-25-2004, 12:49 AM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
welcome.

you don't have to reinstall everything - try to repair.

use a journaling filesystem like ext3 or reiserfs or ... if you work without a ups.

make backups (use tar, cpio, rsync or whatever tool you like to use).

side note: this is no linux problem - it's human

sl mritch.
 
Old 11-25-2004, 01:40 AM   #3
infinity432
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Original Poster
Rep: Reputation: 0
I'm currently using ext3 and when it tries to repair it has problems it fails to fix the errors. I've never done backup before, what too would work best if I want to copy from hda to hdb, 2 separate physical drives? A ups is on my Christmas list to help alleviate these problems.
 
Old 11-25-2004, 02:29 AM   #4
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
this is *very* rare, but can happen. i have a few machines (w/o ups) and every of them sure had to survive a minimum of one powerfailure yet - nothing broken. cleaning up the mess and reinstalling broken things will work, but is a lot of work and quite a bit knowledge is involved here - for the future: allways have a backup handy.
since you sat it up 2 days ago, reinstalling hopefully will not be that annoying.

like mentioned there are a lot of different tools that will help you with your backup. write your own scripts or use some gui-tool.

if you have other drives and also want to gain performance also think about using raid - which is kind of having a uptodate hardcopy of your drive; comes handy if a drive dies.

as you seem new to linux, have a look at www.dltp.org for usefull documentation about various topics on the os.

sl mritch.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Force filesystem check after improper shutdown? Phaethar Linux - General 6 04-23-2011 08:12 PM
system stuck in loop after improper shutdown dr_zayus69 Linux - General 8 08-21-2005 02:30 PM
where to find improper shutdown logs linylion Linux - General 4 09-07-2004 11:59 PM
recovering from improper shutdown: ext3 kngharv Linux - Newbie 2 06-11-2003 09:29 PM
HDD problem after improper shutdown... Azazel Linux - Newbie 2 01-19-2003 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:25 AM.

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
Open Source Consulting | Domain Registration