Hi, Please find attached the error log, for future reference.
Forgot to mention: I could still use the system after this error, so it was not a complete fatal error in that regard. All active processes (mostly rsync) were hanging in state D though, so I couldn't kill them anymore. Also the FS was not umountable. So I still had to reboot. Thanks, Erik. On 01/17/2011 03:14 PM, Erik Logtenberg wrote: > Hi, > > btrfs balance results in: > > http://pastebin.com/v5j0809M > > My system: fully up-to-date Fedora 14 with rawhide kernel to make btrfs > balance do useful stuff to my free space: > > kernel-2.6.37-2.fc15.x86_64 > btrfs-progs-0.19-12.fc14.x86_64 > > Filesystem had 0 bytes free, should be 45G, so on darklings advice I ran > btrfs balance on the fs, while doing heavy I/O (re-running 5 backup jobs > that had failed due to ENOSP). > Up until the crash, btrfs balance did retrieve a couple of Gigs free > space though, so that part of the plan worked just fine. > > Thanks, > > Erik. > -- > 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
[ 5225.236087] ------------[ cut here ]------------ [ 5225.236112] kernel BUG at fs/btrfs/relocation.c:836! [ 5225.236131] invalid opcode: 0000 [#1] SMP [ 5225.236151] last sysfs file: /sys/devices/system/cpu/cpu1/cache/index2/shared_cpu_map [ 5225.236178] CPU 0 [ 5225.236186] Modules linked in: ipt_LOG xt_limit btrfs zlib_deflate libcrc32c sha256_generic cryptd aes_x86_64 aes_generic cbc dm_crypt tun ebtable_nat ebtables ipt_MASQUERADE iptable_nat nf_nat bridge stp llc nfsd lockd nfs_acl auth_rpcgss exportfs nls_utf8 cifs fscache sunrpc cpufreq_ondemand acpi_cpufreq freq_table mperf ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables ipv6 kvm_intel kvm dummy uinput snd_hda_codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm shpchp snd_timer dell_wmi snd soundcore sparse_keymap snd_page_alloc dcdbas i2c_i801 e1000e iTCO_wdt iTCO_vendor_support joydev wmi serio_raw microcode usb_storage uas raid1 pata_acpi ata_generic radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last unloaded: scsi_wait_scan] [ 5225.236582] [ 5225.236591] Pid: 2934, comm: btrfs Tainted: G I 2.6.37-2.fc15.x86_64 #1 [ 5225.236627] RIP: 0010:[<ffffffffa0565237>] [<ffffffffa0565237>] build_backref_tree+0x473/0xd6d [btrfs] [ 5225.236676] RSP: 0018:ffff8801972af9c8 EFLAGS: 00010246 [ 5225.236695] RAX: ffff8800aa9ab880 RBX: ffff8800ac38e300 RCX: 0000000000000040 [ 5225.236720] RDX: 0000000000000030 RSI: 000000254e680000 RDI: ffff88019cfc3020 [ 5225.236745] RBP: ffff8801972afaf8 R08: 0000000000008050 R09: ffff8801972af970 [ 5225.236770] R10: ffff8801972af918 R11: ffff8801972af900 R12: ffff8800aa9ab880 [ 5225.236794] R13: ffff88018b186340 R14: ffff88021fa3bea0 R15: ffff88021fa3bb40 [ 5225.236820] FS: 00007f98476bd760(0000) GS:ffff8800bfa00000(0000) knlGS:0000000000000000 [ 5225.236848] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 5225.236869] CR2: 0000000000a0eb44 CR3: 00000001972ab000 CR4: 00000000000426e0 [ 5225.236894] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 5225.236918] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 [ 5225.236943] Process btrfs (pid: 2934, threadinfo ffff8801972ae000, task ffff88019ce7c560) [ 5225.236971] Stack: [ 5225.236980] ffffea0005056ee0 ffffea0000000000 ffff8801972af9f8 ffff8801972afaa8 [ 5225.237002] 0000000000000000 ffff88007b1eae58 ffff88019cfc3008 ffff88019cfc3578 [ 5225.237002] ffff8801bd12ffe0 ffff88019cfc3020 ffff8800ac38e340 ffff88019cfc3580 [ 5225.237002] Call Trace: [ 5225.237002] [<ffffffffa0565c91>] relocate_tree_blocks+0x160/0x478 [btrfs] [ 5225.237002] [<ffffffffa056463d>] ? add_tree_block+0x11e/0x13e [btrfs] [ 5225.237002] [<ffffffffa0566b45>] relocate_block_group+0x1e3/0x490 [btrfs] [ 5225.237002] [<ffffffff8103edb9>] ? should_resched+0xe/0x2e [ 5225.237002] [<ffffffffa0566f39>] btrfs_relocate_block_group+0x147/0x28a [btrfs] [ 5225.237002] [<ffffffffa054e52a>] btrfs_relocate_chunk.clone.40+0x61/0x4ab [btrfs] [ 5225.237002] [<ffffffffa05152d4>] ? btrfs_item_key+0x1e/0x20 [btrfs] [ 5225.237002] [<ffffffffa05152f0>] ? btrfs_item_key_to_cpu+0x1a/0x36 [btrfs] [ 5225.237002] [<ffffffffa054c2a8>] ? read_extent_buffer+0xc3/0xe3 [btrfs] [ 5225.237002] [<ffffffffa05154e6>] ? btrfs_header_nritems.clone.12+0x17/0x1c [btrfs] [ 5225.237002] [<ffffffffa054cff6>] ? btrfs_item_key_to_cpu+0x2a/0x46 [btrfs] [ 5225.237002] [<ffffffffa055045e>] btrfs_balance+0x1a3/0x1f0 [btrfs] [ 5225.237002] [<ffffffff8112bce5>] ? do_filp_open+0x226/0x5c8 [ 5225.237002] [<ffffffffa0556773>] btrfs_ioctl+0x641/0x846 [btrfs] [ 5225.237002] [<ffffffff811f3ed1>] ? file_has_perm+0xa5/0xc7 [ 5225.237002] [<ffffffff8112e091>] do_vfs_ioctl+0x4b1/0x4f2 [ 5225.237002] [<ffffffff8112e128>] sys_ioctl+0x56/0x7a [ 5225.237002] [<ffffffff8100acc2>] system_call_fastpath+0x16/0x1b [ 5225.237002] Code: 48 8b 45 89 49 8d 7d 10 48 8d 75 b0 49 89 44 24 18 8a 43 70 ff c0 41 88 44 24 70 e8 f7 c3 ff ff eb 17 f6 40 71 10 49 89 c4 75 02 <0f> 0b 49 8d 45 10 49 89 45 10 49 89 45 18 48 8b b5 20 ff ff ff [ 5225.237002] RIP [<ffffffffa0565237>] build_backref_tree+0x473/0xd6d [btrfs] [ 5225.237002] RSP <ffff8801972af9c8> [ 5225.247188] ---[ end trace a7919e7f17c0a727 ]---