LinuxQuestions.org
Help answer threads with 0 replies.
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 11-21-2013, 11:11 PM   #1
Daedalos
LQ Newbie
 
Registered: Nov 2013
Location: Kansas
Distribution: Slackware 14.1 64bit Multi-lib
Posts: 22

Rep: Reputation: Disabled
Power failure with EXT4


Forgot to plugin my laptop and it died a miserable death.

After seeing that it had died (and remembering the evil data corruption
information I had read about EXT4) I freaked out, and booted it back up.

All of the drives ended up showing as clean.

Does this mean corruption did not occur?

When the computer died it was idling with a screensaver.


Is it possible anything is now corrupt within my install?
 
Old 11-22-2013, 12:29 AM   #2
PrinceCruise
Member
 
Registered: Aug 2009
Location: /Universe/Earth/India/Pune
Distribution: Slackware64 -Current
Posts: 890

Rep: Reputation: 186Reputation: 186
You're taking it bit too seriously. The ext4 data corruption bug got reproduced under a very particular scenario.
I had my fair share of sudden power offs with ext4 in last couple years and never lost anything because of it. Trust me.

Regards.
 
Old 11-22-2013, 01:19 AM   #3
Daedalos
LQ Newbie
 
Registered: Nov 2013
Location: Kansas
Distribution: Slackware 14.1 64bit Multi-lib
Posts: 22

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by PrinceCruise View Post
You're taking it bit too seriously. The ext4 data corruption bug got reproduced under a very particular scenario.
I had my fair share of sudden power offs with ext4 in last couple years and never lost anything because of it. Trust me.

Regards.
I have experienced a few as well (one leading to corruption which was quite a long time ago). That is why I asked.

I am glad to know that it is a rare occurrence.

Thanks.
 
Old 11-22-2013, 04:59 AM   #4
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
Quote:
Originally Posted by Daedalos View Post
Forgot to plugin my laptop and it died a miserable death.

...All of the drives ended up showing as clean.

...Does this mean corruption did not occur?
Probably what happened was there were some problems with files that were open when the computer 'crashed', but that the process of replaying the journal cured any problems. So, temporary 'corruption' (or, at least, inconsistent file information) may have occurred, but it was all automatically dealt with, and there is now no problem.

You may have noticed that it took a little longer to boot after having had this problem, and if you open a terminal during this time, you can see the clean up progressing...not that this is important, assuming everything gets fixed, eventually.
 
Old 11-24-2013, 01:20 AM   #5
Arcosanti
Member
 
Registered: Apr 2004
Location: Mesa, AZ USA
Distribution: Slackware 14.1 kernel 4.1.13 gcc 4.8.2
Posts: 246

Rep: Reputation: 22
I have an old Dell Latitude D400 that has a dead battery in it. From time to time the power cord gets pulled out, resulting in an improper shutdown. I've lost count on how many times that has happened. My ext3 and ext4 partitions have not suffered any data corruption at all. To be quite honest with you, I'd be more worried if you was using ext2,as that file system tended to unravel quite fast.
 
Old 11-24-2013, 04:52 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,965

Rep: Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622Reputation: 3622
Did you try a file system check application to test if there has been any file issues?
 
  


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
[SOLVED] power failure > fsck -y > ext4 converted into ext3; journel deleted etc > here ununun Linux - General 6 04-30-2012 03:10 AM
LXer: ext4, application expectations and power management LXer Syndicated Linux News 0 03-15-2009 03:30 PM
Power Supply failure or Motherboard failure? neilthereildeil Linux - Hardware 3 06-09-2008 04:47 PM
set iBook to automatically power-up after power failure peachy Other *NIX 4 04-19-2006 12:44 PM
Power Failure On AC power ONLY Gateway 5300 marti35 Linux - Laptop and Netbook 1 05-22-2005 10:14 AM

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

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