LinuxQuestions.org
Review your favorite Linux distribution.
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 12-10-2009, 02:16 AM   #1
grete
LQ Newbie
 
Registered: May 2009
Posts: 13

Rep: Reputation: 0
ext4 recovery behaviour


Yesterday i suffered from several reboots and hangups due to my
adventure with the buggy kernel-cpufreq on a core i5-750.
So i had the (unwanted) opportunity to see what ext4 recovery is like.
Saying that i have to explain that i had'nt any crashes for years and can't say how ext3 would explode my harddisk or something.
My last crash was in 2003? can't remember.
Now, what happened is:

I edited a source file. ":wq" and "make".
Unwanted sudden reboot (see above).
After reboot, that source file was empty (0 bytes). gone.

Next example, building a new kernel with menuconfig.
Saved my /root/kernelconfig, saved .config, exited menuconfig. "make". unwanted reboot, see above.
After reboot, my /root/kernelconfig is empty (0 bytes), gone.

I had expected that unsynced files are just not changed after a crash,
or, in the best case, recovered by a journal commit.
I didn't expected them to be nullified.
This seems worse than a fs corruption, because i don't notice
what happened to unsynced files now.
Is that supposed to be? What do i miss?

Thanks
 
Old 12-10-2009, 03:33 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
What level of e2fsprogs ?.
There have been warnings about this for ages - Linus went ballistic when ext4 was merged. See lkml.
 
Old 12-10-2009, 04:12 AM   #3
grete
LQ Newbie
 
Registered: May 2009
Posts: 13

Original Poster
Rep: Reputation: 0
Holy cow.
I was reading about that in march or something, with
no great interest though because i was a happy user of ext3.
Thought that was long fixed.
Now i have read a bit more into that topic...this evening i reinstall
to ext3. Blaming app developers for fs behaviour is just
hilarious.
And i even don't use KDE or Gnome or something, just edited
one of my precious sources and its now gone. If my changes were
lost due to a system crash...ok, no problem. But the whole file was
nullified, even if this file was long present, not only created
and never hit the disk like mr. tso stated.
Honestly, i can't believe this beeing in a stable kernel.
Going to reinstall everything to ext3...man that will cost me hours
have to recompile lots of stuff because of changing ARCH.
Guess what? Most people (like me before) just don't care and don't realize,
because they don't experience system crashes.
Some day, big wakeup.

Last edited by grete; 12-10-2009 at 04:20 AM. Reason: typo
 
Old 12-10-2009, 11:48 AM   #4
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
I remember my frustration when I first tried XFS and lost my X server config file. Actually this is the "normal" behavior of all journaling FS. Using ext4 with 2.6.29 is dangerous. You have to upgrade to at least 2.6.30.

http://lwn.net/Articles/326708/

quote:
ext4: Automatically allocate delay allocated blocks on close
ext4: Automatically allocate delay allocated blocks on rename
end quote.

Good luck.
 
  


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
Is ext4 okay to use? WillingToLikeLinux Linux - Newbie 26 05-31-2009 11:55 AM
Linux recovery of Windows workstations - using baremetal recovery Reefcrazed Linux - Software 20 01-06-2009 05:15 AM
Ext4 aukuntin Linux - General 1 09-16-2008 09:15 AM
LXer: How to backup MySQL and recovery Using Zmanda Recovery Manager LXer Syndicated Linux News 0 09-10-2008 04:30 AM
LXer: Linux Data Recovery on Windows - Is possible through Disk Doctors Linux Recovery Software LXer Syndicated Linux News 0 10-22-2006 12:21 PM

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

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