LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-17-2005, 01:22 PM   #1
haze
LQ Newbie
 
Registered: Feb 2004
Posts: 16

Rep: Reputation: 0
Sudden Shutdown


I recently experienced a sudden power loss when my slack box was abruptly turned off.

After starting it up again there didn't seem to be any damage to the system.

Is there any way of checking my file system for damage.? I already ran 'fsck', but where do I check to see wether any errors were found?

Does anybody have any experience of how to handle this?
 
Old 04-17-2005, 01:45 PM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
fsck will tell you if it found any errors.

What filesystem are you using? That has a big effect on what you need to do when the system abruptly loses power: if it's a journalling system (Reiser or ext3), then you're pretty much safe. The current version of either of those filesystems is fully journalling. They keep track of which files are open, as well as metadata (where the file is on the actual HDD platter, file attributes), and fsck knows how to read the journal and recover the data in the event of an error.
 
Old 04-17-2005, 04:28 PM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Yeah, if you're using reiserfs, ext3, or another journaling system, you're ok. In case of a sudden shut down, the file system isn't marked as "clean" and it was checked automatically when you booted back up. If you didn't get any errors then, you're fine.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ibuddie a928 - debiant testing sudden shutdown problem braungiobi Linux - Laptop and Netbook 0 09-11-2005 04:39 AM
Sudden Shutdown sunderam_uccs Linux - Laptop and Netbook 5 02-27-2005 10:52 AM
Sudden Downloads D00 Linspire/Freespire 1 11-16-2004 11:27 AM
And then all of a sudden, everything broke. Atero Linux - Software 0 12-01-2003 02:59 AM
all of a sudden i can't resolve? Sir.Del Linux - Networking 2 10-27-2002 09:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:45 PM.

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