Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533850 - sys-fs/btrfs-progs: bump to 3.1{7.3,8}
Summary: sys-fs/btrfs-progs: bump to 3.1{7.3,8}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL: https://www.mail-archive.com/linux-bt...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-28 19:02 UTC by ernsteiswuerfel
Modified: 2015-01-01 16:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2014-12-28 19:02:42 UTC
3.17.3 incorporates a fix for converting ext4 to btrfs: http://git.kernel.org/cgit/linux/kernel/git/mason/btrfs-progs.git/commit/?id=ad96e8f4d656b6b46253b2122a96d5e9c4a17b18

It may help fixing the problem which I am facing since several kernel and btrs-progs releases. Never got a clean conversion from ext4 to btrfs, btrfs-progs is always complaining something is wrong. See below:

Reproducible: Always

Actual Results:  
supah ef # btrfs-convert /dev/sdb2
creating btrfs metadata.
creating ext2fs image file.
cleaning up system chunk.
conversion complete.

supah ef # btrfsck /dev/sdb2
Checking filesystem on /dev/sdb2
UUID: 6f73e62c-cc08-4e9d-8c2d-0a9ada6be131
checking extents
checking free space cache
checking fs roots
root 256 inode 257 errors 800, odd csum item
found 5027286346 bytes used err is 1
total csum bytes: 8150716
total tree bytes: 1189072896
total fs tree bytes: 1110675456
total extent tree bytes: 64163840
btree space waste bytes: 315077607
file data blocks allocated: 19114659840
 referenced 19114659840
Btrfs v3.17.1

supah ef # mount /dev/sdb2 /media/temp/
supah ef # umount /media/temp/
supah ef # btrfsck /dev/sdb2
Checking filesystem on /dev/sdb2
UUID: 6f73e62c-cc08-4e9d-8c2d-0a9ada6be131
checking extents
checking free space cache
checking fs roots
root 256 inode 257 errors 800, odd csum item
found 4974440021 bytes used err is 1
total csum bytes: 8150716
total tree bytes: 1189109760
total fs tree bytes: 1110675456
total extent tree bytes: 64184320
btree space waste bytes: 315105476
file data blocks allocated: 19120295936
 referenced 19120295936
Btrfs v3.17.1

supah ef # mount /dev/sdb2 /media/temp/
supah ef # btrfs subvol list /media/temp/
ID 256 gen 166 top level 5 path ext2_saved
supah ef # btrfs subvol delete /media/temp/ext2_saved/
Transaction commit: none (default)
Delete subvolume '/media/temp/ext2_saved'
supah ef # umount /media/temp/
supah ef # btrfsck /dev/sdb2
Checking filesystem on /dev/sdb2
UUID: 6f73e62c-cc08-4e9d-8c2d-0a9ada6be131
checking extents
checking free space cache
checking fs roots
checking csums
There are no extents for csum range 0-69632
Csum exists for 0-69632 but there is no extent record
found 4976598497 bytes used err is 1
total csum bytes: 8150716
total tree bytes: 1189117952
total fs tree bytes: 1110675456
total extent tree bytes: 64192512
btree space waste bytes: 315113457
file data blocks allocated: 19120295936
 referenced 19120295936
Btrfs v3.17.1
Comment 1 Piotr Szymaniak 2015-01-01 11:58:30 UTC
Meanwhile 3.18 was released.
Comment 2 Mike Gilbert gentoo-dev 2015-01-01 14:54:06 UTC
+*btrfs-progs-3.18 (01 Jan 2015)
+*btrfs-progs-3.17.3 (01 Jan 2015)
+
+  01 Jan 2015; Mike Gilbert <floppym@gentoo.org> +btrfs-progs-3.17.3.ebuild,
+  +btrfs-progs-3.18.ebuild:
+  Version bump, bug 533850.
Comment 3 Piotr Szymaniak 2015-01-01 16:57:30 UTC
Thanks! (and) Happy new year!