Well the bad news is that the bug happened again overnight, even though we were definitely using btrfs-progs with the 6eba90029 patch added, _and_ it was doing a sync + fsync between the mkfs and the mount.
Here is the log: modprobe btrfs [ 15.716610] Btrfs loaded grep ^[[:space:]]*btrfs$ /proc/filesystems mkfs.btrfs /dev/sda1 /dev/sdb1 [ 16.656467] device fsid fb238b09-83b9-4b18-9545-d1fae8f5d489 devid 1 transid 1 /dev/sda1 [ 16.657467] device fsid fb238b09-83b9-4b18-9545-d1fae8f5d489 devid 1 transid 1 /dev/sda1 [ 17.227381] device fsid fb238b09-83b9-4b18-9545-d1fae8f5d489 devid 2 transid 3 /dev/sdb1 fsync /dev/sda fsync /dev/sdb fsync /dev/sdc fsync /dev/sdd libguestfs: recv_from_daemon: 40 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 01 3d | 00 00 00 01 | 00 12 34 04 | ... libguestfs: trace: mkfs_btrfs = 0 libguestfs: trace: mount "/dev/sda1" "/" libguestfs: send_to_daemon: 68 bytes: 00 00 00 40 | 20 00 f5 f5 | 00 00 00 04 | 00 00 00 01 | 00 00 00 00 | ... guestfsd: main_loop: proc 317 (mkfs_btrfs) took 2.22 seconds guestfsd: main_loop: new request, len 0x40 mount -o /dev/sda1 /sysroot/ [ 17.512337] device fsid fb238b09-83b9-4b18-9545-d1fae8f5d489 devid 1 transid 4 /dev/sda1 [ 17.758300] device fsid fb238b09-83b9-4b18-9545-d1fae8f5d489 devid 2 transid 4 /dev/sdb1 [ 17.857285] device fsid fb238b09-83b9-4b18-9545-d1fae8f5d489 devid 1 transid 4 /dev/sda1 [ 17.893279] device fsid fb238b09-83b9-4b18-9545-d1fae8f5d489 devid 1 transid 4 /dev/sda1 [ 17.909277] btrfs: disk space caching is enabled [ 17.943272] btrfs bad tree block start 0 135168 [ 17.955270] btrfs: open_ctree failed mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so guestfsd: error: /dev/sda1 on / (options: ''): mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so libguestfs: recv_from_daemon: 284 bytes: 20 00 f5 f5 | 00 00 00 04 | 00 00 00 01 | 00 00 00 01 | 00 12 34 05 | ... libguestfs: trace: mount = -1 (error) http://kojipkgs.fedoraproject.org//work/tasks/9775/4579775/build.log Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw -- 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