From: tytso@mit.edu
To: Jan Kara <jack@suse.cz>
Cc: Oscar Megia <megia.oscar@gmail.com>, linux-fsdevel@vger.kernel.org
Subject: Re: BUG EXT3-fs: fragsize 1024 != blocksize 4096 (unsupported)
Date: Tue, 6 Apr 2010 17:07:08 -0400 [thread overview]
Message-ID: <20100406210708.GN23670@thunk.org> (raw)
In-Reply-To: <20100406200552.GF4420@quack.suse.cz>
On Tue, Apr 06, 2010 at 10:05:52PM +0200, Jan Kara wrote:
> On Tue 06-04-10 21:35:09, Oscar Megia wrote:
> > Yes, it was a problem with the ATX power supply. I replaced it and now
> > is working fine.
> >
> > I did what you told and I recover my important data but not all fs.
> >
> > The matter is if you have a hardware fault the ext3 journal fs don't
> > preserve your data.
> >
> > I'm not an expert about the journal ext3 fs but I though is designed
> > to preserve data so if the HD has a fault, ext3 must preserve your
> > data. If the fault is during updating the main fs it must go to the
> > previous main fs. This could happen when there is a power cut.
> Ext3 journal prevents filesystem corruption only in case the power
> fails suddently. Also cases like kernel crashes are usually solved by the
> journal quite fine. But in situations like flaky power supply where memory
> can provide wrong data to disk or disk writes only some data because of
> weak voltage, journaling does not help at all. Generally, only good backups
> are a solution to bugs in HW...
This is all true. However, e2fsck should have been able to use a
duplicate superblock, and fix at least the fragsize 1024 != blocksize
4096 problem. Depending on how much damage was done to the disk by
the flaky power supply, you might not recover all of your data, but
usually e2fsck can help you recover at least some of your files....
You might have to run it from a rescue CD if your root filesystem is
badly scrambled, though.
- Ted
prev parent reply other threads:[~2010-04-06 21:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <d2be449a1003160554w2309064dj5c9e5dd5994ce23d@mail.gmail.com>
2010-03-16 13:05 ` BUG EXT3-fs: fragsize 1024 != blocksize 4096 (unsupported) Oscar Megia
2010-03-17 16:24 ` Jan Kara
2010-04-06 19:35 ` Oscar Megia
2010-04-06 20:05 ` Jan Kara
2010-04-06 20:16 ` Oscar Megia
2010-04-06 21:07 ` tytso [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100406210708.GN23670@thunk.org \
--to=tytso@mit.edu \
--cc=jack@suse.cz \
--cc=linux-fsdevel@vger.kernel.org \
--cc=megia.oscar@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).