linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: bugme-daemon@bugzilla.kernel.org
To: linux-ext4@vger.kernel.org
Subject: [Bug 12533] New: with extents, ext4 block count wrong
Date: Sat, 24 Jan 2009 01:18:52 -0800 (PST)	[thread overview]
Message-ID: <bug-12533-13602@http.bugzilla.kernel.org/> (raw)

http://bugzilla.kernel.org/show_bug.cgi?id=12533

           Summary: with extents, ext4 block count wrong
           Product: File System
           Version: 2.5
     KernelVersion: 2.6.28
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext4
        AssignedTo: fs_ext4@kernel-bugs.osdl.org
        ReportedBy: markus@cs.wisc.edu


Latest working kernel version: 2.6.28
Earliest failing kernel version: 2.6.28
Distribution: Gentoo
Hardware Environment: i686
Block size: 4096

I'm trying to recover from a massive data loss with ext4 (root directory
erased), so I'm looking at lots of hexedit output.  Here's one thing that looks
quite wrong:

ED 41 E8 03  00 10 00 00  16 81 73 49  16 81 73 49
16 81 73 49  00 00 00 00  E8 03 03 00  08 00 00 00
00 00 08 00  02 00 00 00  0A F3 01 00  04 00 00 00
00 00 00 00  00 00 00 00  01 00 00 00  3E 17 13 00
00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00
00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00
00 00 00 00  61 27 09 0B  00 00 00 00  00 00 00 00
00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00

The 4 in the second byte indicates this is a directory.  The second word says
the file size is 4096 bytes, the same as the block size.  The eight word says
there are eight blocks.  Last, the extent header has one extent (second half of
the 11th word), and this one extent has a block count of 1 (first half of 15th
word).

The directory contains a single directory.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

             reply	other threads:[~2009-01-24  9:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-24  9:18 bugme-daemon [this message]
2009-01-25  3:48 ` [Bug 12533] with extents, ext4 block count wrong bugme-daemon
2009-01-25  5:38 ` bugme-daemon

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=bug-12533-13602@http.bugzilla.kernel.org/ \
    --to=bugme-daemon@bugzilla.kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    /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).