On 04/12/2015 01:47, Qu Wenruo wrote: > [run btrfsck]
I did that, too with an old btrfsck version (4.0) and it found the following errors. Then I did a btrfsck --repair, and I have been able to complete my "du -s" test. The next step will we to run a "btrfs scrub" to check if data loss did happen... # btrfsck /dev/sdb1 Checking filesystem on /dev/sdb1 UUID: f6d4db2e-962b-42db-87b1-35064a4d38e0 checking extents checking free space cache block group 314635714560 has wrong amount of free spacefailed to load free space cache for block group 314635714560 There is no free space entry for 353290420224-353290764288 There is no free space entry for 353290420224-353827291136 cache appears valid but isnt 353290420224 There is no free space entry for 541732175872-541732208640 There is no free space entry for 541732175872-542268981248 cache appears valid but isnt 541732110336 Wanted bytes 32768, found 262144 for off 1008273178624 Wanted bytes 536625152, found 262144 for off 1008273178624 cache appears valid but isnt 1008272932864 block group 1475887497216 has wrong amount of free spacefailed to load free space cache for block group 1475887497216 block group 1823242977280 has wrong amount of free spacefailed to load free space cache for block group 1823242977280 There is no free space entry for 1827001073664-1827002810368 There is no free space entry for 1827001073664-1827537944576 cache appears valid but isnt 1827001073664 There is no free space entry for 1969305501696-1969305518080 There is no free space entry for 1969305501696-1969842290688 cache appears valid but isnt 1969305419776 There is no free space entry for 2021381947392-2021381963776 There is no free space entry for 2021381947392-2021918769152 cache appears valid but isnt 2021381898240 There is no free space entry for 2027287478272-2027287724032 There is no free space entry for 2027287478272-2027824349184 cache appears valid but isnt 2027287478272 There is no free space entry for 2143889227776-2143889244160 There is no free space entry for 2143889227776-2144426000384 cache appears valid but isnt 2143889129472 found 1977224107644 bytes used err is -22 total csum bytes: 1925245108 total tree bytes: 5773115392 total fs tree bytes: 3504685056 total extent tree bytes: 156975104 btree space waste bytes: 780048699 file data blocks allocated: 1971884707840 referenced 1971875930112 btrfs-progs v4.0 -- Laurent. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html