From: Markus Suvanto <markus.suvanto@gmail.com>
To: Atila <atila.alr@dpf.gov.br>
Cc: linux-btrfs@vger.kernel.org, Chris Mason <chris.mason@oracle.com>
Subject: Re: [PATCH]Re: The first character disappears
Date: Mon, 24 Aug 2009 19:42:04 +0300 [thread overview]
Message-ID: <bcf98daa0908240942l1f2ad95v609321409434801c@mail.gmail.com> (raw)
In-Reply-To: <bcf98daa0908240722y6a6e767ahfab958d8e973370c@mail.gmail.com>
Now I notice that I can reproduce this index file corrupt only if
compress is enabled.
lvm lvcreate -L 5G -n btrfs_test /dev/vg_md1
mkbtrfs /dev/mapper/vg_md1-btrfs_test
mount -t btrfs -o subvol=.,compress /dev/mapper/vg_md1-btrfs_test /tmp/btrfs/
btrfsctl -S test /tmp/btrfs/
cd /tmp/btrfs/test/
git clone /usr/src/linux-2.6/
/tmp/btrfs-progs-unstable/bcp linux-2.6/ linux-2.6_copy
cd linux-2.6_copy/
git status
error: bad index file sha1 signature
fatal: index file corrupt
But without compress:
mkbtrfs /dev/mapper/vg_md1-btrfs_test
mount -t btrfs -o subvol=. /dev/mapper/vg_md1-btrfs_test /tmp/btrfs/
btrfsctl -S test /tmp/btrfs/
cd /tmp/btrfs/test/
git clone /usr/src/linux-2.6/
/tmp/btrfs-progs-unstable/bcp linux-2.6/ linux-2.6_copy
cd linux-2.6_copy/
git status
# On branch master
nothing to commit (working directory clean)
2009/8/24 Markus Suvanto <markus.suvanto@gmail.com>:
> Ok, the first problem is fixed but after bcp
> git status
> error: bad index file sha1 signature
> fatal: index file corrupt
next prev parent reply other threads:[~2009-08-24 16:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bcf98daa0908232200r854444dwde3cfcf6b2181c6b@mail.gmail.com>
2009-08-24 5:17 ` The first character disappears Markus Suvanto
2009-08-24 11:52 ` Chris Mason
2009-08-24 12:51 ` [PATCH]Re: " Atila
2009-08-24 13:52 ` Markus Suvanto
2009-08-24 14:22 ` Markus Suvanto
2009-08-24 16:42 ` Markus Suvanto [this message]
2009-08-24 17:11 ` Sage Weil
2009-08-25 8:04 ` Markus Suvanto
2009-08-25 20:19 ` [PATCH] Btrfs: fix arithmetic error in clone ioctl Sage Weil
2009-08-26 7:19 ` Markus Suvanto
2009-08-27 17:44 ` [PATCH]Re: The first character disappears Atila
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=bcf98daa0908240942l1f2ad95v609321409434801c@mail.gmail.com \
--to=markus.suvanto@gmail.com \
--cc=atila.alr@dpf.gov.br \
--cc=chris.mason@oracle.com \
--cc=linux-btrfs@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