Re: Btrfs read-only after btrfs-convert from Ext4 workaround

2015-07-13 Thread René Pfeiffer
On Jul 12, 2015 at 2026 -0600, Chris Murphy appeared and said:
 On Sun, Jul 12, 2015 at 7:23 PM, René Pfeiffer l...@luchs.at wrote:
 ...
  Output of uname, btrfs, and the dmesg log is attached. Let me know if you
  need anything else. The old Btrfs is still on another disk, and I can
  extract information from it.
 
 If you can run 'btrfs check' on it (without repair) using btrfs-progs
 4.0, and 3.19.1, and report the results of each, that would be really
 useful.

Here we go.

Best,
René.

-- 
  )\._.,--,'``.  fL  Let GNU/Linux work for you while you take a nap.
 /,   _.. \   _\  (`._ ,. R. Pfeiffer lynx at luchs.at + http://web.luchs.at/
`._.-(,_..'--(,_..'`-.;.'  - System administration + Consulting + Teaching -
Got mail delivery problems?  http://web.luchs.at/information/blockedmail.php
Checking filesystem on /dev/mapper/oldcrypt
UUID: 703fc8b4-b2b9-470b-af2f-9aae9536c2fb
checking extents
checking free space cache
There is no free space entry for 163242479616-163242483712
There is no free space entry for 163242479616-167537278976
cache appears valid but isnt 162168569856
found 358532382931 bytes used err is -22
total csum bytes: 346644792
total tree bytes: 3568107520
total fs tree bytes: 3061465088
total extent tree bytes: 50102272
btree space waste bytes: 987626752
file data blocks allocated: 355459522560
 referenced 354990657536
btrfs-progs v3.19.1
Checking filesystem on /dev/mapper/oldcrypt
UUID: 703fc8b4-b2b9-470b-af2f-9aae9536c2fb
checking extents
checking free space cache
block group 162168569856 has wrong amount of free spacefailed to load free 
space cache for block group 162168569856
checking fs roots
root 5 inode 39321856 errors 200, dir isize wrong
root 5 inode 40898635 errors 200, dir isize wrong
found 358532382931 bytes used err is 1
total csum bytes: 346644792
total tree bytes: 3568107520
total fs tree bytes: 3061465088
total extent tree bytes: 50102272
btree space waste bytes: 987626752
file data blocks allocated: 355459522560
 referenced 354990657536
btrfs-progs v4.0


pgp1xPu9NdcZy.pgp
Description: PGP signature


Re: Btrfs read-only after btrfs-convert from Ext4 workaround

2015-07-12 Thread Chris Murphy
On Sun, Jul 12, 2015 at 7:23 PM, René Pfeiffer l...@luchs.at wrote:
 Hello!

 I also hit the Btrfs read-only after btrfs-convert bug when converting my
 Ext4 root filesystem with btrfs-convert. I used the btrfs tools v4.0 and
 Linux kernel 4.1.1.

 As a workaround I mounted the converted Btrfs read-only and copied it to a
 new Btrfs created by mkfs.btrfs (from the btrfs tools v4.0). Debian 8
 system booted without problems, and the bug hasn't been seen (so far).

 Output of uname, btrfs, and the dmesg log is attached. Let me know if you
 need anything else. The old Btrfs is still on another disk, and I can
 extract information from it.

If you can run 'btrfs check' on it (without repair) using btrfs-progs
4.0, and 3.19.1, and report the results of each, that would be really
useful.

-- 
Chris Murphy
--
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