Re: 177GB ext3 partition fscked (aes256)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> "hdparm -W 0 /dev/hda" solves only the case when power is lost
> unexpectedly.
> If computer crashes, but hard disk still gets power from UPS or laptop
> batteries, hard disk can complete queued writes successfully.
> 
> Enabled hard disk write cache is not necessarily the cause of your file
> system corruption. When your box crashes, and openGL/X-server/kernel-drm
> starts writing to kernel RAM locations they should not modify, then such
> crash may well cause serious file system damage.

Said in brief, when my box crashes anything can happen and best I can do is
to push the reset button as fast as I can, right?
Yes, it must have been the X-server because MPlayer stuck up but the
harddrive didn´t stop.
Is there any cure to prevent crashing apps from writing into my kernel RAM
and corrupting my filesystem?

> On SUSE, maybe you can create new boot script:
> 
> /etc/init.d/boot.d/S01myhdparm.sh
> 
> > I suppose this change will reduce harddisk performance a little bit,
> right?
> 
> Write performance will suffer badly.

I tried "hdparm -W 0 /dev/hda". You can switch on and off the write cache.
hdparm -I gives detailed information. Problem is, when write cache is off
writing rates drop to 1/10 of normal performance. So that´s not a help.

Btw, I could convince fsck.ext3 to connect some data with the lost+found
folder. As I could see about 80GB were restored there. Problem is that the
directory name are numerical now, some filenames also. So that means either
work to arrange it again or just data loss. However, it´s impressive to see
what fsck can do.

Is there a way to make some testing? I mean to cause a crash and look
whether it gets better by adding "sync" to the fstab? So far I tried with
the reset button, but that´s just powerloss and not a crash. On ext3 fs
would the crash be reversible if only I replay the journal?
With regard to the data partition it would be an idea to just mount it
readonly when starting openGL games.

Ok, thanks for your attention.

Regards,
Peter

-- 
NEU: WLAN-Router für 0,- EUR* - auch für DSL-Wechsler!
GMX DSL = supergünstig & kabellos http://www.gmx.net/de/go/dsl


-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux