Re: [PATCH]Re: The first character disappears

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

 



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@xxxxxxxxx>:
> Ok, the first problem is fixed but after bcp
> git status
> error: bad index file sha1 signature
> fatal: index file corrupt
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux