From: Jonathan Leto <jaleto@gmail.com>
To: Dmitry Potapov <dpotapov@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Help with a possibly corrupt repo
Date: Thu, 20 May 2010 07:57:30 -0700 [thread overview]
Message-ID: <AANLkTikSo8hTPXG8kGgCLOul6wp8THobUW_rSni4D6YC@mail.gmail.com> (raw)
In-Reply-To: <20100510212801.GJ14069@dpotapov.dyndns.org>
Howdy,
I ran into this corruption issue using ecryptfs with an ext4
filesystem (on a local SSD drive) on Ubuntu 9.10. The corruption seems
to coincide with getting these errors in my dmesg output:
[12773.772426] ecryptfs_decrypt_page: Error attempting to read lower
page; rc = [-22]
[12773.772431] ecryptfs_readpage: Error decrypting page; rc = [-22]
[12796.061574] ecryptfs_read_lower: octets_read = [-4]; expected [4096]
[12796.061584] ecryptfs_read_and_validate_header_region: Error reading
header region; rc = [-22]
I am lead to believe that ecryptfs+ext4 is not yet production-ready,
although it could be a weird failure mode of my drive. I have not had
more time to test this setup with other hardware.
Duke
On Mon, May 10, 2010 at 2:28 PM, Dmitry Potapov <dpotapov@gmail.com> wrote:
> On Mon, May 10, 2010 at 02:05:09PM -0700, Jonathan Leto wrote:
>> 00020c0 deed 3541 7800 56dd 005c 0000 0000 0000
>> 00020d0 0000 0000 0000 0000 0000 0000 0000 0000
>> *
>> 0003000
>> error: garbage at end of loose object '66fdbaef5ae12a8402f6b0f7c1a73a3ce72e8eba'
>> fatal: object 66fdbaef5ae12a8402f6b0f7c1a73a3ce72e8eba is corrupted
>
> The object is "tree", and it contains a lot of zeros at end.
> I have truncated them, and it appears to fix the problem.
> I have attached the corrected file.
>
> But the important question is how it could happen. What filesystem
> do you use? Do you store it on the local disk or network share?
>
>
> Dmitry
>
--
Jonathan "Duke" Leto
jonathan@leto.net
http://leto.net
next prev parent reply other threads:[~2010-05-20 14:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-10 19:37 Help with a possibly corrupt repo Jonathan Leto
2010-05-10 20:17 ` Dmitry Potapov
2010-05-10 21:05 ` Jonathan Leto
2010-05-10 21:28 ` Dmitry Potapov
2010-05-20 14:57 ` Jonathan Leto [this message]
2010-05-21 2:59 ` Dmitry Potapov
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=AANLkTikSo8hTPXG8kGgCLOul6wp8THobUW_rSni4D6YC@mail.gmail.com \
--to=jaleto@gmail.com \
--cc=dpotapov@gmail.com \
--cc=git@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).